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

Side by Side Diff: third_party/WebKit/Source/web/DevToolsEmulator.h

Issue 1690493002: Switch to LayoutThemeMobile when emulating mobile device in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Invalidate tapHighlightColor only Created 4 years, 10 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 unified diff | Download patch
OLDNEW
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 bool m_isOrientationEventEnabled;
66 bool m_isMobileLayoutThemeEnabled;
66 float m_originalDefaultMinimumPageScaleFactor; 67 float m_originalDefaultMinimumPageScaleFactor;
67 float m_originalDefaultMaximumPageScaleFactor; 68 float m_originalDefaultMaximumPageScaleFactor;
68 bool m_embedderTextAutosizingEnabled; 69 bool m_embedderTextAutosizingEnabled;
69 float m_embedderDeviceScaleAdjustment; 70 float m_embedderDeviceScaleAdjustment;
70 bool m_embedderPreferCompositingToLCDTextEnabled; 71 bool m_embedderPreferCompositingToLCDTextEnabled;
71 bool m_embedderUseMobileViewport; 72 bool m_embedderUseMobileViewport;
72 bool m_embedderPluginsEnabled; 73 bool m_embedderPluginsEnabled;
73 int m_embedderAvailablePointerTypes; 74 int m_embedderAvailablePointerTypes;
74 PointerType m_embedderPrimaryPointerType; 75 PointerType m_embedderPrimaryPointerType;
75 int m_embedderAvailableHoverTypes; 76 int m_embedderAvailableHoverTypes;
76 HoverType m_embedderPrimaryHoverType; 77 HoverType m_embedderPrimaryHoverType;
77 78
78 bool m_touchEventEmulationEnabled; 79 bool m_touchEventEmulationEnabled;
79 bool m_doubleTapToZoomEnabled; 80 bool m_doubleTapToZoomEnabled;
80 bool m_mainFrameResizesAreOrientationChanges; 81 bool m_mainFrameResizesAreOrientationChanges;
81 bool m_originalTouchEnabled; 82 bool m_originalTouchEnabled;
82 bool m_originalDeviceSupportsMouse; 83 bool m_originalDeviceSupportsMouse;
83 bool m_originalDeviceSupportsTouch; 84 bool m_originalDeviceSupportsTouch;
84 int m_originalMaxTouchPoints; 85 int m_originalMaxTouchPoints;
85 OwnPtr<IntPoint> m_lastPinchAnchorCss; 86 OwnPtr<IntPoint> m_lastPinchAnchorCss;
86 OwnPtr<IntPoint> m_lastPinchAnchorDip; 87 OwnPtr<IntPoint> m_lastPinchAnchorDip;
87 88
88 bool m_embedderScriptEnabled; 89 bool m_embedderScriptEnabled;
89 bool m_scriptExecutionDisabled; 90 bool m_scriptExecutionDisabled;
90 }; 91 };
91 92
92 } // namespace blink 93 } // namespace blink
93 94
94 #endif 95 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698