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

Side by Side Diff: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 RemotePlayback_h 5 #ifndef RemotePlayback_h
6 #define RemotePlayback_h 6 #define RemotePlayback_h
7 7
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.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/remoteplayback/WebRemotePlaybackClient.h" 12 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h"
13 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" 13 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h"
14 #include "wtf/text/AtomicString.h" 14 #include "wtf/text/AtomicString.h"
15 #include "wtf/text/WTFString.h" 15 #include "wtf/text/WTFString.h"
16 16
17 namespace blink { 17 namespace blink {
18 18
19 class ExecutionContext; 19 class ExecutionContext;
20 class HTMLMediaElement; 20 class HTMLMediaElement;
21 class LocalFrame; 21 class LocalFrame;
22 class RemotePlaybackAvailability; 22 class RemotePlaybackAvailability;
23 23
24 class RemotePlayback final 24 class RemotePlayback final
25 : public RefCountedGarbageCollectedEventTargetWithInlineData<RemotePlayback> 25 : public RefCountedGarbageCollectedEventTargetWithInlineData<RemotePlayback>
26 , public DOMWindowProperty 26 , public DOMWindowProperty
27 , private WebRemotePlaybackClient { 27 , private WebRemotePlaybackClient {
28 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(RemotePlayback); 28 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(RemotePlayback);
29 DEFINE_WRAPPERTYPEINFO(); 29 DEFINE_WRAPPERTYPEINFO();
30 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RemotePlayback); 30 USING_GARBAGE_COLLECTED_MIXIN(RemotePlayback);
31 public: 31 public:
32 static RemotePlayback* create(HTMLMediaElement&); 32 static RemotePlayback* create(HTMLMediaElement&);
33 33
34 ~RemotePlayback() override = default; 34 ~RemotePlayback() override = default;
35 35
36 // EventTarget implementation. 36 // EventTarget implementation.
37 const WTF::AtomicString& interfaceName() const override; 37 const WTF::AtomicString& interfaceName() const override;
38 ExecutionContext* getExecutionContext() const override; 38 ExecutionContext* getExecutionContext() const override;
39 39
40 ScriptPromise getAvailability(ScriptState*); 40 ScriptPromise getAvailability(ScriptState*);
(...skipping 11 matching lines...) Expand all
52 void availabilityChanged(bool available) override; 52 void availabilityChanged(bool available) override;
53 53
54 WebRemotePlaybackState m_state; 54 WebRemotePlaybackState m_state;
55 bool m_availability; 55 bool m_availability;
56 HeapVector<Member<RemotePlaybackAvailability>> m_availabilityObjects; 56 HeapVector<Member<RemotePlaybackAvailability>> m_availabilityObjects;
57 }; 57 };
58 58
59 } // namespace blink 59 } // namespace blink
60 60
61 #endif // RemotePlayback_h 61 #endif // RemotePlayback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698