Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Unified Diff: content/public/browser/devtools_frontend_host_delegate.h

Issue 22972007: Migrate DevToolsWindow from specific to opaque frontend host messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/devtools_frontend_host_delegate.h
diff --git a/content/public/browser/devtools_frontend_host_delegate.h b/content/public/browser/devtools_frontend_host_delegate.h
index 2aa8826ab287a84cdc8c3f891812a357cdf06991..1d41befdcf6de8b0c13854d19c33d52ae27e647c 100644
--- a/content/public/browser/devtools_frontend_host_delegate.h
+++ b/content/public/browser/devtools_frontend_host_delegate.h
@@ -16,56 +16,8 @@ class DevToolsFrontendHostDelegate {
public:
virtual ~DevToolsFrontendHostDelegate() {}
- // Should bring DevTools window to front.
- virtual void ActivateWindow() = 0;
-
- // Changes the height of attached DevTools window.
- virtual void ChangeAttachedWindowHeight(unsigned height) = 0;
-
- // Closes DevTools front-end window.
- virtual void CloseWindow() = 0;
-
- // Moves DevTools front-end window.
- virtual void MoveWindow(int x, int y) = 0;
-
- // Specifies side for devtools to dock to.
- virtual void SetDockSide(const std::string& side) = 0;
-
- // Opens given |url| in a new contents.
- virtual void OpenInNewTab(const std::string& url) = 0;
-
- // Saves given |content| associated with the given |url|. Optionally showing
- // Save As dialog.
- virtual void SaveToFile(const std::string& url,
- const std::string& content,
- bool save_as) = 0;
-
- // Appends given |content| to the file that has been associated with the
- // given |url| by SaveToFile method.
- virtual void AppendToFile(const std::string& url,
- const std::string& content) = 0;
-
- // Requests the list of filesystems previously added for devtools.
- virtual void RequestFileSystems() = 0;
-
- // Shows a dialog to select a folder to which an isolated filesystem is added.
- virtual void AddFileSystem() = 0;
-
- // Removes a previously added devtools filesystem given by |file_system_path|.
- virtual void RemoveFileSystem(const std::string& file_system_path) = 0;
-
- // Performs file system indexing for given |file_system_path| and sends
- // progress callbacks.
- virtual void IndexPath(int request_id,
- const std::string& file_system_path) = 0;
-
- // Stops file system indexing.
- virtual void StopIndexing(int request_id) = 0;
-
- // Performs trigram search for given |query| in |file_system_path|.
- virtual void SearchInPath(int request_id,
- const std::string& file_system_path,
- const std::string& query) = 0;
+ // Dispatch the message from the frontend to the frontend host.
+ virtual void DispatchOnEmbedder(const std::string& message) = 0;
// This method is called when the contents inspected by this devtools frontend
// is closing.
« no previous file with comments | « content/common/devtools_messages.h ('k') | content/renderer/devtools/devtools_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698