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

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

Issue 8600001: Fixes bug where clock button wasn't updating in response to a timezone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge and allow NULL 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..615ae5dfb57b2dc6dd4791aa238a83c3b780bdad 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,8 @@ class StatusAreaHostAura : public StatusAreaButton::Delegate {
// Owned by status_area_widget_.
StatusAreaView* status_area_view_;
+ scoped_ptr<TimezoneClockUpdater> timezone_clock_updater_;
+
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