diff options
Diffstat (limited to 'chrome/browser/chromeos/status/power_menu_button.h')
-rw-r--r-- | chrome/browser/chromeos/status/power_menu_button.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/status/power_menu_button.h b/chrome/browser/chromeos/status/power_menu_button.h index 1828f1f..0a0c98d 100644 --- a/chrome/browser/chromeos/status/power_menu_button.h +++ b/chrome/browser/chromeos/status/power_menu_button.h @@ -48,12 +48,16 @@ class PowerMenuButton : public StatusAreaButton, protected: // StatusAreaButton implementation. + virtual void DrawPressed(gfx::Canvas* canvas); virtual void DrawIcon(gfx::Canvas* canvas); 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 depending on the power status. void UpdateIcon(); |