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

Side by Side Diff: content/renderer/media/android/webmediaplayer_android.cc

Issue 382423002: remove WebMediaPlayerAndroid::exitFullscreen() call (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/android/webmediaplayer_android.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/android/webmediaplayer_android.h" 5 #include "content/renderer/media/android/webmediaplayer_android.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_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 decryptor_ready_cb_ = decryptor_ready_cb; 1532 decryptor_ready_cb_ = decryptor_ready_cb;
1533 } 1533 }
1534 1534
1535 void WebMediaPlayerAndroid::enterFullscreen() { 1535 void WebMediaPlayerAndroid::enterFullscreen() {
1536 if (player_manager_->CanEnterFullscreen(frame_)) { 1536 if (player_manager_->CanEnterFullscreen(frame_)) {
1537 player_manager_->EnterFullscreen(player_id_, frame_); 1537 player_manager_->EnterFullscreen(player_id_, frame_);
1538 SetNeedsEstablishPeer(false); 1538 SetNeedsEstablishPeer(false);
1539 } 1539 }
1540 } 1540 }
1541 1541
1542 void WebMediaPlayerAndroid::exitFullscreen() {
1543 player_manager_->ExitFullscreen(player_id_);
1544 }
1545
1546 bool WebMediaPlayerAndroid::canEnterFullscreen() const { 1542 bool WebMediaPlayerAndroid::canEnterFullscreen() const {
1547 return player_manager_->CanEnterFullscreen(frame_); 1543 return player_manager_->CanEnterFullscreen(frame_);
1548 } 1544 }
1549 1545
1550 } // namespace content 1546 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/android/webmediaplayer_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698