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

Unified Diff: chrome/browser/ui/views/aura/status_area_host_aura.h

Issue 8605006: Relands: Fixes bug where clock button wasn't updating in response to a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Da fix Created 9 years, 1 month 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/ui/views/aura/status_area_host_aura.h
diff --git a/chrome/browser/ui/views/aura/status_area_host_aura.h b/chrome/browser/ui/views/aura/status_area_host_aura.h
index 20700be045d128421a119f27a9ef8ebe20522939..5a456704c2226e3a0799bd347c60872ce2600e2d 100644
--- a/chrome/browser/ui/views/aura/status_area_host_aura.h
+++ b/chrome/browser/ui/views/aura/status_area_host_aura.h
@@ -10,14 +10,20 @@
#include "chrome/browser/chromeos/status/status_area_button.h"
class StatusAreaView;
+class TimezoneClockUpdater;
namespace views {
+class Views;
class Widget;
}
class StatusAreaHostAura : public StatusAreaButton::Delegate {
public:
StatusAreaHostAura();
+ virtual ~StatusAreaHostAura();
+
+ // Returns the view housing the status area. Exposed for testing.
+ const views::View* GetStatusArea() const;
// Instantiates and sets |status_area_view_|, and sets it as the contents of
// a new views::Widget |status_area_widget_| which is returned.
@@ -39,6 +45,10 @@ class StatusAreaHostAura : public StatusAreaButton::Delegate {
// Owned by status_area_widget_.
StatusAreaView* status_area_view_;
+#if defined(OS_CHROMEOS)
+ scoped_ptr<TimezoneClockUpdater> timezone_clock_updater_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(StatusAreaHostAura);
};
« no previous file with comments | « chrome/browser/ui/views/aura/chrome_shell_delegate.cc ('k') | chrome/browser/ui/views/aura/status_area_host_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698