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

Side by Side Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.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, 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 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 ScreenOrientation_h 5 #ifndef ScreenOrientation_h
6 #define ScreenOrientation_h 6 #define ScreenOrientation_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/events/EventTarget.h" 9 #include "core/events/EventTarget.h"
10 #include "core/frame/DOMWindowProperty.h" 10 #include "core/frame/DOMWindowProperty.h"
11 #include "platform/heap/Handle.h" 11 #include "platform/heap/Handle.h"
12 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h" 12 #include "public/platform/modules/screen_orientation/WebScreenOrientationType.h"
13 #include "wtf/text/AtomicString.h" 13 #include "wtf/text/AtomicString.h"
14 #include "wtf/text/WTFString.h" 14 #include "wtf/text/WTFString.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class ExecutionContext; 18 class ExecutionContext;
19 class LocalFrame; 19 class LocalFrame;
20 class ScriptPromise; 20 class ScriptPromise;
21 class ScriptState; 21 class ScriptState;
22 class ScreenOrientationController; 22 class ScreenOrientationController;
23 23
24 class ScreenOrientation final 24 class ScreenOrientation final
25 : public RefCountedGarbageCollectedEventTargetWithInlineData<ScreenOrientati on> 25 : public RefCountedGarbageCollectedEventTargetWithInlineData<ScreenOrientati on>
26 , public DOMWindowProperty { 26 , public DOMWindowProperty {
27 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ScreenOrientation); 27 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(ScreenOrientation);
28 DEFINE_WRAPPERTYPEINFO(); 28 DEFINE_WRAPPERTYPEINFO();
29 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientation); 29 USING_GARBAGE_COLLECTED_MIXIN(ScreenOrientation);
30 public: 30 public:
31 static ScreenOrientation* create(LocalFrame*); 31 static ScreenOrientation* create(LocalFrame*);
32 32
33 ~ScreenOrientation() override; 33 ~ScreenOrientation() override;
34 34
35 // EventTarget implementation. 35 // EventTarget implementation.
36 const WTF::AtomicString& interfaceName() const override; 36 const WTF::AtomicString& interfaceName() const override;
37 ExecutionContext* getExecutionContext() const override; 37 ExecutionContext* getExecutionContext() const override;
38 38
39 String type() const; 39 String type() const;
(...skipping 17 matching lines...) Expand all
57 57
58 ScreenOrientationController* controller(); 58 ScreenOrientationController* controller();
59 59
60 WebScreenOrientationType m_type; 60 WebScreenOrientationType m_type;
61 unsigned short m_angle; 61 unsigned short m_angle;
62 }; 62 };
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // ScreenOrientation_h 66 #endif // ScreenOrientation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698