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

Side by Side Diff: ash/shell_delegate.h

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 months 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/DEPS » ('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 <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 24 matching lines...) Expand all
35 35
36 namespace keyboard { 36 namespace keyboard {
37 class KeyboardControllerProxy; 37 class KeyboardControllerProxy;
38 } 38 }
39 39
40 namespace ash { 40 namespace ash {
41 41
42 class AccessibilityDelegate; 42 class AccessibilityDelegate;
43 class MediaDelegate; 43 class MediaDelegate;
44 class NewWindowDelegate; 44 class NewWindowDelegate;
45 class WindowTreeHostFactory;
46 class SessionStateDelegate; 45 class SessionStateDelegate;
47 class ShelfDelegate; 46 class ShelfDelegate;
48 class ShelfItemDelegate; 47 class ShelfItemDelegate;
49 class ShelfModel; 48 class ShelfModel;
50 class SystemTrayDelegate; 49 class SystemTrayDelegate;
51 class UserWallpaperDelegate; 50 class UserWallpaperDelegate;
52 struct ShelfItem; 51 struct ShelfItem;
53 52
54 class ASH_EXPORT VirtualKeyboardStateObserver { 53 class ASH_EXPORT VirtualKeyboardStateObserver {
55 public: 54 public:
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 virtual MediaDelegate* CreateMediaDelegate() = 0; 138 virtual MediaDelegate* CreateMediaDelegate() = 0;
140 139
141 // Creates a menu model of the context for the |root_window|. 140 // Creates a menu model of the context for the |root_window|.
142 // When a ContextMenu is used for an item created by ShelfWindowWatcher, 141 // When a ContextMenu is used for an item created by ShelfWindowWatcher,
143 // passes its ShelfItemDelegate and ShelfItem. 142 // passes its ShelfItemDelegate and ShelfItem.
144 virtual ui::MenuModel* CreateContextMenu( 143 virtual ui::MenuModel* CreateContextMenu(
145 aura::Window* root_window, 144 aura::Window* root_window,
146 ash::ShelfItemDelegate* item_delegate, 145 ash::ShelfItemDelegate* item_delegate,
147 ash::ShelfItem* item) = 0; 146 ash::ShelfItem* item) = 0;
148 147
149 // Creates a root window host factory. Shell takes ownership of the returned
150 // value.
151 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0;
152
153 // Creates a GPU support object. Shell takes ownership of the object. 148 // Creates a GPU support object. Shell takes ownership of the object.
154 virtual GPUSupport* CreateGPUSupport() = 0; 149 virtual GPUSupport* CreateGPUSupport() = 0;
155 150
156 // Get the product name. 151 // Get the product name.
157 virtual base::string16 GetProductName() const = 0; 152 virtual base::string16 GetProductName() const = 0;
158 }; 153 };
159 154
160 } // namespace ash 155 } // namespace ash
161 156
162 #endif // ASH_SHELL_DELEGATE_H_ 157 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698