| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index fe1b404cdbbb1553e7c7c5d14fa0a19457694372..d902bc950ad9746202cd04b0e9befa6b59891a21 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -67,7 +67,7 @@
|
| #include "web/CompositorMutatorImpl.h"
|
| #include "web/CompositorWorkerProxyClientImpl.h"
|
| #include "web/ContextMenuAllowedScope.h"
|
| -#include "web/InspectorOverlay.h"
|
| +#include "web/InspectorOverlayAgent.h"
|
| #include "web/PageOverlay.h"
|
| #include "web/WebDevToolsAgentImpl.h"
|
| #include "web/WebInputEventConversion.h"
|
| @@ -250,7 +250,7 @@ void WebFrameWidgetImpl::UpdateAllLifecyclePhases() {
|
| if (!local_root_)
|
| return;
|
|
|
| - if (InspectorOverlay* overlay = GetInspectorOverlay()) {
|
| + if (InspectorOverlayAgent* overlay = GetInspectorOverlay()) {
|
| overlay->UpdateAllLifecyclePhases();
|
| // TODO(chrishtr): integrate paint into the overlay's lifecycle.
|
| if (overlay->GetPageOverlay() &&
|
| @@ -362,7 +362,7 @@ WebInputEventResult WebFrameWidgetImpl::HandleInputEvent(
|
| if (!GetPage())
|
| return WebInputEventResult::kNotHandled;
|
|
|
| - if (InspectorOverlay* overlay = GetInspectorOverlay()) {
|
| + if (InspectorOverlayAgent* overlay = GetInspectorOverlay()) {
|
| if (overlay->HandleInputEvent(input_event))
|
| return WebInputEventResult::kHandledSuppressed;
|
| }
|
| @@ -1154,11 +1154,11 @@ HitTestResult WebFrameWidgetImpl::HitTestResultForRootFramePos(
|
| return result;
|
| }
|
|
|
| -InspectorOverlay* WebFrameWidgetImpl::GetInspectorOverlay() {
|
| +InspectorOverlayAgent* WebFrameWidgetImpl::GetInspectorOverlay() {
|
| if (!local_root_)
|
| return nullptr;
|
| if (WebDevToolsAgentImpl* devtools = local_root_->DevToolsAgentImpl())
|
| - return devtools->Overlay();
|
| + return devtools->OverlayAgent();
|
| return nullptr;
|
| }
|
|
|
|
|