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); |