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

Unified Diff: content/renderer/devtools/devtools_client.cc

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/renderer/devtools/devtools_client.h ('k') | content/shell/browser/shell_devtools_frontend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/devtools/devtools_client.cc
diff --git a/content/renderer/devtools/devtools_client.cc b/content/renderer/devtools/devtools_client.cc
index 3530081aff807a1c1e3d75615cfc6e12fb23a9c1..5793d2c7ebfa01402ffdf4cebd9a358820badc7b 100644
--- a/content/renderer/devtools/devtools_client.cc
+++ b/content/renderer/devtools/devtools_client.cc
@@ -55,75 +55,9 @@ void DevToolsClient::sendMessageToBackend(const WebString& message) {
message.utf8()));
}
-void DevToolsClient::activateWindow() {
- Send(new DevToolsHostMsg_ActivateWindow(routing_id()));
-}
-
-void DevToolsClient::changeAttachedWindowHeight(unsigned height) {
- Send(new DevToolsHostMsg_ChangeAttachedWindowHeight(routing_id(), height));
-}
-
-void DevToolsClient::closeWindow() {
- Send(new DevToolsHostMsg_CloseWindow(routing_id()));
-}
-
-void DevToolsClient::moveWindowBy(const WebKit::WebFloatPoint& offset) {
- Send(new DevToolsHostMsg_MoveWindow(routing_id(), offset.x, offset.y));
-}
-
-void DevToolsClient::requestSetDockSide(const WebKit::WebString& side) {
- Send(new DevToolsHostMsg_RequestSetDockSide(routing_id(), side.utf8()));
-}
-
-void DevToolsClient::openInNewTab(const WebKit::WebString& url) {
- Send(new DevToolsHostMsg_OpenInNewTab(routing_id(),
- url.utf8()));
-}
-
-void DevToolsClient::save(const WebKit::WebString& url,
- const WebKit::WebString& content,
- bool save_as) {
- Send(new DevToolsHostMsg_Save(routing_id(),
- url.utf8(),
- content.utf8(),
- save_as));
-}
-
-void DevToolsClient::append(const WebKit::WebString& url,
- const WebKit::WebString& content) {
- Send(new DevToolsHostMsg_Append(routing_id(),
- url.utf8(),
- content.utf8()));
-}
-
-void DevToolsClient::requestFileSystems() {
- Send(new DevToolsHostMsg_RequestFileSystems(routing_id()));
-}
-
-void DevToolsClient::addFileSystem() {
- Send(new DevToolsHostMsg_AddFileSystem(routing_id()));
-}
-
-void DevToolsClient::removeFileSystem(const WebString& file_system_path) {
- Send(new DevToolsHostMsg_RemoveFileSystem(routing_id(),
- file_system_path.utf8()));
-}
-
-void DevToolsClient::indexPath(int request_id,
- const WebKit::WebString& file_system_path) {
- Send(new DevToolsHostMsg_IndexPath(
- routing_id(), request_id, file_system_path.utf8()));
-}
-
-void DevToolsClient::stopIndexing(int request_id) {
- Send(new DevToolsHostMsg_StopIndexing(routing_id(), request_id));
-}
-
-void DevToolsClient::searchInPath(int request_id,
- const WebKit::WebString& file_system_path,
- const WebKit::WebString& query) {
- Send(new DevToolsHostMsg_SearchInPath(
- routing_id(), request_id, file_system_path.utf8(), query.utf8()));
+void DevToolsClient::sendMessageToEmbedder(const WebString& message) {
+ Send(new DevToolsHostMsg_DispatchOnEmbedder(routing_id(),
+ message.utf8()));
}
bool DevToolsClient::isUnderTest() {
« no previous file with comments | « content/renderer/devtools/devtools_client.h ('k') | content/shell/browser/shell_devtools_frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698