| 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/platform/WebViewportStyle.h" | 10 #include "public/platform/WebViewportStyle.h" |
| 11 #include "public/web/WebDeviceEmulationParams.h" | 11 #include "public/web/WebDeviceEmulationParams.h" |
| 12 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 13 #include <memory> | 13 #include "wtf/OwnPtr.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class InspectorEmulationAgent; | 17 class InspectorEmulationAgent; |
| 18 class IntPoint; | 18 class IntPoint; |
| 19 class WebInputEvent; | 19 class WebInputEvent; |
| 20 class WebViewImpl; | 20 class WebViewImpl; |
| 21 | 21 |
| 22 class DevToolsEmulator final : public GarbageCollectedFinalized<DevToolsEmulator
> { | 22 class DevToolsEmulator final : public GarbageCollectedFinalized<DevToolsEmulator
> { |
| 23 public: | 23 public: |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 int m_embedderAvailableHoverTypes; | 76 int m_embedderAvailableHoverTypes; |
| 77 HoverType m_embedderPrimaryHoverType; | 77 HoverType m_embedderPrimaryHoverType; |
| 78 | 78 |
| 79 bool m_touchEventEmulationEnabled; | 79 bool m_touchEventEmulationEnabled; |
| 80 bool m_doubleTapToZoomEnabled; | 80 bool m_doubleTapToZoomEnabled; |
| 81 bool m_mainFrameResizesAreOrientationChanges; | 81 bool m_mainFrameResizesAreOrientationChanges; |
| 82 bool m_originalTouchEnabled; | 82 bool m_originalTouchEnabled; |
| 83 bool m_originalDeviceSupportsMouse; | 83 bool m_originalDeviceSupportsMouse; |
| 84 bool m_originalDeviceSupportsTouch; | 84 bool m_originalDeviceSupportsTouch; |
| 85 int m_originalMaxTouchPoints; | 85 int m_originalMaxTouchPoints; |
| 86 std::unique_ptr<IntPoint> m_lastPinchAnchorCss; | 86 OwnPtr<IntPoint> m_lastPinchAnchorCss; |
| 87 std::unique_ptr<IntPoint> m_lastPinchAnchorDip; | 87 OwnPtr<IntPoint> m_lastPinchAnchorDip; |
| 88 | 88 |
| 89 bool m_embedderScriptEnabled; | 89 bool m_embedderScriptEnabled; |
| 90 bool m_scriptExecutionDisabled; | 90 bool m_scriptExecutionDisabled; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 } // namespace blink | 93 } // namespace blink |
| 94 | 94 |
| 95 #endif | 95 #endif |
| OLD | NEW |