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

Unified Diff: chrome/browser/remoting/resources/remoting_setting_up.html

Issue 6378006: Add Throbber control for DOMUI. Use it everywhere in options and in Sync setup UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed nit Created 9 years, 11 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: 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..c0a20a8a567ae6af99aa3b6b56a95ec912446359 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,13 @@
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>
</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">

Powered by Google App Engine
This is Rietveld 408576698