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

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

Issue 1914023002: [DevTools] Apply emulation root layer transform to innerViewportContainerLayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comment Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/platform/WebViewportStyle.h" 10 #include "public/platform/WebViewportStyle.h"
(...skipping 26 matching lines...) Expand all
37 void setAvailablePointerTypes(int); 37 void setAvailablePointerTypes(int);
38 void setPrimaryPointerType(PointerType); 38 void setPrimaryPointerType(PointerType);
39 void setAvailableHoverTypes(int); 39 void setAvailableHoverTypes(int);
40 void setPrimaryHoverType(HoverType); 40 void setPrimaryHoverType(HoverType);
41 void setMainFrameResizesAreOrientationChanges(bool); 41 void setMainFrameResizesAreOrientationChanges(bool);
42 bool mainFrameResizesAreOrientationChanges() const; 42 bool mainFrameResizesAreOrientationChanges() const;
43 43
44 // Emulation. 44 // Emulation.
45 void enableDeviceEmulation(const WebDeviceEmulationParams&); 45 void enableDeviceEmulation(const WebDeviceEmulationParams&);
46 void disableDeviceEmulation(); 46 void disableDeviceEmulation();
47 bool deviceEmulationEnabled() { return m_deviceMetricsEnabled; }
48 bool resizeIsDeviceSizeChange(); 47 bool resizeIsDeviceSizeChange();
49 void setTouchEventEmulationEnabled(bool); 48 void setTouchEventEmulationEnabled(bool);
50 bool handleInputEvent(const WebInputEvent&); 49 bool handleInputEvent(const WebInputEvent&);
51 void setScriptExecutionDisabled(bool); 50 void setScriptExecutionDisabled(bool);
52 51
53 private: 52 private:
54 explicit DevToolsEmulator(WebViewImpl*); 53 explicit DevToolsEmulator(WebViewImpl*);
55 54
56 void enableMobileEmulation(); 55 void enableMobileEmulation();
57 void disableMobileEmulation(); 56 void disableMobileEmulation();
(...skipping 29 matching lines...) Expand all
87 OwnPtr<IntPoint> m_lastPinchAnchorCss; 86 OwnPtr<IntPoint> m_lastPinchAnchorCss;
88 OwnPtr<IntPoint> m_lastPinchAnchorDip; 87 OwnPtr<IntPoint> m_lastPinchAnchorDip;
89 88
90 bool m_embedderScriptEnabled; 89 bool m_embedderScriptEnabled;
91 bool m_scriptExecutionDisabled; 90 bool m_scriptExecutionDisabled;
92 }; 91 };
93 92
94 } // namespace blink 93 } // namespace blink
95 94
96 #endif 95 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698