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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.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
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.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 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_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 // Resource loading. 82 // Resource loading.
83 virtual void load(LoadType load_type, 83 virtual void load(LoadType load_type,
84 const blink::WebURL& url, 84 const blink::WebURL& url,
85 CORSMode cors_mode); 85 CORSMode cors_mode);
86 86
87 // Playback controls. 87 // Playback controls.
88 virtual void play(); 88 virtual void play();
89 virtual void pause(); 89 virtual void pause();
90 virtual void seek(double seconds); 90 virtual void seek(double seconds);
91 virtual bool supportsFullscreen() const;
92 virtual bool supportsSave() const; 91 virtual bool supportsSave() const;
93 virtual void setRate(double rate); 92 virtual void setRate(double rate);
94 virtual void setVolume(double volume); 93 virtual void setVolume(double volume);
95 virtual const blink::WebTimeRanges& buffered(); 94 virtual const blink::WebTimeRanges& buffered();
96 virtual double maxTimeSeekable() const; 95 virtual double maxTimeSeekable() const;
97 96
98 // Methods for painting. 97 // Methods for painting.
99 virtual void paint(blink::WebCanvas* canvas, 98 virtual void paint(blink::WebCanvas* canvas,
100 const blink::WebRect& rect, 99 const blink::WebRect& rect,
101 unsigned char alpha); 100 unsigned char alpha);
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 scoped_ptr<ProxyDecryptor> decryptor_; 422 scoped_ptr<ProxyDecryptor> decryptor_;
424 423
425 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_; 424 base::WeakPtrFactory<WebMediaPlayerAndroid> weak_factory_;
426 425
427 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid); 426 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerAndroid);
428 }; 427 };
429 428
430 } // namespace content 429 } // namespace content
431 430
432 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_ 431 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_ANDROID_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698