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

Unified Diff: ui/file_manager/video_player/js/video_player.js

Issue 603273006: Move the casting icon to media controls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/video_player/js/media_controls.js ('k') | ui/file_manager/video_player/video_player.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/js/video_player.js
diff --git a/ui/file_manager/video_player/js/video_player.js b/ui/file_manager/video_player/js/video_player.js
index ebbc09d75c14035f99f2d5a0f98ecb41b270a990..e1708101781aca64cbaeb89660492528c62a420e 100644
--- a/ui/file_manager/video_player/js/video_player.js
+++ b/ui/file_manager/video_player/js/video_player.js
@@ -217,15 +217,6 @@ VideoPlayer.prototype.prepare = function(videos) {
}.wrap(null));
closeButton.addEventListener('mousedown', preventDefault);
- var castButton = document.querySelector('.cast-button');
- cr.ui.decorate(castButton, cr.ui.MenuButton);
- castButton.addEventListener(
- 'click',
- function(event) {
- event.stopPropagation();
- }.wrap(null));
- castButton.addEventListener('mousedown', preventDefault);
-
var menu = document.querySelector('#cast-menu');
cr.ui.decorate(menu, cr.ui.Menu);
« no previous file with comments | « ui/file_manager/video_player/js/media_controls.js ('k') | ui/file_manager/video_player/video_player.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698