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

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

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 | « content/renderer/media/webmediaplayer_ms.h ('k') | no next file » | 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 #include "content/renderer/media/webmediaplayer_ms.h" 5 #include "content/renderer/media/webmediaplayer_ms.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 if (delegate_.get()) 158 if (delegate_.get())
159 delegate_->DidPause(this); 159 delegate_->DidPause(this);
160 } 160 }
161 161
162 paused_ = true; 162 paused_ = true;
163 163
164 media_log_->AddEvent(media_log_->CreateEvent(media::MediaLogEvent::PAUSE)); 164 media_log_->AddEvent(media_log_->CreateEvent(media::MediaLogEvent::PAUSE));
165 } 165 }
166 166
167 bool WebMediaPlayerMS::supportsFullscreen() const {
168 DCHECK(thread_checker_.CalledOnValidThread());
169 return true;
170 }
171
172 bool WebMediaPlayerMS::supportsSave() const { 167 bool WebMediaPlayerMS::supportsSave() const {
173 DCHECK(thread_checker_.CalledOnValidThread()); 168 DCHECK(thread_checker_.CalledOnValidThread());
174 return false; 169 return false;
175 } 170 }
176 171
177 void WebMediaPlayerMS::seek(double seconds) { 172 void WebMediaPlayerMS::seek(double seconds) {
178 DCHECK(thread_checker_.CalledOnValidThread()); 173 DCHECK(thread_checker_.CalledOnValidThread());
179 } 174 }
180 175
181 void WebMediaPlayerMS::setRate(double rate) { 176 void WebMediaPlayerMS::setRate(double rate) {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 GetClient()->readyStateChanged(); 418 GetClient()->readyStateChanged();
424 } 419 }
425 420
426 blink::WebMediaPlayerClient* WebMediaPlayerMS::GetClient() { 421 blink::WebMediaPlayerClient* WebMediaPlayerMS::GetClient() {
427 DCHECK(thread_checker_.CalledOnValidThread()); 422 DCHECK(thread_checker_.CalledOnValidThread());
428 DCHECK(client_); 423 DCHECK(client_);
429 return client_; 424 return client_;
430 } 425 }
431 426
432 } // namespace content 427 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_ms.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698