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

Side by Side Diff: webkit/media/android/webmediaplayer_android.cc

Issue 16082004: Fixed incorrect bug ID in TODO. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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 | « no previous file | 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "webkit/media/android/webmediaplayer_android.h" 5 #include "webkit/media/android/webmediaplayer_android.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 texture, level, internal_format, 316 texture, level, internal_format,
317 type); 317 type);
318 web_graphics_context->pixelStorei(GL_UNPACK_FLIP_Y_CHROMIUM, false); 318 web_graphics_context->pixelStorei(GL_UNPACK_FLIP_Y_CHROMIUM, false);
319 web_graphics_context->pixelStorei(GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, 319 web_graphics_context->pixelStorei(GL_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM,
320 false); 320 false);
321 return true; 321 return true;
322 } 322 }
323 323
324 bool WebMediaPlayerAndroid::hasSingleSecurityOrigin() const { 324 bool WebMediaPlayerAndroid::hasSingleSecurityOrigin() const {
325 // TODO(qinmin): fix this for urls that are not file. 325 // TODO(qinmin): fix this for urls that are not file.
326 // https://code.google.com/p/chromium/issues/detail?id=28353 326 // https://code.google.com/p/chromium/issues/detail?id=234710
327 if (url_.SchemeIsFile()) 327 if (url_.SchemeIsFile())
328 return true; 328 return true;
329 return false; 329 return false;
330 } 330 }
331 331
332 bool WebMediaPlayerAndroid::didPassCORSAccessCheck() const { 332 bool WebMediaPlayerAndroid::didPassCORSAccessCheck() const {
333 return false; 333 return false;
334 } 334 }
335 335
336 WebMediaPlayer::MovieLoadType WebMediaPlayerAndroid::movieLoadType() const { 336 WebMediaPlayer::MovieLoadType WebMediaPlayerAndroid::movieLoadType() const {
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 void WebMediaPlayerAndroid::exitFullscreen() { 729 void WebMediaPlayerAndroid::exitFullscreen() {
730 if (proxy_) 730 if (proxy_)
731 proxy_->ExitFullscreen(player_id_); 731 proxy_->ExitFullscreen(player_id_);
732 } 732 }
733 733
734 bool WebMediaPlayerAndroid::canEnterFullscreen() const { 734 bool WebMediaPlayerAndroid::canEnterFullscreen() const {
735 return manager_->CanEnterFullscreen(frame_); 735 return manager_->CanEnterFullscreen(frame_);
736 } 736 }
737 737
738 } // namespace webkit_media 738 } // namespace webkit_media
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698