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

Side by Side Diff: content/renderer/media/webmediaplayer_ms.h

Issue 142273002: Remove implementations of WebMediaPlayer::supportsFullscreen() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 media::MediaLog* media_log); 63 media::MediaLog* media_log);
64 virtual ~WebMediaPlayerMS(); 64 virtual ~WebMediaPlayerMS();
65 65
66 virtual void load(LoadType load_type, 66 virtual void load(LoadType load_type,
67 const blink::WebURL& url, 67 const blink::WebURL& url,
68 CORSMode cors_mode); 68 CORSMode cors_mode);
69 69
70 // Playback controls. 70 // Playback controls.
71 virtual void play(); 71 virtual void play();
72 virtual void pause(); 72 virtual void pause();
73 virtual bool supportsFullscreen() const;
74 virtual bool supportsSave() const; 73 virtual bool supportsSave() const;
75 virtual void seek(double seconds); 74 virtual void seek(double seconds);
76 virtual void setRate(double rate); 75 virtual void setRate(double rate);
77 virtual void setVolume(double volume); 76 virtual void setVolume(double volume);
78 virtual void setPreload(blink::WebMediaPlayer::Preload preload); 77 virtual void setPreload(blink::WebMediaPlayer::Preload preload);
79 virtual const blink::WebTimeRanges& buffered(); 78 virtual const blink::WebTimeRanges& buffered();
80 virtual double maxTimeSeekable() const; 79 virtual double maxTimeSeekable() const;
81 80
82 // Methods for painting. 81 // Methods for painting.
83 virtual void paint(blink::WebCanvas* canvas, 82 virtual void paint(blink::WebCanvas* canvas,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_; 183 scoped_refptr<MediaStreamAudioRenderer> audio_renderer_;
185 184
186 scoped_refptr<media::MediaLog> media_log_; 185 scoped_refptr<media::MediaLog> media_log_;
187 186
188 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS); 187 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerMS);
189 }; 188 };
190 189
191 } // namespace content 190 } // namespace content
192 191
193 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_ 192 #endif // CONTENT_RENDERER_MEDIA_WEBMEDIAPLAYER_MS_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_impl.cc ('k') | content/renderer/media/webmediaplayer_ms.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698