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

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

Issue 309473002: [DevTools] Cleanup inspector overlay and make it work with virtual viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/InspectorPageAgent.cpp
diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
index 913bf6b9ac4c0ba30dfc8985bbd1355eec03b7a8..2ab856b5726ac144d893f50a920142fc722f6636 100644
--- a/Source/core/inspector/InspectorPageAgent.cpp
+++ b/Source/core/inspector/InspectorPageAgent.cpp
@@ -398,12 +398,6 @@ void InspectorPageAgent::restore()
}
}
-void InspectorPageAgent::webViewResized(const IntSize& size)
-{
- int currentWidth = static_cast<int>(m_state->getLong(PageAgentState::pageAgentScreenWidthOverride));
- m_overlay->resize(currentWidth ? size : IntSize());
-}
-
void InspectorPageAgent::enable(ErrorString*)
{
m_enabled = true;

Powered by Google App Engine
This is Rietveld 408576698