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

Unified Diff: Source/web/InspectorClientImpl.cpp

Issue 45363004: DevTools: explicitly control support for viewport meta tag so that desktop emulation was possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Same with updated labels Created 7 years, 1 month 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/web/InspectorClientImpl.cpp
diff --git a/Source/web/InspectorClientImpl.cpp b/Source/web/InspectorClientImpl.cpp
index 7fe9a4e32b139539543d6739df91d289b75cc34f..4162490c98ba7a82fdb5926e28f496b7ff1c2913 100644
--- a/Source/web/InspectorClientImpl.cpp
+++ b/Source/web/InspectorClientImpl.cpp
@@ -95,10 +95,10 @@ void InspectorClientImpl::clearBrowserCookies()
agent->clearBrowserCookies();
}
-void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool fitWindow)
+void InspectorClientImpl::overrideDeviceMetrics(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow)
{
if (WebDevToolsAgentImpl* agent = devToolsAgent())
- agent->overrideDeviceMetrics(width, height, deviceScaleFactor, fitWindow);
+ agent->overrideDeviceMetrics(width, height, deviceScaleFactor, emulateViewport, fitWindow);
}
bool InspectorClientImpl::overridesShowPaintRects()

Powered by Google App Engine
This is Rietveld 408576698