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

Side by Side Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationInspectorAgent.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 DeviceOrientationInspectorAgent_h 5 #ifndef DeviceOrientationInspectorAgent_h
6 #define DeviceOrientationInspectorAgent_h 6 #define DeviceOrientationInspectorAgent_h
7 7
8 #include "core/InspectorFrontend.h" 8 #include "core/InspectorFrontend.h"
9 #include "core/inspector/InspectorBaseAgent.h" 9 #include "core/inspector/InspectorBaseAgent.h"
10 #include "modules/ModulesExport.h" 10 #include "modules/ModulesExport.h"
11 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class DeviceOrientationController; 15 class DeviceOrientationController;
16 class Page; 16 class Page;
17 17
18 typedef String ErrorString; 18 typedef String ErrorString;
19 19
20 class MODULES_EXPORT DeviceOrientationInspectorAgent final : public InspectorBas eAgent<DeviceOrientationInspectorAgent, InspectorFrontend::DeviceOrientation>, p ublic InspectorBackendDispatcher::DeviceOrientationCommandHandler { 20 class MODULES_EXPORT DeviceOrientationInspectorAgent final : public InspectorBas eAgent<DeviceOrientationInspectorAgent, InspectorFrontend::DeviceOrientation>, p ublic InspectorBackendDispatcher::DeviceOrientationCommandHandler {
21 WTF_MAKE_NONCOPYABLE(DeviceOrientationInspectorAgent); 21 WTF_MAKE_NONCOPYABLE(DeviceOrientationInspectorAgent);
22 public: 22 public:
23 static PassOwnPtrWillBeRawPtr<DeviceOrientationInspectorAgent> create(Page*) ; 23 static RawPtr<DeviceOrientationInspectorAgent> create(Page*);
24 24
25 ~DeviceOrientationInspectorAgent() override; 25 ~DeviceOrientationInspectorAgent() override;
26 DECLARE_VIRTUAL_TRACE(); 26 DECLARE_VIRTUAL_TRACE();
27 27
28 // Protocol methods. 28 // Protocol methods.
29 void setDeviceOrientationOverride(ErrorString*, double, double, double) over ride; 29 void setDeviceOrientationOverride(ErrorString*, double, double, double) over ride;
30 void clearDeviceOrientationOverride(ErrorString*) override; 30 void clearDeviceOrientationOverride(ErrorString*) override;
31 31
32 // Inspector Controller API. 32 // Inspector Controller API.
33 void disable(ErrorString*) override; 33 void disable(ErrorString*) override;
34 void restore() override; 34 void restore() override;
35 void didCommitLoadForLocalFrame(LocalFrame*) override; 35 void didCommitLoadForLocalFrame(LocalFrame*) override;
36 36
37 private: 37 private:
38 explicit DeviceOrientationInspectorAgent(Page&); 38 explicit DeviceOrientationInspectorAgent(Page&);
39 DeviceOrientationController& controller(); 39 DeviceOrientationController& controller();
40 RawPtrWillBeMember<Page> m_page; 40 Member<Page> m_page;
41 }; 41 };
42 42
43 } // namespace blink 43 } // namespace blink
44 44
45 45
46 #endif // !defined(DeviceOrientationInspectorAgent_h) 46 #endif // !defined(DeviceOrientationInspectorAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698