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

Side by Side Diff: chrome/browser/ui/app_list/search/app_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_APP_RESULT_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 int percent_downloaded) OVERRIDE; 67 int percent_downloaded) OVERRIDE;
68 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE; 68 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE;
69 virtual void OnExtensionInstalled( 69 virtual void OnExtensionInstalled(
70 const extensions::Extension* extension) OVERRIDE; 70 const extensions::Extension* extension) OVERRIDE;
71 virtual void OnExtensionLoaded( 71 virtual void OnExtensionLoaded(
72 const extensions::Extension* extension) OVERRIDE; 72 const extensions::Extension* extension) OVERRIDE;
73 virtual void OnExtensionUnloaded( 73 virtual void OnExtensionUnloaded(
74 const extensions::Extension* extension) OVERRIDE; 74 const extensions::Extension* extension) OVERRIDE;
75 virtual void OnExtensionUninstalled( 75 virtual void OnExtensionUninstalled(
76 const extensions::Extension* extension) OVERRIDE; 76 const extensions::Extension* extension) OVERRIDE;
77 virtual void OnAppsReordered() OVERRIDE; 77 virtual void OnAppListReordered() OVERRIDE;
78 virtual void OnAppInstalledToAppList( 78 virtual void OnAppInstalledToAppList(
79 const std::string& extension_id) OVERRIDE; 79 const std::string& extension_id) OVERRIDE;
80 virtual void OnShutdown() OVERRIDE; 80 virtual void OnShutdown() OVERRIDE;
81 81
82 Profile* profile_; 82 Profile* profile_;
83 const std::string app_id_; 83 const std::string app_id_;
84 AppListControllerDelegate* controller_; 84 AppListControllerDelegate* controller_;
85 85
86 bool is_platform_app_; 86 bool is_platform_app_;
87 scoped_ptr<extensions::IconImage> icon_; 87 scoped_ptr<extensions::IconImage> icon_;
88 scoped_ptr<AppContextMenu> context_menu_; 88 scoped_ptr<AppContextMenu> context_menu_;
89 89
90 extensions::InstallTracker* install_tracker_; // Not owned. 90 extensions::InstallTracker* install_tracker_; // Not owned.
91 91
92 DISALLOW_COPY_AND_ASSIGN(AppResult); 92 DISALLOW_COPY_AND_ASSIGN(AppResult);
93 }; 93 };
94 94
95 } // namespace app_list 95 } // namespace app_list
96 96
97 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 97 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698