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

Side by Side Diff: media/tools/player_wtl/movie.h

Issue 9805001: Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « media/audio/win/waveout_output_win.cc ('k') | media/tools/player_wtl/movie.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 // Movie class for WTL forms to call to control the media pipeline. 5 // Movie class for WTL forms to call to control the media pipeline.
6 6
7 #ifndef MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_ 7 #ifndef MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_
8 #define MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_ 8 #define MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_
9 9
10 #include "media/tools/player_wtl/player_wtl.h" 10 #include "media/tools/player_wtl/player_wtl.h"
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "media/base/message_loop_factory.h" 14 #include "media/base/message_loop_factory.h"
15 15
16 class AudioManager;
17 template <typename T> struct DefaultSingletonTraits; 16 template <typename T> struct DefaultSingletonTraits;
18 17
19 namespace media { 18 namespace media {
20 19
20 class AudioManager;
21 class Pipeline; 21 class Pipeline;
22 class VideoRendererBase; 22 class VideoRendererBase;
23 23
24 class Movie { 24 class Movie {
25 public: 25 public:
26 // Returns the singleton instance. 26 // Returns the singleton instance.
27 static Movie* GetInstance(); 27 static Movie* GetInstance();
28 28
29 // Open a movie. 29 // Open a movie.
30 bool Open(const wchar_t* url, VideoRendererBase* video_renderer); 30 bool Open(const wchar_t* url, VideoRendererBase* video_renderer);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 float play_rate_; 95 float play_rate_;
96 HBITMAP movie_dib_; 96 HBITMAP movie_dib_;
97 HWND movie_hwnd_; 97 HWND movie_hwnd_;
98 98
99 DISALLOW_COPY_AND_ASSIGN(Movie); 99 DISALLOW_COPY_AND_ASSIGN(Movie);
100 }; 100 };
101 101
102 } // namespace media 102 } // namespace media
103 103
104 #endif // MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_ 104 #endif // MEDIA_TOOLS_PLAYER_WTL_MOVIE_H_
OLDNEW
« no previous file with comments | « media/audio/win/waveout_output_win.cc ('k') | media/tools/player_wtl/movie.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698