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

Unified Diff: chrome/browser/chromeos/status/power_menu_button.h

Issue 4154002: New statusbar images for ChromeOS (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/chromeos/status/power_menu_button.h
===================================================================
--- chrome/browser/chromeos/status/power_menu_button.h (revision 63751)
+++ chrome/browser/chromeos/status/power_menu_button.h (working copy)
@@ -57,17 +57,12 @@
int icon_id() const { return icon_id_; }
protected:
- // StatusAreaButton implementation.
- virtual void DrawPressed(gfx::Canvas* canvas);
- virtual void DrawIcon(gfx::Canvas* canvas);
+ virtual int icon_width() { return 26; }
private:
// views::ViewMenuDelegate implementation.
virtual void RunMenu(views::View* source, const gfx::Point& pt);
- // This method will draw the |icon| in the appropriate place on the |canvas|.
- void DrawPowerIcon(gfx::Canvas* canvas, SkBitmap icon);
-
// Update the power icon and menu label info depending on the power status.
void UpdateIconAndLabelInfo();
« no previous file with comments | « chrome/browser/chromeos/status/network_menu_button.cc ('k') | chrome/browser/chromeos/status/power_menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698