| Index: chrome/browser/remoting/resources/remoting_setting_up.html
|
| diff --git a/chrome/browser/remoting/resources/remoting_setting_up.html b/chrome/browser/remoting/resources/remoting_setting_up.html
|
| index 25c594e7e6d93742de73bc240111d35da7a1c066..cd4bba8b303a3f24c69c912eea136e152eb6730f 100644
|
| --- a/chrome/browser/remoting/resources/remoting_setting_up.html
|
| +++ b/chrome/browser/remoting/resources/remoting_setting_up.html
|
| @@ -3,13 +3,8 @@
|
| <title></title>
|
| <link rel="stylesheet" type="text/css" href="remoting_setup_flow.css" />
|
| <style type="text/css">
|
| -#throb {
|
| - background-image: url("../../../../app/resources/throbber.png");
|
| - width: 16px;
|
| - height: 16px;
|
| - background-position: 0px;
|
| +#throbber {
|
| margin: -3px 10px;
|
| - display: inline-block;
|
| }
|
| #setting_up {
|
| margin: 100px;
|
| @@ -21,23 +16,16 @@
|
| font-size: 125%;
|
| }
|
| </style>
|
| +<link rel="stylesheet" href="chrome://resources/css/throbber.css">
|
| <script src="chrome://resources/js/cr.js"></script>
|
| -<script>
|
| - function advanceThrobber() {
|
| - var throbber = document.getElementById('throb');
|
| - throbber.style.backgroundPositionX =
|
| - ((parseInt(getComputedStyle(throbber).backgroundPositionX) - 16) %
|
| - 576) + 'px';
|
| - }
|
| - setInterval(advanceThrobber, 30);
|
| -</script>
|
| +<script src="chrome://resources/js/cr/ui.js"></script>
|
| +<script src="chrome://resources/js/cr/ui/throbber.js"></script>
|
| +<script src="chrome://resources/js/util.js"></script>
|
| </head>
|
| <body i18n-values=".style.fontFamily:fontfamily">
|
| <form id="settingUpForm" onSubmit="return false;">
|
| <div id="setting_up">
|
| - <span id="throbber_container">
|
| - <span id="throb"></span>
|
| - </span>
|
| + <div id="throbber" class="throbber"></div>
|
| <div id="setting_up_label" i18n-content="settingup"></div>
|
| </div>
|
| <div class="remoting-footer">
|
| @@ -45,5 +33,8 @@
|
| onclick='chrome.send("DialogClose", [""])' />
|
| </div>
|
| </form>
|
| +<script>
|
| + cr.ui.Throbber.decorate($('throbber'));
|
| +</script>
|
| </body>
|
| </html>
|
|
|