summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_install_ui.h
diff options
context:
space:
mode:
authorxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 05:21:04 +0000
committerxiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 05:21:04 +0000
commit662b592e04ddcbd7e3e5c3dc7fe09d20852bc8ad (patch)
treea1854f7e4bdf5b15c40c8a77cd9fd685c625b4f6 /chrome/browser/extensions/extension_install_ui.h
parentccf17255c487be73a69c5b45bee7546eb0a03999 (diff)
downloadchromium_src-662b592e04ddcbd7e3e5c3dc7fe09d20852bc8ad.zip
chromium_src-662b592e04ddcbd7e3e5c3dc7fe09d20852bc8ad.tar.gz
chromium_src-662b592e04ddcbd7e3e5c3dc7fe09d20852bc8ad.tar.bz2
ash: Open app list and highlight the installed app.
- Add a NOTIFICATION_APP_INSTALLED_TO_APPLIST similar to NOTIFICATION_APP_INSTALLED_TO_NTP; - OpenAppInstalledNTP -> OpenAppInstalledUI, which opens applist on ash and fires NOTIFICATION_APP_INSTALLED_TO_APPLIST; - Make AppListModelBuilder observes extension loading/unloading and NOTIFICATION_APP_INSTALLED_TO_APPLIST and updates model accordingly; - Make AppListView SetModel on its delegate explicitly; - Make AppListViewDelegate hosts a builder as its member and pass the model used by app list to the builder; BUG=117087 TEST=Install an app and app list should open and highlight the installed app. Review URL: http://codereview.chromium.org/9700066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127111 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_install_ui.h')
-rw-r--r--chrome/browser/extensions/extension_install_ui.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h
index 3b3fa48..35e3fe0 100644
--- a/chrome/browser/extensions/extension_install_ui.h
+++ b/chrome/browser/extensions/extension_install_ui.h
@@ -178,9 +178,8 @@ class ExtensionInstallUI : public ImageLoadingTracker::Observer {
const std::string& extension_id,
int index) OVERRIDE;
- // Opens a new tab page and animates the app icon for the app with id
- // |app_id|.
- static void OpenAppInstalledNTP(Browser* browser, const std::string& app_id);
+ // Opens apps UI and animates the app icon for the app with id |app_id|.
+ static void OpenAppInstalledUI(Browser* browser, const std::string& app_id);
protected:
friend class ExtensionWebstorePrivateApiTest;