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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 182 |
183 // Gets a saved value of the zoom scale of full screen magnifier. If a value | 183 // Gets a saved value of the zoom scale of full screen magnifier. If a value |
184 // is not saved, return a negative value. | 184 // is not saved, return a negative value. |
185 virtual double GetSavedScreenMagnifierScale() = 0; | 185 virtual double GetSavedScreenMagnifierScale() = 0; |
186 | 186 |
187 // Creates a menu model of the context for the |root_window|. | 187 // Creates a menu model of the context for the |root_window|. |
188 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; | 188 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; |
189 | 189 |
190 // Creates the stacking client. Shell takes ownership of the object. | 190 // Creates the stacking client. Shell takes ownership of the object. |
191 virtual aura::client::StackingClient* CreateStackingClient() = 0; | 191 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
| 192 |
| 193 // True if the user's preferences have the Search key acting as a Function key |
| 194 // modifier for accessing extended keyboard shortcuts. |
| 195 virtual bool IsSearchKeyActingAsFunctionKey() const = 0; |
192 }; | 196 }; |
193 | 197 |
194 } // namespace ash | 198 } // namespace ash |
195 | 199 |
196 #endif // ASH_SHELL_DELEGATE_H_ | 200 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |