diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 04:13:30 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 04:13:30 +0000 |
commit | fca90ea83b9eb992c8753544c91696344d345ff0 (patch) | |
tree | a33966779edba19bac12eb8c6798c6f577cff4b4 /ash/shell_delegate.h | |
parent | ae1134914df8824d2c4af4efc0f1711dfe27eb76 (diff) | |
download | chromium_src-fca90ea83b9eb992c8753544c91696344d345ff0.zip chromium_src-fca90ea83b9eb992c8753544c91696344d345ff0.tar.gz chromium_src-fca90ea83b9eb992c8753544c91696344d345ff0.tar.bz2 |
ash: Add RootWindowHostFactory class.
This provides a mechanism for creating a RootWindowHost to use in place
of the default one that aura::RootWindow will create. This is exposed
to consumers of ash through the addition of the CreateRootWindowHostFactory
function to the ShellDelegate interface.
BUG=124444
TEST=ash_unittests
Review URL: https://chromiumcodereview.appspot.com/11360045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173080 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index 96064e5..e6fc43f 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -41,6 +41,7 @@ class CapsLockDelegate; class LauncherDelegate; class LauncherModel; struct LauncherItem; +class RootWindowHostFactory; class SystemTrayDelegate; class UserWallpaperDelegate; @@ -218,6 +219,10 @@ class ASH_EXPORT ShellDelegate { // True if the user's preferences have the Search key acting as a Function key // modifier for accessing extended keyboard shortcuts. virtual bool IsSearchKeyActingAsFunctionKey() const = 0; + + // Creates a root window host factory. Shell takes ownership of the returned + // value. + virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; }; } // namespace ash |