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

Side by Side Diff: ash/shell_delegate.h

Issue 152223002: Renames LauncherID, LauncherItem and LauncherItems... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS Created 6 years, 10 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/window_watcher_shelf_item_delegate.cc ('k') | ash/test/test_shelf_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 <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class CapsLockDelegate; 46 class CapsLockDelegate;
47 class MediaDelegate; 47 class MediaDelegate;
48 class NewWindowDelegate; 48 class NewWindowDelegate;
49 class WindowTreeHostFactory; 49 class WindowTreeHostFactory;
50 class SessionStateDelegate; 50 class SessionStateDelegate;
51 class ShelfDelegate; 51 class ShelfDelegate;
52 class ShelfItemDelegate; 52 class ShelfItemDelegate;
53 class ShelfModel; 53 class ShelfModel;
54 class SystemTrayDelegate; 54 class SystemTrayDelegate;
55 class UserWallpaperDelegate; 55 class UserWallpaperDelegate;
56 struct LauncherItem; 56 struct ShelfItem;
57 57
58 // Delegate of the Shell. 58 // Delegate of the Shell.
59 class ASH_EXPORT ShellDelegate { 59 class ASH_EXPORT ShellDelegate {
60 public: 60 public:
61 // The Shell owns the delegate. 61 // The Shell owns the delegate.
62 virtual ~ShellDelegate() {} 62 virtual ~ShellDelegate() {}
63 63
64 // Returns true if this is the first time that the shell has been run after 64 // Returns true if this is the first time that the shell has been run after
65 // the system has booted. false is returned after the shell has been 65 // the system has booted. false is returned after the shell has been
66 // restarted, typically due to logging in as a guest or logging out. 66 // restarted, typically due to logging in as a guest or logging out.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual NewWindowDelegate* CreateNewWindowDelegate() = 0; 121 virtual NewWindowDelegate* CreateNewWindowDelegate() = 0;
122 122
123 // Creates a media delegate. Shell takes ownership of the delegate. 123 // Creates a media delegate. Shell takes ownership of the delegate.
124 virtual MediaDelegate* CreateMediaDelegate() = 0; 124 virtual MediaDelegate* CreateMediaDelegate() = 0;
125 125
126 // Creates a user action client. Shell takes ownership of the object. 126 // Creates a user action client. Shell takes ownership of the object.
127 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; 127 virtual aura::client::UserActionClient* CreateUserActionClient() = 0;
128 128
129 // Creates a menu model of the context for the |root_window|. 129 // Creates a menu model of the context for the |root_window|.
130 // When a ContextMenu is used for an item created by ShelfWindowWatcher, 130 // When a ContextMenu is used for an item created by ShelfWindowWatcher,
131 // passes its ShelfItemDelegate and LauncherItem. 131 // passes its ShelfItemDelegate and ShelfItem.
132 virtual ui::MenuModel* CreateContextMenu( 132 virtual ui::MenuModel* CreateContextMenu(
133 aura::Window* root_window, 133 aura::Window* root_window,
134 ash::ShelfItemDelegate* item_delegate, 134 ash::ShelfItemDelegate* item_delegate,
135 ash::LauncherItem* item) = 0; 135 ash::ShelfItem* item) = 0;
136 136
137 // Creates a root window host factory. Shell takes ownership of the returned 137 // Creates a root window host factory. Shell takes ownership of the returned
138 // value. 138 // value.
139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; 139 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0;
140 140
141 // Creates a GPU support object. Shell takes ownership of the object. 141 // Creates a GPU support object. Shell takes ownership of the object.
142 virtual GPUSupport* CreateGPUSupport() = 0; 142 virtual GPUSupport* CreateGPUSupport() = 0;
143 143
144 // Get the product name. 144 // Get the product name.
145 virtual base::string16 GetProductName() const = 0; 145 virtual base::string16 GetProductName() const = 0;
146 }; 146 };
147 147
148 } // namespace ash 148 } // namespace ash
149 149
150 #endif // ASH_SHELL_DELEGATE_H_ 150 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/window_watcher_shelf_item_delegate.cc ('k') | ash/test/test_shelf_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698