Index: third_party/WebKit/Source/web/WebViewImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp |
index 52d580fcf2b8e8c7806a4df8969199f89ea03dbc..1b964948c2d08b0445c527211c863e1872bb1b3c 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp |
@@ -160,7 +160,7 @@ |
#include "web/DedicatedWorkerMessagingProxyProviderImpl.h" |
#include "web/DevToolsEmulator.h" |
#include "web/FullscreenController.h" |
-#include "web/InspectorOverlayAgent.h" |
+#include "web/InspectorOverlay.h" |
#include "web/LinkHighlightImpl.h" |
#include "web/PageOverlay.h" |
#include "web/PrerendererClientImpl.h" |
@@ -433,9 +433,9 @@ |
return main_frame ? main_frame->DevToolsAgentImpl() : nullptr; |
} |
-InspectorOverlayAgent* WebViewImpl::GetInspectorOverlay() { |
+InspectorOverlay* WebViewImpl::GetInspectorOverlay() { |
if (WebDevToolsAgentImpl* devtools = MainFrameDevToolsAgentImpl()) |
- return devtools->OverlayAgent(); |
+ return devtools->Overlay(); |
return nullptr; |
} |
@@ -2032,7 +2032,7 @@ |
PageWidgetDelegate::UpdateAllLifecyclePhases(*page_, |
*MainFrameImpl()->GetFrame()); |
- if (InspectorOverlayAgent* overlay = GetInspectorOverlay()) { |
+ if (InspectorOverlay* overlay = GetInspectorOverlay()) { |
overlay->UpdateAllLifecyclePhases(); |
// TODO(chrishtr): integrate paint into the overlay's lifecycle. |
if (overlay->GetPageOverlay() && |
@@ -2175,7 +2175,7 @@ |
if (dev_tools_emulator_->HandleInputEvent(input_event)) |
return WebInputEventResult::kHandledSuppressed; |
- if (InspectorOverlayAgent* overlay = GetInspectorOverlay()) { |
+ if (InspectorOverlay* overlay = GetInspectorOverlay()) { |
if (overlay->HandleInputEvent(input_event)) |
return WebInputEventResult::kHandledSuppressed; |
} |
@@ -4138,7 +4138,7 @@ |
void WebViewImpl::UpdatePageOverlays() { |
if (page_color_overlay_) |
page_color_overlay_->Update(); |
- if (InspectorOverlayAgent* overlay = GetInspectorOverlay()) { |
+ if (InspectorOverlay* overlay = GetInspectorOverlay()) { |
PageOverlay* inspector_page_overlay = overlay->GetPageOverlay(); |
if (inspector_page_overlay) |
inspector_page_overlay->Update(); |