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

Unified Diff: Source/web/WebDevToolsAgentImpl.h

Issue 355393004: [DevTools] Rename "emulateViewport" to "mobile". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: another rebase 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/web/InspectorClientImpl.cpp ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.h
diff --git a/Source/web/WebDevToolsAgentImpl.h b/Source/web/WebDevToolsAgentImpl.h
index 9029fabdf9d0c47fc03e491299ab7a9146c8d6d6..21a33c833d4b308bbb1aefbea2120e2b23c6afef 100644
--- a/Source/web/WebDevToolsAgentImpl.h
+++ b/Source/web/WebDevToolsAgentImpl.h
@@ -107,7 +107,7 @@ public:
virtual void sendMessageToFrontend(PassRefPtr<WebCore::JSONObject> message) OVERRIDE;
virtual void flush() OVERRIDE;
- virtual void setDeviceMetricsOverride(int width, int height, float deviceScaleFactor, bool emulateViewport, bool fitWindow, float scale, float offsetX, float offsetY) OVERRIDE;
+ virtual void setDeviceMetricsOverride(int width, int height, float deviceScaleFactor, bool mobile, bool fitWindow, float scale, float offsetX, float offsetY) OVERRIDE;
virtual void clearDeviceMetricsOverride() OVERRIDE;
virtual void setTouchEventEmulationEnabled(bool) OVERRIDE;
@@ -134,8 +134,8 @@ private:
virtual void willProcessTask() OVERRIDE;
virtual void didProcessTask() OVERRIDE;
- void enableViewportEmulation();
- void disableViewportEmulation();
+ void enableMobileEmulation();
+ void disableMobileEmulation();
void updatePageScaleFactorLimits();
WebCore::InspectorController* inspectorController();
@@ -151,7 +151,7 @@ private:
bool m_webViewDidLayoutOnceAfterLoad;
bool m_deviceMetricsEnabled;
- bool m_emulateViewportEnabled;
+ bool m_emulateMobileEnabled;
bool m_originalViewportEnabled;
bool m_isOverlayScrollbarsEnabled;
« no previous file with comments | « Source/web/InspectorClientImpl.cpp ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698