OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ |
6 #define CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ | 6 #define CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 class Browser; | 25 class Browser; |
26 | 26 |
27 class MediaPlayer : public NotificationObserver, | 27 class MediaPlayer : public NotificationObserver, |
28 public URLRequest::Interceptor { | 28 public URLRequest::Interceptor { |
29 public: | 29 public: |
30 ~MediaPlayer() {} | 30 ~MediaPlayer() {} |
31 void EnqueueMediaURL(const GURL& url); | 31 void EnqueueMediaURL(const GURL& url); |
32 void ForcePlayMediaURL(const GURL& url); | 32 void ForcePlayMediaURL(const GURL& url); |
33 void TogglePlaylistWindowVisible(); | 33 void TogglePlaylistWindowVisible(); |
34 void ShowPlaylistWindow(); | 34 void ShowPlaylistWindow(); |
| 35 void ToggleFullscreen(); |
35 void ClosePlaylistWindow(); | 36 void ClosePlaylistWindow(); |
36 void SetPlaylistOffset(int offset); | 37 void SetPlaylistOffset(int offset); |
37 void RegisterNewHandler(MediaplayerHandler* handler, | 38 void RegisterNewHandler(MediaplayerHandler* handler, |
38 TabContents* contents); | 39 TabContents* contents); |
39 void RemoveHandler(MediaplayerHandler* handler); | 40 void RemoveHandler(MediaplayerHandler* handler); |
40 void RegisterNewPlaylistHandler(MediaplayerHandler* handler, | 41 void RegisterNewPlaylistHandler(MediaplayerHandler* handler, |
41 TabContents* contents); | 42 TabContents* contents); |
42 void RemovePlaylistHandler(MediaplayerHandler* handler); | 43 void RemovePlaylistHandler(MediaplayerHandler* handler); |
43 void NotifyPlaylistChanged(); | 44 void NotifyPlaylistChanged(); |
44 | 45 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 84 |
84 class MediaplayerUI : public DOMUI { | 85 class MediaplayerUI : public DOMUI { |
85 public: | 86 public: |
86 explicit MediaplayerUI(TabContents* contents); | 87 explicit MediaplayerUI(TabContents* contents); |
87 | 88 |
88 private: | 89 private: |
89 DISALLOW_COPY_AND_ASSIGN(MediaplayerUI); | 90 DISALLOW_COPY_AND_ASSIGN(MediaplayerUI); |
90 }; | 91 }; |
91 | 92 |
92 #endif // CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ | 93 #endif // CHROME_BROWSER_DOM_UI_MEDIAPLAYER_UI_H_ |
OLD | NEW |