diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 03:12:12 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-20 03:12:12 +0000 |
commit | cae97656821756121ae569faa1100963c8b5d4d2 (patch) | |
tree | 244ffc6a91916c8f81889deec8e3aa6090fb3227 /ash/shell_delegate.h | |
parent | 9bbb5c279cb33ee4ce45c8fe0c03e022f158a159 (diff) | |
download | chromium_src-cae97656821756121ae569faa1100963c8b5d4d2.zip chromium_src-cae97656821756121ae569faa1100963c8b5d4d2.tar.gz chromium_src-cae97656821756121ae569faa1100963c8b5d4d2.tar.bz2 |
Move a lot of ChromeOS stuff out of Browser and onto various Ash-related helpers.
BUG=none
TEST=none
TBR=davemoore
Review URL: https://chromiumcodereview.appspot.com/10035061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133138 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell_delegate.h')
-rw-r--r-- | ash/shell_delegate.h | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h index bf687fd..0a86aa3 100644 --- a/ash/shell_delegate.h +++ b/ash/shell_delegate.h @@ -50,15 +50,27 @@ class ASH_EXPORT ShellDelegate { // Returns true if the screen is currently locked. virtual bool IsScreenLocked() const = 0; - // Invoked when a user uses Ctrl-M to open file manager. - virtual void OpenFileManager() = 0; + // Shuts down the environment. + virtual void Shutdown() = 0; - // Invoked when a user uses Ctrl-Shift-Q to close chrome. + // Invoked when the user uses Ctrl-Shift-Q to close chrome. virtual void Exit() = 0; - // Invoked when a user uses Ctrl-N or Ctrl-Shift-N to open a new window. + // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. virtual void NewWindow(bool incognito) = 0; + // Invoked when the user presses the Search key. + virtual void Search() = 0; + + // Invoked when the user uses Ctrl-M to open file manager. + virtual void OpenFileManager() = 0; + + // Invoked when the user opens Crosh. + virtual void OpenCrosh() = 0; + + // Invoked when the user needs to set up mobile networking. + virtual void OpenMobileSetup() = 0; + // Invoked to create an AppListViewDelegate. Shell takes the ownership of // the created delegate. virtual AppListViewDelegate* CreateAppListViewDelegate() = 0; |