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

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

Issue 8930001: Fix up status area clock code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 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
Index: chrome/browser/chromeos/status/status_area_button.h
diff --git a/chrome/browser/chromeos/status/status_area_button.h b/chrome/browser/chromeos/status/status_area_button.h
index 1d5eaa8e9fdd931c2bbf132898a4eb4daef8c9a6..67e4d403cac3b27b687ea003de4194cba1bc2b07 100644
--- a/chrome/browser/chromeos/status/status_area_button.h
+++ b/chrome/browser/chromeos/status/status_area_button.h
@@ -74,7 +74,10 @@ class StatusAreaButton : public views::MenuButton {
virtual void SetVisible(bool visible) OVERRIDE;
virtual bool HitTest(const gfx::Point& l) const OVERRIDE;
- void set_menu_active(bool active) { menu_active_ = active; }
+ // Sets menu_active_. Override this to perform additional actions when
+ // menus are activated.
+ virtual void SetMenuActive(bool active);
+
bool menu_active() const { return menu_active_; }
protected:

Powered by Google App Engine
This is Rietveld 408576698