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

Unified Diff: chrome/browser/resources/ntp/apps.js

Issue 7187023: Adding an experimental app notification API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: avoid rebuilding NTP apps section when notifications arrive Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp/apps.js
diff --git a/chrome/browser/resources/ntp/apps.js b/chrome/browser/resources/ntp/apps.js
index 7f4ec13f2218088f6116a8c614f31d7c1dbfea5f..5429003e897f068d6b0ef08731f02b091e55e6a9 100644
--- a/chrome/browser/resources/ntp/apps.js
+++ b/chrome/browser/resources/ntp/apps.js
@@ -149,6 +149,10 @@ function appsPrefChangeCallback(data) {
});
}
+function appsNotificationChangeCallback(id, last_notification) {
Evan Stade 2011/06/24 17:29:20 nits: lastNotification instead of last_notificati
asargent_no_longer_on_chrome 2011/06/24 20:02:54 Done.
+ // 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) {
« no previous file with comments | « chrome/browser/extensions/extension_service.h ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698