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

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

Issue 17038002: Separate the NTP app ordering from the app list app ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 2 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 (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 CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE; 59 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE;
60 virtual void OnExtensionInstalled( 60 virtual void OnExtensionInstalled(
61 const extensions::Extension* extension) OVERRIDE {} 61 const extensions::Extension* extension) OVERRIDE {}
62 virtual void OnExtensionLoaded( 62 virtual void OnExtensionLoaded(
63 const extensions::Extension* extension) OVERRIDE; 63 const extensions::Extension* extension) OVERRIDE;
64 virtual void OnExtensionUnloaded( 64 virtual void OnExtensionUnloaded(
65 const extensions::Extension* extension) OVERRIDE; 65 const extensions::Extension* extension) OVERRIDE;
66 virtual void OnExtensionUninstalled( 66 virtual void OnExtensionUninstalled(
67 const extensions::Extension* extension) OVERRIDE; 67 const extensions::Extension* extension) OVERRIDE;
68 virtual void OnAppsReordered() OVERRIDE; 68 virtual void OnAppListReordered() OVERRIDE;
69 virtual void OnAppInstalledToAppList( 69 virtual void OnAppInstalledToAppList(
70 const std::string& extension_id) OVERRIDE; 70 const std::string& extension_id) OVERRIDE;
71 virtual void OnShutdown() OVERRIDE; 71 virtual void OnShutdown() OVERRIDE;
72 72
73 // Adds apps in |extensions| to |apps|. 73 // Adds apps in |extensions| to |apps|.
74 void AddApps(const ExtensionSet* extensions, Apps* apps); 74 void AddApps(const ExtensionSet* extensions, Apps* apps);
75 75
76 // Populates the model with apps. 76 // Populates the model with apps.
77 void PopulateApps(); 77 void PopulateApps();
78 78
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // True to ignore |model_| changes. 120 // True to ignore |model_| changes.
121 bool ignore_changes_; 121 bool ignore_changes_;
122 122
123 // We listen to this to show app installing progress. 123 // We listen to this to show app installing progress.
124 extensions::InstallTracker* tracker_; 124 extensions::InstallTracker* tracker_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(AppsModelBuilder); 126 DISALLOW_COPY_AND_ASSIGN(AppsModelBuilder);
127 }; 127 };
128 128
129 #endif // CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_ 129 #endif // CHROME_BROWSER_UI_APP_LIST_APPS_MODEL_BUILDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698