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 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 // Invoked when the user uses Ctrl-Shift-Q to close chrome. | 84 // Invoked when the user uses Ctrl-Shift-Q to close chrome. |
85 virtual void Exit() = 0; | 85 virtual void Exit() = 0; |
86 | 86 |
87 // Invoked when the user uses Ctrl+T to open a new tab. | 87 // Invoked when the user uses Ctrl+T to open a new tab. |
88 virtual void NewTab() = 0; | 88 virtual void NewTab() = 0; |
89 | 89 |
90 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. | 90 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. |
91 virtual void NewWindow(bool incognito) = 0; | 91 virtual void NewWindow(bool incognito) = 0; |
92 | 92 |
| 93 // Invoked when the user uses F4 to toggle window maximized state. |
| 94 virtual void ToggleMaximized() = 0; |
| 95 |
93 // Invoked when the user uses Ctrl-M or Ctrl-O to open file manager. | 96 // Invoked when the user uses Ctrl-M or Ctrl-O to open file manager. |
94 virtual void OpenFileManager(bool as_dialog) = 0; | 97 virtual void OpenFileManager(bool as_dialog) = 0; |
95 | 98 |
96 // Invoked when the user opens Crosh. | 99 // Invoked when the user opens Crosh. |
97 virtual void OpenCrosh() = 0; | 100 virtual void OpenCrosh() = 0; |
98 | 101 |
99 // Invoked when the user needs to set up mobile networking. | 102 // Invoked when the user needs to set up mobile networking. |
100 virtual void OpenMobileSetup(const std::string& service_path) = 0; | 103 virtual void OpenMobileSetup(const std::string& service_path) = 0; |
101 | 104 |
102 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. | 105 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 virtual void SaveScreenMagnifierScale(double scale) = 0; | 170 virtual void SaveScreenMagnifierScale(double scale) = 0; |
168 | 171 |
169 // Gets a saved value of the zoom scale of full screen magnifier. If a value | 172 // Gets a saved value of the zoom scale of full screen magnifier. If a value |
170 // is not saved, return a negative value. | 173 // is not saved, return a negative value. |
171 virtual double GetSavedScreenMagnifierScale() = 0; | 174 virtual double GetSavedScreenMagnifierScale() = 0; |
172 }; | 175 }; |
173 | 176 |
174 } // namespace ash | 177 } // namespace ash |
175 | 178 |
176 #endif // ASH_SHELL_DELEGATE_H_ | 179 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |