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

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: rework Created 7 years, 5 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"
(...skipping 52 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. 63 // Show the app's most recent window, or launch it if it is not running.
64 virtual void ActivateApp(Profile* profile, 64 virtual void ActivateApp(Profile* profile,
65 const extensions::Extension* extension, 65 const extensions::Extension* extension,
66 int event_flags) = 0; 66 int event_flags) = 0;
67 67
68 // Launch the app. 68 // Launch the app.
69 virtual void LaunchApp(Profile* profile, 69 virtual void LaunchApp(Profile* profile,
70 const extensions::Extension* extension, 70 const extensions::Extension* extension,
71 int event_flags) = 0; 71 int event_flags) = 0;
72 72
73 // Show the app list for the profile specified by |index|.
tapted 2013/07/29 01:59:10 nit: might be good to say what's being indexed (on
calamity 2013/07/30 08:42:34 Done.
74 virtual void ShowForProfileAtIndex(size_t index) = 0;
75
73 // Whether or not the icon indicating which user is logged in should be 76 // Whether or not the icon indicating which user is logged in should be
74 // visible. 77 // visible.
75 virtual bool ShouldShowUserIcon(); 78 virtual bool ShouldShowUserIcon();
76 }; 79 };
77 80
78 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 81 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698