diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 20:59:27 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-27 20:59:27 +0000 |
commit | bfb411316d5d6f6a29e01a88f7a94b545b827776 (patch) | |
tree | 99c45616a22f3cb190dd7f068edfdd8941e6d524 /ash/shell_delegate.h | |
parent | bdb730765e736232e1f69a908bbeee3b54393934 (diff) | |
download | chromium_src-bfb411316d5d6f6a29e01a88f7a94b545b827776.zip chromium_src-bfb411316d5d6f6a29e01a88f7a94b545b827776.tar.gz chromium_src-bfb411316d5d6f6a29e01a88f7a94b545b827776.tar.bz2 |
ash: A first step for the uber tray.
As a first step, there are items to open settings, help pages, and an item to
allow [un]muting volume.
The resources have not been uploaded yet. That will be done in a separate CL to
allow this one to go through trybots etc.
This new uber-tray can be turned on at runtime using --ash-uber-tray flag.
BUG=110130
TEST=none yet. will be added when a little more fleshed out.
Review URL: https://chromiumcodereview.appspot.com/9463039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index d4d5f44..55b1a68 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -28,6 +28,7 @@ class LauncherDelegate; class LauncherModel; struct LauncherItem; class ScreenshotDelegate; +class SystemTrayDelegate; // Delegate of the Shell. class ASH_EXPORT ShellDelegate { @@ -84,6 +85,9 @@ class ASH_EXPORT ShellDelegate { // value. virtual LauncherDelegate* CreateLauncherDelegate( ash::LauncherModel* model) = 0; + + // Creates a system-tray delegate. Shell takes ownership of the delegate. + virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; }; } // namespace ash |