summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/ntp
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 02:07:30 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 02:07:30 +0000
commitc1d05aaf3fa0d974facfd52e02f27b6a7a2d265d (patch)
tree7860ec49ad86186ee5689cc1357b43f31a532a6d /chrome/browser/resources/ntp
parent03536444cded4963dd7edc5d5b77605a16140e25 (diff)
downloadchromium_src-c1d05aaf3fa0d974facfd52e02f27b6a7a2d265d.zip
chromium_src-c1d05aaf3fa0d974facfd52e02f27b6a7a2d265d.tar.gz
chromium_src-c1d05aaf3fa0d974facfd52e02f27b6a7a2d265d.tar.bz2
Adding an experimental app notification API.
BUG=86958 TEST=none for now Review URL: http://codereview.chromium.org/7187023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90705 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/ntp')
-rw-r--r--chrome/browser/resources/ntp/apps.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index 39e596c..fe53705 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -149,6 +149,10 @@ function appsPrefChangeCallback(data) {
});
}
+function appNotificationChanged(id, lastNotification) {
+ // TODO(asargent/finnur) use this when we hook up notifications into the NTP.
+}
+
// Launches the specified app using the APP_LAUNCH_NTP_APP_RE_ENABLE histogram.
// This should only be invoked from the AppLauncherHandler.
function launchAppAfterEnable(appId) {