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

Side by Side Diff: chrome/browser/ui/app_list/search/app_result.h

Issue 176883003: Make InstallObserver methods not pure-virtual (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 extensions::IconImage* image) OVERRIDE; 66 extensions::IconImage* image) OVERRIDE;
67 67
68 // AppContextMenuDelegate overrides: 68 // AppContextMenuDelegate overrides:
69 virtual void ExecuteLaunchCommand(int event_flags) OVERRIDE; 69 virtual void ExecuteLaunchCommand(int event_flags) OVERRIDE;
70 70
71 // ExtensionEnableFlowDelegate overrides: 71 // ExtensionEnableFlowDelegate overrides:
72 virtual void ExtensionEnableFlowFinished() OVERRIDE; 72 virtual void ExtensionEnableFlowFinished() OVERRIDE;
73 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE; 73 virtual void ExtensionEnableFlowAborted(bool user_initiated) OVERRIDE;
74 74
75 // extensions::InstallObserver overrides: 75 // extensions::InstallObserver overrides:
76 virtual void OnBeginExtensionInstall(
77 const ExtensionInstallParams& params) OVERRIDE;
78 virtual void OnDownloadProgress(const std::string& extension_id,
79 int percent_downloaded) OVERRIDE;
80 virtual void OnInstallFailure(const std::string& extension_id) OVERRIDE;
81 virtual void OnExtensionInstalled(
82 const extensions::Extension* extension) OVERRIDE;
83 virtual void OnExtensionLoaded( 76 virtual void OnExtensionLoaded(
84 const extensions::Extension* extension) OVERRIDE; 77 const extensions::Extension* extension) OVERRIDE;
85 virtual void OnExtensionUnloaded(
86 const extensions::Extension* extension) OVERRIDE;
87 virtual void OnExtensionUninstalled( 78 virtual void OnExtensionUninstalled(
88 const extensions::Extension* extension) OVERRIDE; 79 const extensions::Extension* extension) OVERRIDE;
89 virtual void OnAppsReordered() OVERRIDE;
90 virtual void OnAppInstalledToAppList(
91 const std::string& extension_id) OVERRIDE;
92 virtual void OnShutdown() OVERRIDE; 80 virtual void OnShutdown() OVERRIDE;
93 81
94 Profile* profile_; 82 Profile* profile_;
95 const std::string app_id_; 83 const std::string app_id_;
96 AppListControllerDelegate* controller_; 84 AppListControllerDelegate* controller_;
97 85
98 bool is_platform_app_; 86 bool is_platform_app_;
99 scoped_ptr<extensions::IconImage> icon_; 87 scoped_ptr<extensions::IconImage> icon_;
100 scoped_ptr<AppContextMenu> context_menu_; 88 scoped_ptr<AppContextMenu> context_menu_;
101 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_; 89 scoped_ptr<ExtensionEnableFlow> extension_enable_flow_;
102 90
103 extensions::InstallTracker* install_tracker_; // Not owned. 91 extensions::InstallTracker* install_tracker_; // Not owned.
104 92
105 DISALLOW_COPY_AND_ASSIGN(AppResult); 93 DISALLOW_COPY_AND_ASSIGN(AppResult);
106 }; 94 };
107 95
108 } // namespace app_list 96 } // namespace app_list
109 97
110 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_ 98 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_APP_RESULT_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/recommended_apps.cc ('k') | chrome/browser/ui/app_list/search/app_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698