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

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: 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 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 int percent_downloaded) OVERRIDE; 82 int percent_downloaded) OVERRIDE;
83 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE; 83 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE;
84 virtual void OnExtensionInstalled( 84 virtual void OnExtensionInstalled(
85 const extensions::Extension* extension) OVERRIDE; 85 const extensions::Extension* extension) OVERRIDE;
86 virtual void OnExtensionLoaded( 86 virtual void OnExtensionLoaded(
87 const extensions::Extension* extension) OVERRIDE; 87 const extensions::Extension* extension) OVERRIDE;
88 virtual void OnExtensionUnloaded( 88 virtual void OnExtensionUnloaded(
89 const extensions::Extension* extension) OVERRIDE; 89 const extensions::Extension* extension) OVERRIDE;
90 virtual void OnExtensionUninstalled( 90 virtual void OnExtensionUninstalled(
91 const extensions::Extension* extension) OVERRIDE; 91 const extensions::Extension* extension) OVERRIDE;
92 virtual void OnAppsReordered() OVERRIDE; 92 virtual void OnAppListReordered() OVERRIDE;
93 virtual void OnAppInstalledToAppList( 93 virtual void OnAppInstalledToAppList(
94 const std::string& extension_id) OVERRIDE; 94 const std::string& extension_id) OVERRIDE;
95 virtual void OnShutdown() OVERRIDE; 95 virtual void OnShutdown() OVERRIDE;
96 96
97 Profile* profile_; 97 Profile* profile_;
98 const std::string app_id_; 98 const std::string app_id_;
99 AppListControllerDelegate* controller_; 99 AppListControllerDelegate* controller_;
100 100
101 bool is_platform_app_; 101 bool is_platform_app_;
102 scoped_ptr<extensions::IconImage> icon_; 102 scoped_ptr<extensions::IconImage> icon_;
103 scoped_ptr<AppContextMenu> context_menu_; 103 scoped_ptr<AppContextMenu> context_menu_;
104 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; 104 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
105 105
106 extensions::InstallTracker* install_tracker_; // Not owned. 106 extensions::InstallTracker* install_tracker_; // Not owned.
107 107
108 DISALLOW_COPY_AND_ASSIGN(AppResult); 108 DISALLOW_COPY_AND_ASSIGN(AppResult);
109 }; 109 };
110 110
111 } // namespace app_list 111 } // namespace app_list
112 112
113 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 113 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698