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

Side by Side Diff: ash/shell_delegate.h

Issue 11364053: make StackingClient dispatch to either ash or desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + disable prerender tests on win-aura Created 8 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <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
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_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698