mirror of
https://github.com/electron/electron.git
synced 2026-01-29 01:08:18 -05:00
Add DevToolsFrontendHostDelegate indexing methods from Chrome 30
See http://src.chromium.org/viewvc/chrome?view=revision&revision=215622.
This commit is contained in:
@@ -123,6 +123,15 @@ void InspectableWebContentsImpl::AddFileSystem() {
|
||||
void InspectableWebContentsImpl::RemoveFileSystem(const std::string& file_system_path) {
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::IndexPath(int request_id, const std::string& file_system_path) {
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::StopIndexing(int request_id) {
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::SearchInPath(int request_id, const std::string& file_system_path, const std::string& query) {
|
||||
}
|
||||
|
||||
void InspectableWebContentsImpl::InspectedContentsClosing() {
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,11 @@ private:
|
||||
virtual void RequestFileSystems() OVERRIDE;
|
||||
virtual void AddFileSystem() OVERRIDE;
|
||||
virtual void RemoveFileSystem(const std::string& file_system_path) OVERRIDE;
|
||||
virtual void IndexPath(int request_id, const std::string& file_system_path) OVERRIDE;
|
||||
virtual void StopIndexing(int request_id) OVERRIDE;
|
||||
virtual void SearchInPath(int request_id,
|
||||
const std::string& file_system_path,
|
||||
const std::string& query) OVERRIDE;
|
||||
virtual void InspectedContentsClosing() OVERRIDE;
|
||||
|
||||
// content::WebContentsObserver
|
||||
|
||||
Reference in New Issue
Block a user