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

Side by Side Diff: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h

Issue 2434763002: [wrapper-tracing] Bring remoteplayback up to date (Closed)
Patch Set: Reset bingings results Created 4 years, 2 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/ActiveScriptWrappable.h" 8 #include "bindings/core/v8/ActiveScriptWrappable.h"
9 #include "bindings/core/v8/ScriptPromise.h" 9 #include "bindings/core/v8/ScriptPromise.h"
10 #include "bindings/core/v8/ScriptState.h" 10 #include "bindings/core/v8/ScriptState.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 String state() const; 58 String state() const;
59 59
60 // ScriptWrappable implementation. 60 // ScriptWrappable implementation.
61 bool hasPendingActivity() const final; 61 bool hasPendingActivity() const final;
62 62
63 DEFINE_ATTRIBUTE_EVENT_LISTENER(connecting); 63 DEFINE_ATTRIBUTE_EVENT_LISTENER(connecting);
64 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect); 64 DEFINE_ATTRIBUTE_EVENT_LISTENER(connect);
65 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect); 65 DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
66 66
67 DECLARE_VIRTUAL_TRACE(); 67 DECLARE_VIRTUAL_TRACE();
68 DECLARE_VIRTUAL_TRACE_WRAPPERS();
68 69
69 private: 70 private:
70 friend class V8RemotePlayback; 71 friend class V8RemotePlayback;
71 friend class RemotePlaybackTest; 72 friend class RemotePlaybackTest;
72 73
73 explicit RemotePlayback(ScriptState*, HTMLMediaElement&); 74 explicit RemotePlayback(ScriptState*, HTMLMediaElement&);
74 75
75 // Calls the specified availability callback with the current availability. 76 // Calls the specified availability callback with the current availability.
76 // Need a void() method to post it as a task. 77 // Need a void() method to post it as a task.
77 void notifyInitialAvailability(int callbackId); 78 void notifyInitialAvailability(int callbackId);
(...skipping 14 matching lines...) Expand all
92 bool m_availability; 93 bool m_availability;
93 HeapHashMap<int, Member<RemotePlaybackAvailabilityCallback>> 94 HeapHashMap<int, Member<RemotePlaybackAvailabilityCallback>>
94 m_availabilityCallbacks; 95 m_availabilityCallbacks;
95 Member<HTMLMediaElement> m_mediaElement; 96 Member<HTMLMediaElement> m_mediaElement;
96 Member<ScriptPromiseResolver> m_promptPromiseResolver; 97 Member<ScriptPromiseResolver> m_promptPromiseResolver;
97 }; 98 };
98 99
99 } // namespace blink 100 } // namespace blink
100 101
101 #endif // RemotePlayback_h 102 #endif // RemotePlayback_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698