| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // Gets a saved value of the zoom scale of full screen magnifier. If a value | 209 // Gets a saved value of the zoom scale of full screen magnifier. If a value |
| 210 // is not saved, return a negative value. | 210 // is not saved, return a negative value. |
| 211 virtual double GetSavedScreenMagnifierScale() = 0; | 211 virtual double GetSavedScreenMagnifierScale() = 0; |
| 212 | 212 |
| 213 // Creates a menu model of the context for the |root_window|. | 213 // Creates a menu model of the context for the |root_window|. |
| 214 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; | 214 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; |
| 215 | 215 |
| 216 // Creates the stacking client. Shell takes ownership of the object. | 216 // Creates the stacking client. Shell takes ownership of the object. |
| 217 virtual aura::client::StackingClient* CreateStackingClient() = 0; | 217 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
| 218 | 218 |
| 219 // True if the user's preferences have the Search key acting as a Function key | |
| 220 // modifier for accessing extended keyboard shortcuts. | |
| 221 virtual bool IsSearchKeyActingAsFunctionKey() const = 0; | |
| 222 | |
| 223 // Creates a root window host factory. Shell takes ownership of the returned | 219 // Creates a root window host factory. Shell takes ownership of the returned |
| 224 // value. | 220 // value. |
| 225 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 221 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
| 226 }; | 222 }; |
| 227 | 223 |
| 228 } // namespace ash | 224 } // namespace ash |
| 229 | 225 |
| 230 #endif // ASH_SHELL_DELEGATE_H_ | 226 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |