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

Side by Side Diff: third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.h

Issue 2252783004: Implement MediaSession (metadata) per frame [NOT READY, HAS DEPENDENCY] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 4 years, 3 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
(Empty)
1 #ifndef NavigatorMediaSession_h
whywhat 2016/09/13 16:23:26 nit copyright owners yadayada
Zhiqiang Zhang (Slow) 2016/09/13 18:51:52 Done. Thanks ;)
2 #define NavigatorMediaSession_h
3
4 #include "core/frame/DOMWindowProperty.h"
5 #include "core/frame/Navigator.h"
6 #include "modules/mediasession/MediaSession.h"
7 #include "platform/Supplementable.h"
8
9 namespace blink {
10
11 class Navigator;
12
13 class NavigatorMediaSession final : public GarbageCollected<NavigatorMediaSessio n>, public Supplement<Navigator>, public DOMWindowProperty {
14 USING_GARBAGE_COLLECTED_MIXIN(NavigatorMediaSession);
15
16 public:
17 static NavigatorMediaSession& from(Navigator&);
18 static MediaSession* mediaSession(Navigator&);
19
20 DECLARE_TRACE();
21
22 private:
23 NavigatorMediaSession(Navigator&);
24 static const char* supplementName();
25
26 Member<MediaSession> m_session;
27 };
28 }
29
30 #endif // NavigatorMediaSession_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698