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

Side by Side Diff: chrome/browser/chromeos/media/media_player.h

Issue 11269043: Make the title of Chrome OS Audio Player empty (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added a test Created 8 years, 1 month 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 | « no previous file | chrome/browser/chromeos/media/media_player.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_MEDIA_MEDIA_PLAYER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_H_
6 #define CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_H_ 6 #define CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 11
12 template <typename T> struct DefaultSingletonTraits; 12 template <typename T> struct DefaultSingletonTraits;
13 13
14 class Browser; 14 class Browser;
15 class FilePath; 15 class FilePath;
16 class GURL; 16 class GURL;
17 class Profile; 17 class Profile;
18 18
19 class MediaPlayer { 19 class MediaPlayer {
20 public: 20 public:
21 typedef std::vector<GURL> UrlVector; 21 typedef std::vector<GURL> UrlVector;
22 22
23 virtual ~MediaPlayer(); 23 virtual ~MediaPlayer();
24 24
25 // Sets the mediaplayer window height. 25 // Adjusts the mediaplayer window height.
26 void SetWindowHeight(int height); 26 void AdjustWindowHeight(int height_diff);
27 27
28 // Forces the mediaplayer window to be closed. 28 // Forces the mediaplayer window to be closed.
29 void CloseWindow(); 29 void CloseWindow();
30 30
31 // Clears the current playlist. 31 // Clears the current playlist.
32 void ClearPlaylist(); 32 void ClearPlaylist();
33 33
34 // Enqueues this fileschema url into the current playlist. 34 // Enqueues this fileschema url into the current playlist.
35 void EnqueueMediaFileUrl(const GURL& url); 35 void EnqueueMediaFileUrl(const GURL& url);
36 36
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static GURL GetMediaPlayerUrl(); 70 static GURL GetMediaPlayerUrl();
71 71
72 // Browser containing the Mediaplayer. 72 // Browser containing the Mediaplayer.
73 static Browser* GetBrowser(); 73 static Browser* GetBrowser();
74 74
75 friend class MediaPlayerBrowserTest; 75 friend class MediaPlayerBrowserTest;
76 DISALLOW_COPY_AND_ASSIGN(MediaPlayer); 76 DISALLOW_COPY_AND_ASSIGN(MediaPlayer);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_H_ 79 #endif // CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/media/media_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698