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

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

Issue 23766018: Based off 20656002 Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: compiles on mac, tests "pass", but Menu is wrong Created 7 years, 3 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 | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | ui/app_list/app_list_model.cc » ('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_MODEL_H_ 5 #ifndef UI_APP_LIST_APP_LIST_MODEL_H_
6 #define UI_APP_LIST_APP_LIST_MODEL_H_ 6 #define UI_APP_LIST_APP_LIST_MODEL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 12 matching lines...) Expand all
23 class SearchResult; 23 class SearchResult;
24 24
25 // Master model of app list that consists of three sub models: Apps, 25 // Master model of app list that consists of three sub models: Apps,
26 // SearchBoxModel and SearchResults. The Apps sub model owns a list of 26 // SearchBoxModel and SearchResults. The Apps sub model owns a list of
27 // AppListItemModel and is displayed in the grid view. SearchBoxModel is 27 // AppListItemModel and is displayed in the grid view. SearchBoxModel is
28 // the model for SearchBoxView. SearchResults owns a list of SearchResult. 28 // the model for SearchBoxView. SearchResults owns a list of SearchResult.
29 class APP_LIST_EXPORT AppListModel { 29 class APP_LIST_EXPORT AppListModel {
30 public: 30 public:
31 // A user of the app list. 31 // A user of the app list.
32 struct User { 32 struct User {
33 User();
34 ~User();
35
33 // Whether or not the app list is currently instantiated for this user. 36 // Whether or not the app list is currently instantiated for this user.
34 bool active; 37 bool active;
35 38
36 // The name of this user. 39 // The name of this user.
37 string16 name; 40 string16 name;
38 41
39 // The email address of this user. 42 // The email address of this user.
40 string16 email; 43 string16 email;
41 44
42 // The path to this user's profile directory. 45 // The path to this user's profile directory.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 88
86 Status status_; 89 Status status_;
87 ObserverList<AppListModelObserver> observers_; 90 ObserverList<AppListModelObserver> observers_;
88 91
89 DISALLOW_COPY_AND_ASSIGN(AppListModel); 92 DISALLOW_COPY_AND_ASSIGN(AppListModel);
90 }; 93 };
91 94
92 } // namespace app_list 95 } // namespace app_list
93 96
94 #endif // UI_APP_LIST_APP_LIST_MODEL_H_ 97 #endif // UI_APP_LIST_APP_LIST_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.mm ('k') | ui/app_list/app_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698