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

Side by Side Diff: chrome/browser/ui/app_list/app_list_controller_delegate.h

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: respond to comments Created 7 years, 11 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 class FilePath;
xiyuan 2013/01/23 00:09:33 nit: seems not used
koz (OOO until 15th September) 2013/01/23 00:16:43 Done.
12 class Profile; 13 class Profile;
13 14
14 namespace extensions { 15 namespace extensions {
15 class Extension; 16 class Extension;
16 } 17 }
17 18
18 // Interface to allow the view delegate to call out to whatever is controlling 19 // Interface to allow the view delegate to call out to whatever is controlling
19 // the app list. This will have different implementations for different 20 // the app list. This will have different implementations for different
20 // platforms. 21 // platforms.
21 class AppListControllerDelegate { 22 class AppListControllerDelegate {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const extensions::Extension* extension, 59 const extensions::Extension* extension,
59 int event_flags) = 0; 60 int event_flags) = 0;
60 61
61 // Launch the app. 62 // Launch the app.
62 virtual void LaunchApp(Profile* profile, 63 virtual void LaunchApp(Profile* profile,
63 const extensions::Extension* extension, 64 const extensions::Extension* extension,
64 int event_flags) = 0; 65 int event_flags) = 0;
65 }; 66 };
66 67
67 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 68 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698