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

Side by Side Diff: media/blink/webmediaplayer_impl.h

Issue 650943002: Remove unused Paint() method in WebMediaPlayer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_impl.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 MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 5 #ifndef MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 6 #define MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual void setVolume(double volume); 83 virtual void setVolume(double volume);
84 virtual void setPreload(blink::WebMediaPlayer::Preload preload); 84 virtual void setPreload(blink::WebMediaPlayer::Preload preload);
85 virtual blink::WebTimeRanges buffered() const; 85 virtual blink::WebTimeRanges buffered() const;
86 virtual blink::WebTimeRanges seekable() const; 86 virtual blink::WebTimeRanges seekable() const;
87 87
88 // Methods for painting. 88 // Methods for painting.
89 virtual void paint(blink::WebCanvas* canvas, 89 virtual void paint(blink::WebCanvas* canvas,
90 const blink::WebRect& rect, 90 const blink::WebRect& rect,
91 unsigned char alpha, 91 unsigned char alpha,
92 SkXfermode::Mode mode); 92 SkXfermode::Mode mode);
93 // TODO(dshwang): remove it because above method replaces. crbug.com/401027
94 virtual void paint(blink::WebCanvas* canvas,
95 const blink::WebRect& rect,
96 unsigned char alpha);
97 93
98 // True if the loaded media has a playable video/audio track. 94 // True if the loaded media has a playable video/audio track.
99 virtual bool hasVideo() const; 95 virtual bool hasVideo() const;
100 virtual bool hasAudio() const; 96 virtual bool hasAudio() const;
101 97
102 // Dimensions of the video. 98 // Dimensions of the video.
103 virtual blink::WebSize naturalSize() const; 99 virtual blink::WebSize naturalSize() const;
104 100
105 // Getters of playback state. 101 // Getters of playback state.
106 virtual bool paused() const; 102 virtual bool paused() const;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 scoped_ptr<EncryptedMediaPlayerSupport> encrypted_media_support_; 304 scoped_ptr<EncryptedMediaPlayerSupport> encrypted_media_support_;
309 305
310 const AudioHardwareConfig& audio_hardware_config_; 306 const AudioHardwareConfig& audio_hardware_config_;
311 307
312 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); 308 DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl);
313 }; 309 };
314 310
315 } // namespace media 311 } // namespace media
316 312
317 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_ 313 #endif // MEDIA_BLINK_WEBMEDIAPLAYER_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.cc ('k') | media/blink/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698