OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef DevToolsEmulator_h | 5 #ifndef DevToolsEmulator_h |
6 #define DevToolsEmulator_h | 6 #define DevToolsEmulator_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "public/platform/PointerProperties.h" | 9 #include "public/platform/PointerProperties.h" |
10 #include "public/web/WebDeviceEmulationParams.h" | 10 #include "public/web/WebDeviceEmulationParams.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void enableMobileEmulation(); | 55 void enableMobileEmulation(); |
56 void disableMobileEmulation(); | 56 void disableMobileEmulation(); |
57 | 57 |
58 WebViewImpl* m_webViewImpl; | 58 WebViewImpl* m_webViewImpl; |
59 | 59 |
60 bool m_deviceMetricsEnabled; | 60 bool m_deviceMetricsEnabled; |
61 bool m_emulateMobileEnabled; | 61 bool m_emulateMobileEnabled; |
62 WebDeviceEmulationParams m_emulationParams; | 62 WebDeviceEmulationParams m_emulationParams; |
63 | 63 |
64 bool m_isOverlayScrollbarsEnabled; | 64 bool m_isOverlayScrollbarsEnabled; |
65 bool m_isOrientationEventEnabled; | |
66 float m_originalDefaultMinimumPageScaleFactor; | 65 float m_originalDefaultMinimumPageScaleFactor; |
67 float m_originalDefaultMaximumPageScaleFactor; | 66 float m_originalDefaultMaximumPageScaleFactor; |
68 bool m_embedderTextAutosizingEnabled; | 67 bool m_embedderTextAutosizingEnabled; |
69 float m_embedderDeviceScaleAdjustment; | 68 float m_embedderDeviceScaleAdjustment; |
70 bool m_embedderPreferCompositingToLCDTextEnabled; | 69 bool m_embedderPreferCompositingToLCDTextEnabled; |
71 bool m_embedderUseMobileViewport; | 70 bool m_embedderUseMobileViewport; |
72 bool m_embedderPluginsEnabled; | 71 bool m_embedderPluginsEnabled; |
73 int m_embedderAvailablePointerTypes; | 72 int m_embedderAvailablePointerTypes; |
74 PointerType m_embedderPrimaryPointerType; | 73 PointerType m_embedderPrimaryPointerType; |
75 int m_embedderAvailableHoverTypes; | 74 int m_embedderAvailableHoverTypes; |
76 HoverType m_embedderPrimaryHoverType; | 75 HoverType m_embedderPrimaryHoverType; |
77 | 76 |
78 bool m_touchEventEmulationEnabled; | 77 bool m_touchEventEmulationEnabled; |
79 bool m_doubleTapToZoomEnabled; | 78 bool m_doubleTapToZoomEnabled; |
80 bool m_mainFrameResizesAreOrientationChanges; | 79 bool m_mainFrameResizesAreOrientationChanges; |
81 bool m_originalTouchEnabled; | 80 bool m_originalTouchEnabled; |
82 bool m_originalDeviceSupportsMouse; | 81 bool m_originalDeviceSupportsMouse; |
83 bool m_originalDeviceSupportsTouch; | 82 bool m_originalDeviceSupportsTouch; |
84 int m_originalMaxTouchPoints; | 83 int m_originalMaxTouchPoints; |
85 OwnPtr<IntPoint> m_lastPinchAnchorCss; | 84 OwnPtr<IntPoint> m_lastPinchAnchorCss; |
86 OwnPtr<IntPoint> m_lastPinchAnchorDip; | 85 OwnPtr<IntPoint> m_lastPinchAnchorDip; |
87 | 86 |
88 bool m_embedderScriptEnabled; | 87 bool m_embedderScriptEnabled; |
89 bool m_scriptExecutionDisabled; | 88 bool m_scriptExecutionDisabled; |
90 }; | 89 }; |
91 | 90 |
92 } // namespace blink | 91 } // namespace blink |
93 | 92 |
94 #endif | 93 #endif |
OLD | NEW |