Commit c696feb7 authored by dpapad's avatar dpapad Committed by Commit Bot

File Manager: Update remaining <style is="custom-style"> for Polymer 2.

per Polymer 2 migration guide:
 - wrap <style is="custom-style"> with <custom-style>
 - move <custom-style> inside <body>

Bug: 739532
Change-Id: I089208681d14e19e71251a41e80bd024c02d1b3a
Reviewed-on: https://chromium-review.googlesource.com/1247530Reviewed-by: default avatarLuciano Pacheco <lucmult@chromium.org>
Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594762}
parent 4a447c2d
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
<link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/foreground/elements/files_tooltip.html"> <link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/foreground/elements/files_tooltip.html">
<script src="js/gallery_scripts.js"></script> <script src="js/gallery_scripts.js"></script>
</head>
<body>
<custom-style>
<style is="custom-style"> <style is="custom-style">
cr-checkbox { cr-checkbox {
--cr-checkbox-checked-box-color: white; --cr-checkbox-checked-box-color: white;
...@@ -91,8 +94,7 @@ ...@@ -91,8 +94,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
</style> </style>
</head> </custom-style>
<body>
<div class="gallery"> <div class="gallery">
<div id="content" class="content"> <div id="content" class="content">
<div class="thumbnail-view"></div> <div class="thumbnail-view"></div>
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
<link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/foreground/elements/files_icon_button.html"> <link rel="import" href="chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/foreground/elements/files_icon_button.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slider.html"> <link rel="import" href="chrome://resources/polymer/v1_0/paper-slider/paper-slider.html">
<script src="js/video_player_scripts.js"></script>
</head>
<body>
<custom-style>
<style is="custom-style"> <style is="custom-style">
files-icon-button { files-icon-button {
--files-ripple: { --files-ripple: {
...@@ -35,10 +39,7 @@ ...@@ -35,10 +39,7 @@
--paper-slider-active-color: rgb(66, 133, 244); --paper-slider-active-color: rgb(66, 133, 244);
} }
</style> </style>
</custom-style>
<script src="js/video_player_scripts.js"></script>
</head>
<body>
<div id="video-player" tools> <div id="video-player" tools>
<cr-menu id='cast-menu' class='cast-menu tool' <cr-menu id='cast-menu' class='cast-menu tool'
i18n-values="playon-text:VIDEO_PLAYER_PLAY_ON"></cr-menu> i18n-values="playon-text:VIDEO_PLAYER_PLAY_ON"></cr-menu>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment