Commit fcf5f89a authored by estade@chromium.org's avatar estade@chromium.org

ntp4: launchAppAfterEnable

BUG=94652
TEST=manual


Review URL: http://codereview.chromium.org/7792027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98789 0039d316-1c4b-4281-b951-d872f2087c98
parent b135c535
...@@ -552,8 +552,17 @@ cr.define('ntp4', function() { ...@@ -552,8 +552,17 @@ cr.define('ntp4', function() {
store.setAppsPromoData(data); store.setAppsPromoData(data);
}; };
// Launches the specified app using the APP_LAUNCH_NTP_APP_RE_ENABLE
// histogram. This should only be invoked from the AppLauncherHandler.
function launchAppAfterEnable(appId) {
chrome.send('launchApp', [appId, APP_LAUNCH.NTP_APP_RE_ENABLE]);
};
return { return {
APP_LAUNCH: APP_LAUNCH, APP_LAUNCH: APP_LAUNCH,
AppsPage: AppsPage, AppsPage: AppsPage,
launchAppAfterEnable: launchAppAfterEnable,
}; };
}); });
var launchAppAfterEnable = ntp4.launchAppAfterEnable;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment