| 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;
|
|
|
|
|