Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 NavigatorMediaSession_h | 5 #ifndef NavigatorMediaSession_h |
| 6 #define NavigatorMediaSession_h | 6 #define NavigatorMediaSession_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptState.h" | |
|
mlamouri (slow - plz ping)
2016/12/20 13:25:58
why?
Zhiqiang Zhang (Slow)
2016/12/20 13:53:06
This is because I removed some #include from Media
| |
| 8 #include "core/frame/Navigator.h" | 9 #include "core/frame/Navigator.h" |
| 9 #include "modules/mediasession/MediaSession.h" | 10 #include "modules/mediasession/MediaSession.h" |
| 10 #include "platform/Supplementable.h" | 11 #include "platform/Supplementable.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class Navigator; | 15 class Navigator; |
| 15 | 16 |
| 16 // Provides MediaSession as a supplement of Navigator as an attribute. | 17 // Provides MediaSession as a supplement of Navigator as an attribute. |
| 17 class NavigatorMediaSession final | 18 class NavigatorMediaSession final |
| (...skipping 11 matching lines...) Expand all Loading... | |
| 29 NavigatorMediaSession(Navigator&); | 30 NavigatorMediaSession(Navigator&); |
| 30 static const char* supplementName(); | 31 static const char* supplementName(); |
| 31 | 32 |
| 32 // The MediaSession instance of this Navigator. | 33 // The MediaSession instance of this Navigator. |
| 33 Member<MediaSession> m_session; | 34 Member<MediaSession> m_session; |
| 34 }; | 35 }; |
| 35 | 36 |
| 36 } // namespace blink | 37 } // namespace blink |
| 37 | 38 |
| 38 #endif // NavigatorMediaSession_h | 39 #endif // NavigatorMediaSession_h |
| OLD | NEW |