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

Unified Diff: Source/web/InspectorFrontendClientImpl.cpp

Issue 278583003: DevTools: handle InspectorFrontendHost.inspectedURLChanged on browser side (Blink part). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | « Source/web/InspectorFrontendClientImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorFrontendClientImpl.cpp
diff --git a/Source/web/InspectorFrontendClientImpl.cpp b/Source/web/InspectorFrontendClientImpl.cpp
index 79a6aa06a86347df504d4d6b9173151a5ba0f62c..c8de000d39bbbc2c72fe07220e400453253279b2 100644
--- a/Source/web/InspectorFrontendClientImpl.cpp
+++ b/Source/web/InspectorFrontendClientImpl.cpp
@@ -33,7 +33,6 @@
#include "V8InspectorFrontendHost.h"
#include "bindings/v8/ScriptController.h"
-#include "core/dom/Document.h"
#include "core/frame/LocalFrame.h"
#include "core/inspector/InspectorFrontendHost.h"
#include "core/page/Page.h"
@@ -111,6 +110,7 @@ void InspectorFrontendClientImpl::windowObjectCleared()
" ['closeWindow', 0],"
" ['indexPath', 2],"
" ['inspectElementCompleted', 0],"
+ " ['inspectedURLChanged', 1],"
" ['moveWindowBy', 2],"
" ['openInNewTab', 1],"
" ['openUrlOnRemoteDeviceAndInspect', 2],"
@@ -147,11 +147,6 @@ void InspectorFrontendClientImpl::windowObjectCleared()
}
}
-void InspectorFrontendClientImpl::inspectedURLChanged(const String& url)
-{
- m_frontendPage->mainFrame()->document()->setTitle("Developer Tools - " + url);
-}
-
void InspectorFrontendClientImpl::sendMessageToBackend(const String& message)
{
m_client->sendMessageToBackend(message);
« no previous file with comments | « Source/web/InspectorFrontendClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698