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

Side by Side Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationInspectorAgent.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 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 ScreenOrientationInspectorAgent_h 5 #ifndef ScreenOrientationInspectorAgent_h
6 #define ScreenOrientationInspectorAgent_h 6 #define ScreenOrientationInspectorAgent_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 ScreenOrientationController; 15 class ScreenOrientationController;
16 16
17 typedef String ErrorString; 17 typedef String ErrorString;
18 18
19 class MODULES_EXPORT ScreenOrientationInspectorAgent final : public InspectorBas eAgent<ScreenOrientationInspectorAgent, InspectorFrontend::ScreenOrientation>, p ublic InspectorBackendDispatcher::ScreenOrientationCommandHandler { 19 class MODULES_EXPORT ScreenOrientationInspectorAgent final : public InspectorBas eAgent<ScreenOrientationInspectorAgent, InspectorFrontend::ScreenOrientation>, p ublic InspectorBackendDispatcher::ScreenOrientationCommandHandler {
20 WTF_MAKE_NONCOPYABLE(ScreenOrientationInspectorAgent); 20 WTF_MAKE_NONCOPYABLE(ScreenOrientationInspectorAgent);
21 public: 21 public:
22 static PassOwnPtrWillBeRawPtr<ScreenOrientationInspectorAgent> create(LocalF rame&); 22 static RawPtr<ScreenOrientationInspectorAgent> create(LocalFrame&);
23 23
24 ~ScreenOrientationInspectorAgent() override; 24 ~ScreenOrientationInspectorAgent() override;
25 25
26 DECLARE_VIRTUAL_TRACE(); 26 DECLARE_VIRTUAL_TRACE();
27 27
28 // Protocol methods. 28 // Protocol methods.
29 void setScreenOrientationOverride(ErrorString*, int, const String&) override ; 29 void setScreenOrientationOverride(ErrorString*, int, const String&) override ;
30 void clearScreenOrientationOverride(ErrorString*) override; 30 void clearScreenOrientationOverride(ErrorString*) override;
31 31
32 // InspectorBaseAgent overrides. 32 // InspectorBaseAgent overrides.
33 void disable(ErrorString*) override; 33 void disable(ErrorString*) override;
34 void restore() override; 34 void restore() override;
35 35
36 private: 36 private:
37 explicit ScreenOrientationInspectorAgent(LocalFrame&); 37 explicit ScreenOrientationInspectorAgent(LocalFrame&);
38 RawPtrWillBeMember<LocalFrame> m_frame; 38 Member<LocalFrame> m_frame;
39 }; 39 };
40 40
41 } // namespace blink 41 } // namespace blink
42 42
43 43
44 #endif // !defined(ScreenOrientationInspectorAgent_h) 44 #endif // !defined(ScreenOrientationInspectorAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698