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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // Gets a saved value of the zoom scale of full screen magnifier. If a value | 222 // Gets a saved value of the zoom scale of full screen magnifier. If a value |
223 // is not saved, return a negative value. | 223 // is not saved, return a negative value. |
224 virtual double GetSavedScreenMagnifierScale() = 0; | 224 virtual double GetSavedScreenMagnifierScale() = 0; |
225 | 225 |
226 // Creates a menu model of the context for the |root_window|. | 226 // Creates a menu model of the context for the |root_window|. |
227 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; | 227 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; |
228 | 228 |
229 // Creates a root window host factory. Shell takes ownership of the returned | 229 // Creates a root window host factory. Shell takes ownership of the returned |
230 // value. | 230 // value. |
231 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; | 231 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0; |
| 232 |
| 233 // Get the product name. |
| 234 virtual string16 GetProductName() const = 0; |
232 }; | 235 }; |
233 | 236 |
234 } // namespace ash | 237 } // namespace ash |
235 | 238 |
236 #endif // ASH_SHELL_DELEGATE_H_ | 239 #endif // ASH_SHELL_DELEGATE_H_ |
OLD | NEW |