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

Unified Diff: chrome/browser/ui/views/aura/chrome_shell_delegate.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/chrome_shell_delegate.h
diff --git a/chrome/browser/ui/views/aura/chrome_shell_delegate.h b/chrome/browser/ui/views/aura/chrome_shell_delegate.h
index a59a4d50258b82401af28396dc73fa40961df894..97528036b809f470244e6d86abcaf5ea164002c5 100644
--- a/chrome/browser/ui/views/aura/chrome_shell_delegate.h
+++ b/chrome/browser/ui/views/aura/chrome_shell_delegate.h
@@ -12,14 +12,22 @@
#include "ui/aura_shell/launcher/launcher_types.h"
#include "ui/aura_shell/shell_delegate.h"
-class StatusAreaHostAura;
class Browser;
+class StatusAreaHostAura;
+
+namespace views {
+class View;
+}
class ChromeShellDelegate : public aura_shell::ShellDelegate {
public:
ChromeShellDelegate();
virtual ~ChromeShellDelegate();
+ static ChromeShellDelegate* instance() { return instance_; }
+
+ const views::View* GetStatusArea() const;
+
// Returns whether a launcher item should be created for |browser|. If an item
// should be created |type| is set to the launcher type to create.
static bool ShouldCreateLauncherItemForBrowser(
@@ -35,6 +43,8 @@ class ChromeShellDelegate : public aura_shell::ShellDelegate {
virtual bool ConfigureLauncherItem(aura_shell::LauncherItem* item) OVERRIDE;
private:
+ static ChromeShellDelegate* instance_;
+
scoped_ptr<StatusAreaHostAura> status_area_host_;
DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate);
« no previous file with comments | « chrome/browser/chromeos/status/timezone_clock_updater.cc ('k') | chrome/browser/ui/views/aura/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698