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

Side by Side Diff: ash/shell_delegate.h

Issue 11360045: ash: Add RootWindowHostFactory class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unnecessary braces and add missing windows_version.h include. Created 8 years 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"
(...skipping 23 matching lines...) Expand all
34 namespace views { 34 namespace views {
35 class Widget; 35 class Widget;
36 } 36 }
37 37
38 namespace ash { 38 namespace ash {
39 39
40 class CapsLockDelegate; 40 class CapsLockDelegate;
41 class LauncherDelegate; 41 class LauncherDelegate;
42 class LauncherModel; 42 class LauncherModel;
43 struct LauncherItem; 43 struct LauncherItem;
44 class RootWindowHostFactory;
44 class SystemTrayDelegate; 45 class SystemTrayDelegate;
45 class UserWallpaperDelegate; 46 class UserWallpaperDelegate;
46 47
47 enum UserMetricsAction { 48 enum UserMetricsAction {
48 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6, 49 UMA_ACCEL_KEYBOARD_BRIGHTNESS_DOWN_F6,
49 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7, 50 UMA_ACCEL_KEYBOARD_BRIGHTNESS_UP_F7,
50 UMA_ACCEL_MAXIMIZE_RESTORE_F4, 51 UMA_ACCEL_MAXIMIZE_RESTORE_F4,
51 UMA_ACCEL_NEWTAB_T, 52 UMA_ACCEL_NEWTAB_T,
52 UMA_ACCEL_NEXTWINDOW_F5, 53 UMA_ACCEL_NEXTWINDOW_F5,
53 UMA_ACCEL_NEXTWINDOW_TAB, 54 UMA_ACCEL_NEXTWINDOW_TAB,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 206
206 // Creates a menu model of the context for the |root_window|. 207 // Creates a menu model of the context for the |root_window|.
207 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0; 208 virtual ui::MenuModel* CreateContextMenu(aura::RootWindow* root_window) = 0;
208 209
209 // Creates the stacking client. Shell takes ownership of the object. 210 // Creates the stacking client. Shell takes ownership of the object.
210 virtual aura::client::StackingClient* CreateStackingClient() = 0; 211 virtual aura::client::StackingClient* CreateStackingClient() = 0;
211 212
212 // True if the user's preferences have the Search key acting as a Function key 213 // True if the user's preferences have the Search key acting as a Function key
213 // modifier for accessing extended keyboard shortcuts. 214 // modifier for accessing extended keyboard shortcuts.
214 virtual bool IsSearchKeyActingAsFunctionKey() const = 0; 215 virtual bool IsSearchKeyActingAsFunctionKey() const = 0;
216
217 // Creates a root window host factory. Shell takes ownership of the returned
218 // value.
219 virtual RootWindowHostFactory* CreateRootWindowHostFactory() = 0;
215 }; 220 };
216 221
217 } // namespace ash 222 } // namespace ash
218 223
219 #endif // ASH_SHELL_DELEGATE_H_ 224 #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