Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1399)

Side by Side Diff: ash/shell_delegate.h

Issue 11082002: Remove TOGGLE_MAXIMIZED_* from Ash reserved actions list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix AcceleratorControllerTest.WindowSnap Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 // When in fullscreen mode, it gets out of fullscreen.
95 virtual void ToggleMaximized() = 0;
96
93 // Invoked when the user uses Ctrl-M or Ctrl-O to open file manager. 97 // Invoked when the user uses Ctrl-M or Ctrl-O to open file manager.
94 virtual void OpenFileManager(bool as_dialog) = 0; 98 virtual void OpenFileManager(bool as_dialog) = 0;
95 99
96 // Invoked when the user opens Crosh. 100 // Invoked when the user opens Crosh.
97 virtual void OpenCrosh() = 0; 101 virtual void OpenCrosh() = 0;
98 102
99 // Invoked when the user needs to set up mobile networking. 103 // Invoked when the user needs to set up mobile networking.
100 virtual void OpenMobileSetup(const std::string& service_path) = 0; 104 virtual void OpenMobileSetup(const std::string& service_path) = 0;
101 105
102 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. 106 // 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
167 virtual void SaveScreenMagnifierScale(double scale) = 0; 171 virtual void SaveScreenMagnifierScale(double scale) = 0;
168 172
169 // Gets a saved value of the zoom scale of full screen magnifier. If a value 173 // Gets a saved value of the zoom scale of full screen magnifier. If a value
170 // is not saved, return a negative value. 174 // is not saved, return a negative value.
171 virtual double GetSavedScreenMagnifierScale() = 0; 175 virtual double GetSavedScreenMagnifierScale() = 0;
172 }; 176 };
173 177
174 } // namespace ash 178 } // namespace ash
175 179
176 #endif // ASH_SHELL_DELEGATE_H_ 180 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698