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

Side by Side Diff: chrome/browser/ui/app_list/search/webstore_result.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: rework + fix tests 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SEARCH_WEBSTORE_RESULT_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_RESULT_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_RESULT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_RESULT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 int percent_downloaded) OVERRIDE; 59 int percent_downloaded) OVERRIDE;
60 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE; 60 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE;
61 virtual void OnExtensionInstalled( 61 virtual void OnExtensionInstalled(
62 const extensions::Extension* extension) OVERRIDE; 62 const extensions::Extension* extension) OVERRIDE;
63 virtual void OnExtensionLoaded( 63 virtual void OnExtensionLoaded(
64 const extensions::Extension* extension) OVERRIDE; 64 const extensions::Extension* extension) OVERRIDE;
65 virtual void OnExtensionUnloaded( 65 virtual void OnExtensionUnloaded(
66 const extensions::Extension* extension) OVERRIDE; 66 const extensions::Extension* extension) OVERRIDE;
67 virtual void OnExtensionUninstalled( 67 virtual void OnExtensionUninstalled(
68 const extensions::Extension* extension) OVERRIDE; 68 const extensions::Extension* extension) OVERRIDE;
69 virtual void OnAppsReordered() OVERRIDE; 69 virtual void OnAppListReordered() OVERRIDE;
70 virtual void OnAppInstalledToAppList( 70 virtual void OnAppInstalledToAppList(
71 const std::string& extension_id) OVERRIDE; 71 const std::string& extension_id) OVERRIDE;
72 virtual void OnShutdown() OVERRIDE; 72 virtual void OnShutdown() OVERRIDE;
73 73
74 Profile* profile_; 74 Profile* profile_;
75 const std::string app_id_; 75 const std::string app_id_;
76 const std::string localized_name_; 76 const std::string localized_name_;
77 const GURL icon_url_; 77 const GURL icon_url_;
78 78
79 gfx::ImageSkia icon_; 79 gfx::ImageSkia icon_;
80 base::WeakPtrFactory<WebstoreResult> weak_factory_; 80 base::WeakPtrFactory<WebstoreResult> weak_factory_;
81 81
82 AppListControllerDelegate* controller_; 82 AppListControllerDelegate* controller_;
83 extensions::InstallTracker* install_tracker_; // Not owned. 83 extensions::InstallTracker* install_tracker_; // Not owned.
84 84
85 DISALLOW_COPY_AND_ASSIGN(WebstoreResult); 85 DISALLOW_COPY_AND_ASSIGN(WebstoreResult);
86 }; 86 };
87 87
88 } // namespace app_list 88 } // namespace app_list
89 89
90 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_RESULT_H_ 90 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698