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

Side by Side Diff: chrome/browser/dom_ui/mediaplayer_ui.h

Issue 1034002: adding fullscreen support to the mediaplayer (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/dom_ui/mediaplayer_ui.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/dom_ui/mediaplayer_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698