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

Unified Diff: chrome/browser/chromeos/setting_level_bubble.h

Issue 5559004: chromeos: Add support for multiple volume icons. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/browser/chromeos
Patch Set: merge Created 10 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 | « chrome/app/theme/volume_icon.png ('k') | chrome/browser/chromeos/setting_level_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/setting_level_bubble.h
diff --git a/chrome/browser/chromeos/setting_level_bubble.h b/chrome/browser/chromeos/setting_level_bubble.h
index 2d36a873a8e18ccae18e9f84780592f9ec75d734..4619127f59d13a4b1db00a9a835558ae646d6ee0 100644
--- a/chrome/browser/chromeos/setting_level_bubble.h
+++ b/chrome/browser/chromeos/setting_level_bubble.h
@@ -25,7 +25,9 @@ class SettingLevelBubble : public InfoBubbleDelegate,
void ShowBubble(int percent);
protected:
- explicit SettingLevelBubble(SkBitmap* icon);
+ explicit SettingLevelBubble(SkBitmap* increase_icon,
+ SkBitmap* decrease_icon,
+ SkBitmap* zero_icon);
virtual ~SettingLevelBubble() {}
private:
@@ -45,8 +47,11 @@ class SettingLevelBubble : public InfoBubbleDelegate,
int previous_percent_;
int current_percent_;
- // Icon displayed in the bubble. Not owned by us.
- SkBitmap* icon_;
+ // Icons displayed in the bubble when increasing or decreasing the level or
+ // setting it to zero. Not owned by us.
+ SkBitmap* increase_icon_;
+ SkBitmap* decrease_icon_;
+ SkBitmap* zero_icon_;
// Currently shown bubble or NULL.
InfoBubble* bubble_;
« no previous file with comments | « chrome/app/theme/volume_icon.png ('k') | chrome/browser/chromeos/setting_level_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698