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

Unified Diff: Source/core/inspector/InspectorOverlayHost.cpp

Issue 1317913004: Devtools [LayoutEditor]: show selector info and highlight affected nodes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@cursor2
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/core/inspector/InspectorOverlayHost.h ('k') | Source/core/inspector/InspectorOverlayHost.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorOverlayHost.cpp
diff --git a/Source/core/inspector/InspectorOverlayHost.cpp b/Source/core/inspector/InspectorOverlayHost.cpp
index 786d20aff7bd39aa855248dca6e2e53c115cbb29..a03a82d788b6d4c62f453c4faa395204e8553517 100644
--- a/Source/core/inspector/InspectorOverlayHost.cpp
+++ b/Source/core/inspector/InspectorOverlayHost.cpp
@@ -77,6 +77,26 @@ void InspectorOverlayHost::clearSelection(bool commitChanges)
m_listener->overlayClearSelection(commitChanges);
}
+void InspectorOverlayHost::nextSelector()
+{
+ if (m_listener)
+ m_listener->overlayNextSelector();
+}
+
+void InspectorOverlayHost::previousSelector()
+{
+ if (m_listener)
+ m_listener->overlayPreviousSelector();
+}
+
+String InspectorOverlayHost::currentSelectorInfo()
+{
+ if (m_listener)
+ return m_listener->overlayCurrentSelectorInfo();
+
+ return String();
+}
+
DEFINE_TRACE(InspectorOverlayHost)
{
visitor->trace(m_listener);
« no previous file with comments | « Source/core/inspector/InspectorOverlayHost.h ('k') | Source/core/inspector/InspectorOverlayHost.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698