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

Unified Diff: ui/file_manager/video_player/css/header.css

Issue 477603002: Video Player: Hide the cast icon on non-drive volume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: ui/file_manager/video_player/css/header.css
diff --git a/ui/file_manager/video_player/css/header.css b/ui/file_manager/video_player/css/header.css
index fa37d554c901a962e94ec24b1b8c964e42e8a240..35868372fc8d71154a47bf041c46aa6fc2d71b80 100644
--- a/ui/file_manager/video_player/css/header.css
+++ b/ui/file_manager/video_player/css/header.css
@@ -81,10 +81,14 @@
url(../images/200/cast_on.png) 2x);
}
-#video-player > .header > button.cast-button.hidden {
+#video-player > .header > button.cast-button {
display: none;
}
+#video-player[cast-available][castable] > .header > button.cast-button {
+ display: block;
+}
+
#video-player > .header > button.minimize-button {
background-image: -webkit-image-set(
url(chrome://resources/images/apps/topbar_button_minimize.png) 1x,
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | ui/file_manager/video_player/js/video_player.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698