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; |
65 float m_originalDefaultMinimumPageScaleFactor; | 66 float m_originalDefaultMinimumPageScaleFactor; |
66 float m_originalDefaultMaximumPageScaleFactor; | 67 float m_originalDefaultMaximumPageScaleFactor; |
67 bool m_embedderTextAutosizingEnabled; | 68 bool m_embedderTextAutosizingEnabled; |
68 float m_embedderDeviceScaleAdjustment; | 69 float m_embedderDeviceScaleAdjustment; |
69 bool m_embedderPreferCompositingToLCDTextEnabled; | 70 bool m_embedderPreferCompositingToLCDTextEnabled; |
70 bool m_embedderUseMobileViewport; | 71 bool m_embedderUseMobileViewport; |
71 bool m_embedderPluginsEnabled; | 72 bool m_embedderPluginsEnabled; |
72 int m_embedderAvailablePointerTypes; | 73 int m_embedderAvailablePointerTypes; |
73 PointerType m_embedderPrimaryPointerType; | 74 PointerType m_embedderPrimaryPointerType; |
74 int m_embedderAvailableHoverTypes; | 75 int m_embedderAvailableHoverTypes; |
75 HoverType m_embedderPrimaryHoverType; | 76 HoverType m_embedderPrimaryHoverType; |
76 | 77 |
77 bool m_touchEventEmulationEnabled; | 78 bool m_touchEventEmulationEnabled; |
78 bool m_doubleTapToZoomEnabled; | 79 bool m_doubleTapToZoomEnabled; |
79 bool m_mainFrameResizesAreOrientationChanges; | 80 bool m_mainFrameResizesAreOrientationChanges; |
80 bool m_originalTouchEnabled; | 81 bool m_originalTouchEnabled; |
81 bool m_originalDeviceSupportsMouse; | 82 bool m_originalDeviceSupportsMouse; |
82 bool m_originalDeviceSupportsTouch; | 83 bool m_originalDeviceSupportsTouch; |
83 int m_originalMaxTouchPoints; | 84 int m_originalMaxTouchPoints; |
84 OwnPtr<IntPoint> m_lastPinchAnchorCss; | 85 OwnPtr<IntPoint> m_lastPinchAnchorCss; |
85 OwnPtr<IntPoint> m_lastPinchAnchorDip; | 86 OwnPtr<IntPoint> m_lastPinchAnchorDip; |
86 | 87 |
87 bool m_embedderScriptEnabled; | 88 bool m_embedderScriptEnabled; |
88 bool m_scriptExecutionDisabled; | 89 bool m_scriptExecutionDisabled; |
89 }; | 90 }; |
90 | 91 |
91 } // namespace blink | 92 } // namespace blink |
92 | 93 |
93 #endif | 94 #endif |
OLD | NEW |