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

Side by Side Diff: ash/shell_delegate.h

Issue 10803037: [WIP] ash/extensions: Add experimental extension support for window-management in ash. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-152100 Created 8 years, 4 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.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 17 matching lines...) Expand all
28 } 28 }
29 29
30 namespace ash { 30 namespace ash {
31 31
32 class LauncherDelegate; 32 class LauncherDelegate;
33 class LauncherModel; 33 class LauncherModel;
34 struct LauncherItem; 34 struct LauncherItem;
35 class SystemTray; 35 class SystemTray;
36 class SystemTrayDelegate; 36 class SystemTrayDelegate;
37 class UserWallpaperDelegate; 37 class UserWallpaperDelegate;
38 class WindowManagerExtensionDelegate;
38 39
39 enum UserMetricsAction { 40 enum UserMetricsAction {
40 UMA_ACCEL_NEWTAB_T, 41 UMA_ACCEL_NEWTAB_T,
41 UMA_ACCEL_NEXTWINDOW_F5, 42 UMA_ACCEL_NEXTWINDOW_F5,
42 UMA_ACCEL_NEXTWINDOW_TAB, 43 UMA_ACCEL_NEXTWINDOW_TAB,
43 UMA_ACCEL_PREVWINDOW_F5, 44 UMA_ACCEL_PREVWINDOW_F5,
44 UMA_ACCEL_PREVWINDOW_TAB, 45 UMA_ACCEL_PREVWINDOW_TAB,
45 UMA_ACCEL_SEARCH_LWIN, 46 UMA_ACCEL_SEARCH_LWIN,
46 UMA_LAUNCHER_CLICK_ON_APP, 47 UMA_LAUNCHER_CLICK_ON_APP,
47 UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON, 48 UMA_LAUNCHER_CLICK_ON_APPLIST_BUTTON,
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 126
126 // Creates a system-tray delegate. Shell takes ownership of the delegate. 127 // Creates a system-tray delegate. Shell takes ownership of the delegate.
127 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0; 128 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* tray) = 0;
128 129
129 // Creates a user wallpaper delegate. Shell takes ownership of the delegate. 130 // Creates a user wallpaper delegate. Shell takes ownership of the delegate.
130 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0; 131 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() = 0;
131 132
132 // Creates a user action client. Shell takes ownership of the object. 133 // Creates a user action client. Shell takes ownership of the object.
133 virtual aura::client::UserActionClient* CreateUserActionClient() = 0; 134 virtual aura::client::UserActionClient* CreateUserActionClient() = 0;
134 135
136 virtual ash::WindowManagerExtensionDelegate*
137 CreateWindowManagerDelegate() = 0;
138
135 // Opens the feedback page for "Report Issue". 139 // Opens the feedback page for "Report Issue".
136 virtual void OpenFeedbackPage() = 0; 140 virtual void OpenFeedbackPage() = 0;
137 141
138 // Records that the user performed an action. 142 // Records that the user performed an action.
139 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0; 143 virtual void RecordUserMetricsAction(UserMetricsAction action) = 0;
140 }; 144 };
141 145
142 } // namespace ash 146 } // namespace ash
143 147
144 #endif // ASH_SHELL_DELEGATE_H_ 148 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698