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

Unified Diff: ash/launcher/launcher_button.cc

Issue 11348366: New resources for launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resource Created 8 years 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 | « ash/launcher/launcher.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_button.cc
diff --git a/ash/launcher/launcher_button.cc b/ash/launcher/launcher_button.cc
index fd1839be922dae9559c88d34cf3fd201cb88f5e1..b4c4f9bc463e6de359347044b4510964c52d1ba4 100644
--- a/ash/launcher/launcher_button.cc
+++ b/ash/launcher/launcher_button.cc
@@ -354,18 +354,18 @@ void LauncherButton::UpdateState() {
int bar_id;
if (IsShelfHorizontal()) {
if (state_ & STATE_ACTIVE)
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_ACTIVE;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_BOTTOM_ACTIVE;
else if (state_ & (STATE_HOVERED | STATE_FOCUSED | STATE_ATTENTION))
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_HOVER;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_BOTTOM_HOVER;
else
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_RUNNING;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_BOTTOM_RUNNING;
} else {
if (state_ & STATE_ACTIVE)
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_VERTICAL_ACTIVE;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_LEFT_ACTIVE;
else if (state_ & (STATE_HOVERED | STATE_FOCUSED | STATE_ATTENTION))
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_VERTICAL_HOVER;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_LEFT_HOVER;
else
- bar_id = IDR_AURA_LAUNCHER_UNDERLINE_VERTICAL_RUNNING;
+ bar_id = IDR_AURA_LAUNCHER_UNDERLINE_LEFT_RUNNING;
}
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/resources/ash_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698