| Index: Source/web/InspectorOverlayImpl.cpp
|
| diff --git a/Source/web/InspectorOverlayImpl.cpp b/Source/web/InspectorOverlayImpl.cpp
|
| index 0d6cfcb24cc21b8d0eaa67729f3abaf46f88cacd..4c5a11ce3cc0c2a2ae69f613361c10af1ad703be 100644
|
| --- a/Source/web/InspectorOverlayImpl.cpp
|
| +++ b/Source/web/InspectorOverlayImpl.cpp
|
| @@ -147,7 +147,6 @@ InspectorOverlayImpl::InspectorOverlayImpl(WebViewImpl* webViewImpl)
|
| , m_inLayout(false)
|
| , m_needsUpdate(false)
|
| {
|
| - m_overlayHost->setDebuggerListener(this);
|
| }
|
|
|
| InspectorOverlayImpl::~InspectorOverlayImpl()
|
| @@ -168,9 +167,8 @@ DEFINE_TRACE(InspectorOverlayImpl)
|
| void InspectorOverlayImpl::init(InspectorCSSAgent* cssAgent, InspectorDebuggerAgent* debuggerAgent)
|
| {
|
| m_layoutEditor = LayoutEditor::create(cssAgent);
|
| - // TODO(dgozman): overlay should be a listener, not layout editor.
|
| - m_overlayHost->setLayoutEditorListener(m_layoutEditor.get());
|
| m_debuggerAgent = debuggerAgent;
|
| + m_overlayHost->setListener(this);
|
| }
|
|
|
| void InspectorOverlayImpl::invalidate()
|
| @@ -489,6 +487,21 @@ void InspectorOverlayImpl::overlaySteppedOver()
|
| }
|
| }
|
|
|
| +void InspectorOverlayImpl::overlayStartedPropertyChange(const String& property)
|
| +{
|
| + m_layoutEditor->overlayStartedPropertyChange(property);
|
| +}
|
| +
|
| +void InspectorOverlayImpl::overlayPropertyChanged(float value)
|
| +{
|
| + m_layoutEditor->overlayPropertyChanged(value);
|
| +}
|
| +
|
| +void InspectorOverlayImpl::overlayEndedPropertyChange()
|
| +{
|
| + m_layoutEditor->overlayEndedPropertyChange();
|
| +}
|
| +
|
| void InspectorOverlayImpl::profilingStarted()
|
| {
|
| if (!m_suspendCount++)
|
|
|