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

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

Issue 1206833003: Devtools[LayoutEditor]: Pass data about property change from InspectorOverlayPage (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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
Index: Source/core/inspector/InspectorOverlayHost.cpp
diff --git a/Source/core/inspector/InspectorOverlayHost.cpp b/Source/core/inspector/InspectorOverlayHost.cpp
index a32923c1ff51ca61f9689d3530cb9ff08455d103..4f7e15a8983afc599e0068649e9cff30a9e2894a 100644
--- a/Source/core/inspector/InspectorOverlayHost.cpp
+++ b/Source/core/inspector/InspectorOverlayHost.cpp
@@ -53,9 +53,28 @@ void InspectorOverlayHost::stepOver()
m_listener->overlaySteppedOver();
}
+void InspectorOverlayHost::startPropertyChange(const String& anchorName)
+{
+ if (m_layoutEditorListener)
+ m_layoutEditorListener->overlayStartedPropertyChange(anchorName);
+}
+
+void InspectorOverlayHost::changeProperty(float delta)
+{
+ if (m_layoutEditorListener)
+ m_layoutEditorListener->overlayPropertyChanged(delta);
+}
+
+void InspectorOverlayHost::endPropertyChange()
+{
+ if (m_layoutEditorListener)
+ m_layoutEditorListener->overlayEndedPropertyChange();
+}
+
DEFINE_TRACE(InspectorOverlayHost)
{
visitor->trace(m_listener);
+ visitor->trace(m_layoutEditorListener);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698