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

Unified Diff: Source/web/InspectorOverlayImpl.h

Issue 1311783003: Devtools[LayoutEditor]: Rework layout-editor workflow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@resize
Patch Set: Address comments Created 5 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 | « Source/devtools/protocol.json ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/InspectorOverlayImpl.h
diff --git a/Source/web/InspectorOverlayImpl.h b/Source/web/InspectorOverlayImpl.h
index 18a115f95fbd50db701d3a9f1304bcb89fa236fc..5e5974cf44a8b7164670b35a13c0a6cd623aab4a 100644
--- a/Source/web/InspectorOverlayImpl.h
+++ b/Source/web/InspectorOverlayImpl.h
@@ -97,6 +97,7 @@ private:
void overlayStartedPropertyChange(const String&) override;
void overlayPropertyChanged(float) override;
void overlayEndedPropertyChange() override;
+ void overlayClearSelection(bool) override;
// InspectorProfilerAgent::Client implementation.
void profilingStarted() override;
@@ -133,6 +134,8 @@ private:
bool handleGestureEvent(const PlatformGestureEvent&);
bool handleTouchEvent(const PlatformTouchEvent&);
bool handleMouseMove(const PlatformMouseEvent&);
+ bool shouldSearchForNode();
+ void inspect(Node*);
WebViewImpl* m_webViewImpl;
String m_pausedInDebuggerMessage;
@@ -159,6 +162,7 @@ private:
RefPtrWillBeMember<Node> m_hoveredNodeForInspectMode;
InspectorDOMAgent::SearchMode m_inspectMode;
OwnPtr<InspectorHighlightConfig> m_inspectModeHighlightConfig;
+ bool m_searchingInLayoutEditor;
};
} // namespace blink
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698