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

Side by Side Diff: ui/app_list/app_list_view_delegate.h

Issue 22268009: Move signin status and current user information into AppListModel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « ui/app_list/app_list_model_observer.h ('k') | ui/app_list/cocoa/app_list_view_controller.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 UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Invoked to dismiss app list. This may leave the view open but hidden from 66 // Invoked to dismiss app list. This may leave the view open but hidden from
67 // the user. 67 // the user.
68 virtual void Dismiss() = 0; 68 virtual void Dismiss() = 0;
69 69
70 // Invoked when the app list is closing. 70 // Invoked when the app list is closing.
71 virtual void ViewClosing() = 0; 71 virtual void ViewClosing() = 0;
72 72
73 // Returns the icon to be displayed in the window and taskbar. 73 // Returns the icon to be displayed in the window and taskbar.
74 virtual gfx::ImageSkia GetWindowIcon() = 0; 74 virtual gfx::ImageSkia GetWindowIcon() = 0;
75 75
76 // Returns the name of the current user.
77 virtual base::string16 GetCurrentUserName() = 0;
78
79 // Returns the email of the current user.
80 virtual base::string16 GetCurrentUserEmail() = 0;
81
82 // Open the settings UI. 76 // Open the settings UI.
83 virtual void OpenSettings() = 0; 77 virtual void OpenSettings() = 0;
84 78
85 // Open the help UI. 79 // Open the help UI.
86 virtual void OpenHelp() = 0; 80 virtual void OpenHelp() = 0;
87 81
88 // Open the feedback UI. 82 // Open the feedback UI.
89 virtual void OpenFeedback() = 0; 83 virtual void OpenFeedback() = 0;
90 }; 84 };
91 85
92 } // namespace app_list 86 } // namespace app_list
93 87
94 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 88 #endif // UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_model_observer.h ('k') | ui/app_list/cocoa/app_list_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698