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

Side by Side Diff: chrome/browser/extensions/install_observer.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: add sync test Created 7 years, 6 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_EXTENSIONS_INSTALL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
7 7
8 namespace gfx { 8 namespace gfx {
9 class ImageSkia; 9 class ImageSkia;
10 } 10 }
(...skipping 12 matching lines...) Expand all
23 bool is_platform_app) = 0; 23 bool is_platform_app) = 0;
24 24
25 virtual void OnDownloadProgress(const std::string& extension_id, 25 virtual void OnDownloadProgress(const std::string& extension_id,
26 int percent_downloaded) = 0; 26 int percent_downloaded) = 0;
27 27
28 virtual void OnInstallFailure(const std::string& extension_id) = 0; 28 virtual void OnInstallFailure(const std::string& extension_id) = 0;
29 29
30 virtual void OnExtensionInstalled(const Extension* extension) = 0; 30 virtual void OnExtensionInstalled(const Extension* extension) = 0;
31 virtual void OnExtensionUninstalled(const Extension* extension) = 0; 31 virtual void OnExtensionUninstalled(const Extension* extension) = 0;
32 virtual void OnExtensionDisabled(const Extension* extension) = 0; 32 virtual void OnExtensionDisabled(const Extension* extension) = 0;
33 virtual void OnAppsReordered() = 0; 33 virtual void OnAppListReordered() = 0;
34 virtual void OnAppInstalledToAppList(const std::string& extension_id) = 0; 34 virtual void OnAppInstalledToAppList(const std::string& extension_id) = 0;
35 35
36 // Notifies observers that the observed object is going away. 36 // Notifies observers that the observed object is going away.
37 virtual void OnShutdown() = 0; 37 virtual void OnShutdown() = 0;
38 38
39 protected: 39 protected:
40 virtual ~InstallObserver() {} 40 virtual ~InstallObserver() {}
41 }; 41 };
42 42
43 } // namespace extensions 43 } // namespace extensions
44 44
45 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ 45 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698