| Index: chrome/browser/chromeos/status_area_button.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/status_area_button.h (revision 30284)
|
| +++ chrome/browser/chromeos/status_area_button.h (working copy)
|
| @@ -12,9 +12,17 @@
|
| // Shows current button state by drawing a border around the current icon.
|
| class StatusAreaButton : public views::MenuButton {
|
| public:
|
| - StatusAreaButton(views::ViewMenuDelegate* menu_delegate);
|
| + explicit StatusAreaButton(views::ViewMenuDelegate* menu_delegate);
|
| virtual ~StatusAreaButton() {}
|
| virtual void Paint(gfx::Canvas* canvas, bool for_drag);
|
| +
|
| + protected:
|
| + // Draws the icon for this status area button on the canvas.
|
| + // Subclasses should override this method if they need to draw their own icon.
|
| + // Otherwise, just call SetIcon() and the it will be handled for you.
|
| + virtual void DrawIcon(gfx::Canvas* canvas);
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(StatusAreaButton);
|
| };
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_STATUS_AREA_BUTTON_H_
|
|
|
| Property changes on: chrome/browser/chromeos/status_area_button.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|