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

Unified Diff: Source/web/WebViewImpl.cpp

Issue 1322053002: Devtools: Move inspectMode logic from InspectorDomAgent to InspectorOverlayImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« Source/web/InspectorOverlayImpl.cpp ('K') | « Source/web/WebFrameWidgetImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index 7d7ae970d4ac9b0388845d1e5d457848a017e079..76b55a67e46938414c6867d676d6578d9d828baf 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -2083,10 +2083,6 @@ bool WebViewImpl::handleInputEvent(const WebInputEvent& inputEvent)
if (m_devToolsEmulator->handleInputEvent(inputEvent))
return true;
- WebDevToolsAgentImpl* devTools = mainFrameDevToolsAgentImpl();
- if (devTools && devTools->handleInputEvent(inputEvent))
- return true;
-
if (InspectorOverlayImpl* overlay = inspectorOverlay()) {
if (overlay->handleInputEvent(inputEvent))
return true;
« Source/web/InspectorOverlayImpl.cpp ('K') | « Source/web/WebFrameWidgetImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698