| 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" |
| 11 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 | 15 |
| 16 namespace app_list { | 16 namespace app_list { |
| 17 class AppListViewDelegate; | 17 class AppListViewDelegate; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace aura { | 20 namespace aura { |
| 21 class RootWindow; | 21 class RootWindow; |
| 22 class Window; | 22 class Window; |
| 23 namespace client { | 23 namespace client { |
| 24 class StackingClient; |
| 24 class UserActionClient; | 25 class UserActionClient; |
| 25 } | 26 } |
| 26 } | 27 } |
| 27 | 28 |
| 28 namespace ui { | 29 namespace ui { |
| 29 class MenuModel; | 30 class MenuModel; |
| 30 } | 31 } |
| 31 | 32 |
| 32 namespace views { | 33 namespace views { |
| 33 class Widget; | 34 class Widget; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 175 |
| 175 // Saves the zoom scale of the full screen magnifier. | 176 // Saves the zoom scale of the full screen magnifier. |
| 176 virtual void SaveScreenMagnifierScale(double scale) = 0; | 177 virtual void SaveScreenMagnifierScale(double scale) = 0; |
| 177 | 178 |
| 178 // Gets a saved value of the zoom scale of full screen magnifier. If a value | 179 // Gets a saved value of the zoom scale of full screen magnifier. If a value |
| 179 // is not saved, return a negative value. | 180 // is not saved, return a negative value. |
| 180 virtual double GetSavedScreenMagnifierScale() = 0; | 181 virtual double GetSavedScreenMagnifierScale() = 0; |
| 181 | 182 |
| 182 // Creates a menu model of the context for the |root_window|. | 183 // Creates a menu model of the context for the |root_window|. |
| 183 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; | 184 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; |
| 185 |
| 186 // Creates the stacking client. Shell takes ownership of the object. |
| 187 virtual aura::client::StackingClient* CreateStackingClient() = 0; |
| 184 }; | 188 }; |
| 185 | 189 |
| 186 } // namespace ash | 190 } // namespace ash |
| 187 | 191 |
| 188 #endif // ASH_SHELL_DELEGATE_H_ | 192 #endif // ASH_SHELL_DELEGATE_H_ |
| OLD | NEW |