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

Unified Diff: chrome/browser/resources/chromeos/login/header_bar.js

Issue 8637012: [cros] Fix header bar button appearance on Login screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/header_bar.js
diff --git a/chrome/browser/resources/chromeos/login/header_bar.js b/chrome/browser/resources/chromeos/login/header_bar.js
index 8ed93109f7b3caf8865833526ded8c5d878ef205..37af5eb3d4a973296d298833f75b7c6cdcf54ff6 100644
--- a/chrome/browser/resources/chromeos/login/header_bar.js
+++ b/chrome/browser/resources/chromeos/login/header_bar.js
@@ -26,6 +26,11 @@ cr.define('login', function() {
/** @inheritDoc */
decorate: function() {
+ // All header bar buttons have custom appearance.
Nikita (slow) 2011/11/22 12:36:12 Please add this class in html instead.
Ivan Korotkov 2011/11/22 12:43:02 Done.
+ var buttons = this.getElementsByTagName('button');
+ for (var i = 0, button; button = buttons[i]; ++i) {
+ button.classList.add('custom-appearance');
+ }
$('shutdown-header-bar-item').addEventListener('click',
this.handleShutdownClick_);
$('shutdown-button').addEventListener('click',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698