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

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

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove junk from list_model.h Created 7 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
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 Profile; 12 class Profile;
13 13
14 namespace base {
15 class FilePath;
16 }
17
14 namespace extensions { 18 namespace extensions {
15 class Extension; 19 class Extension;
16 } 20 }
17 21
18 namespace gfx { 22 namespace gfx {
19 class ImageSkia; 23 class ImageSkia;
20 } 24 }
21 25
22 // Interface to allow the view delegate to call out to whatever is controlling 26 // Interface to allow the view delegate to call out to whatever is controlling
23 // the app list. This will have different implementations for different 27 // the app list. This will have different implementations for different
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Show the app's most recent window, or launch it if it is not running. 67 // Show the app's most recent window, or launch it if it is not running.
64 virtual void ActivateApp(Profile* profile, 68 virtual void ActivateApp(Profile* profile,
65 const extensions::Extension* extension, 69 const extensions::Extension* extension,
66 int event_flags) = 0; 70 int event_flags) = 0;
67 71
68 // Launch the app. 72 // Launch the app.
69 virtual void LaunchApp(Profile* profile, 73 virtual void LaunchApp(Profile* profile,
70 const extensions::Extension* extension, 74 const extensions::Extension* extension,
71 int event_flags) = 0; 75 int event_flags) = 0;
72 76
77 // Show the app list for the profile specified by |profile_path|.
78 virtual void ShowForProfileByPath(const base::FilePath& profile_path) = 0;
79
73 // Whether or not the icon indicating which user is logged in should be 80 // Whether or not the icon indicating which user is logged in should be
74 // visible. 81 // visible.
75 virtual bool ShouldShowUserIcon(); 82 virtual bool ShouldShowUserIcon();
76 }; 83 };
77 84
78 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 85 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698