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

Side by Side Diff: ash/shell_delegate.h

Issue 42353002: Introduce WindowStateDelegate::ToggleFullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Invoked when the user uses Ctrl-Shift-Q to close chrome. 128 // Invoked when the user uses Ctrl-Shift-Q to close chrome.
129 virtual void Exit() = 0; 129 virtual void Exit() = 0;
130 130
131 // Invoked when the user uses Ctrl+T to open a new tab. 131 // Invoked when the user uses Ctrl+T to open a new tab.
132 virtual void NewTab() = 0; 132 virtual void NewTab() = 0;
133 133
134 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window. 134 // Invoked when the user uses Ctrl-N or Ctrl-Shift-N to open a new window.
135 virtual void NewWindow(bool incognito) = 0; 135 virtual void NewWindow(bool incognito) = 0;
136 136
137 // Invoked when the user uses Shift+F4 to toggle the window fullscreen state.
138 virtual void ToggleFullscreen() = 0;
139
140 // Invoked when an accelerator is used to open the file manager. 137 // Invoked when an accelerator is used to open the file manager.
141 virtual void OpenFileManager() = 0; 138 virtual void OpenFileManager() = 0;
142 139
143 // Invoked when the user opens Crosh. 140 // Invoked when the user opens Crosh.
144 virtual void OpenCrosh() = 0; 141 virtual void OpenCrosh() = 0;
145 142
146 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab. 143 // Invoked when the user uses Shift+Ctrl+T to restore the closed tab.
147 virtual void RestoreTab() = 0; 144 virtual void RestoreTab() = 0;
148 145
149 // Shows the keyboard shortcut overlay. 146 // Shows the keyboard shortcut overlay.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // value. 205 // value.
209 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; 206 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
210 207
211 // Get the product name. 208 // Get the product name.
212 virtual base::string16 GetProductName() const = 0; 209 virtual base::string16 GetProductName() const = 0;
213 }; 210 };
214 211
215 } // namespace ash 212 } // namespace ash
216 213
217 #endif // ASH_SHELL_DELEGATE_H_ 214 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/wm/window_properties.h » ('j') | ash/wm/window_state.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698