OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_SHELL_DELEGATE_H_ | 5 #ifndef ASH_SHELL_DELEGATE_H_ |
6 #define ASH_SHELL_DELEGATE_H_ | 6 #define ASH_SHELL_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Invoked when the user uses Ctrl-Shift-Q to close chrome. | 62 // Invoked when the user uses Ctrl-Shift-Q to close chrome. |
63 virtual void Exit() = 0; | 63 virtual void Exit() = 0; |
64 | 64 |
65 // Invoked when the user uses Ctrl+T to open a new tab. | 65 // Invoked when the user uses Ctrl+T to open a new tab. |
66 virtual void NewTab() = 0; | 66 virtual void NewTab() = 0; |
67 | 67 |
68 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. | 68 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. |
69 virtual void NewWindow(bool incognito) = 0; | 69 virtual void NewWindow(bool incognito) = 0; |
70 | 70 |
71 // Invoked when the user presses the Search key. | |
72 virtual void Search() = 0; | |
73 | |
74 // Invoked when the user uses Ctrl-M to open file manager. | 71 // Invoked when the user uses Ctrl-M to open file manager. |
75 virtual void OpenFileManager() = 0; | 72 virtual void OpenFileManager() = 0; |
76 | 73 |
77 // Invoked when the user opens Crosh. | 74 // Invoked when the user opens Crosh. |
78 virtual void OpenCrosh() = 0; | 75 virtual void OpenCrosh() = 0; |
79 | 76 |
80 // Invoked when the user needs to set up mobile networking. | 77 // Invoked when the user needs to set up mobile networking. |
81 virtual void OpenMobileSetup(const std::string& service_path) = 0; | 78 virtual void OpenMobileSetup(const std::string& service_path) = 0; |
82 | 79 |
83 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. | 80 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. | 112 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. |
116 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; | 113 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; |
117 | 114 |
118 // Creates a user action client. Shell takes ownership of the object. | 115 // Creates a user action client. Shell takes ownership of the object. |
119 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; | 116 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; |
120 }; | 117 }; |
121 | 118 |
122 } // namespace ash | 119 } // namespace ash |
123 | 120 |
124 #endif // ASH_SHELL_DELEGATE_H_ | 121 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |