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

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

Issue 1865813002: Remove RawPtr from Source/web/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 8 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"
11 #include "wtf/Forward.h" 11 #include "wtf/Forward.h"
12 #include "wtf/OwnPtr.h" 12 #include "wtf/OwnPtr.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class InspectorEmulationAgent; 16 class InspectorEmulationAgent;
17 class IntPoint; 17 class IntPoint;
18 class WebInputEvent; 18 class WebInputEvent;
19 class WebViewImpl; 19 class WebViewImpl;
20 20
21 class DevToolsEmulator final : public GarbageCollectedFinalized<DevToolsEmulator > { 21 class DevToolsEmulator final : public GarbageCollectedFinalized<DevToolsEmulator > {
22 public: 22 public:
23 ~DevToolsEmulator(); 23 ~DevToolsEmulator();
24 static RawPtr<DevToolsEmulator> create(WebViewImpl*); 24 static DevToolsEmulator* create(WebViewImpl*);
25 DECLARE_TRACE(); 25 DECLARE_TRACE();
26 26
27 // Settings overrides. 27 // Settings overrides.
28 void setTextAutosizingEnabled(bool); 28 void setTextAutosizingEnabled(bool);
29 void setDeviceScaleAdjustment(float); 29 void setDeviceScaleAdjustment(float);
30 void setPreferCompositingToLCDTextEnabled(bool); 30 void setPreferCompositingToLCDTextEnabled(bool);
31 void setUseMobileViewportStyle(bool); 31 void setUseMobileViewportStyle(bool);
32 void setPluginsEnabled(bool); 32 void setPluginsEnabled(bool);
33 void setScriptEnabled(bool); 33 void setScriptEnabled(bool);
34 void setDoubleTapToZoomEnabled(bool); 34 void setDoubleTapToZoomEnabled(bool);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 OwnPtr<IntPoint> m_lastPinchAnchorCss; 86 OwnPtr<IntPoint> m_lastPinchAnchorCss;
87 OwnPtr<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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/DateTimeChooserImpl.cpp ('k') | third_party/WebKit/Source/web/DevToolsEmulator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698