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

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

Issue 351303003: [DevTools] Switch from DIP to CSS pixels in device mode. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed comments Created 6 years, 6 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
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorController.cpp
diff --git a/Source/core/inspector/InspectorController.cpp b/Source/core/inspector/InspectorController.cpp
index 7aaa5e4a8eff0e621c00a5a436f35f96da16c54b..37f28055eacebd0c452ae2e98f2dd2e02871e92c 100644
--- a/Source/core/inspector/InspectorController.cpp
+++ b/Source/core/inspector/InspectorController.cpp
@@ -379,6 +379,11 @@ void InspectorController::requestPageScaleFactor(float scale, const IntPoint& or
m_inspectorClient->requestPageScaleFactor(scale, origin);
}
+void InspectorController::deviceOrPageScaleFactorChanged()
+{
+ m_pageAgent->deviceOrPageScaleFactorChanged();
+}
+
bool InspectorController::deviceEmulationEnabled()
{
if (InspectorPageAgent* pageAgent = m_instrumentingAgents->inspectorPageAgent())
« no previous file with comments | « Source/core/inspector/InspectorController.h ('k') | Source/core/inspector/InspectorPageAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698