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

Unified Diff: chrome/browser/ui/webui/ntp/new_tab_page_handler.h

Issue 8045012: NotificationPromo (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Rename files to notification_promo.[h|cc] Created 9 years, 3 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/resources/ntp4/new_tab.js ('k') | chrome/browser/ui/webui/ntp/new_tab_page_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/ntp/new_tab_page_handler.h
===================================================================
--- chrome/browser/ui/webui/ntp/new_tab_page_handler.h (revision 102893)
+++ chrome/browser/ui/webui/ntp/new_tab_page_handler.h (working copy)
@@ -21,9 +21,12 @@
// WebUIMessageHandler implementation.
virtual void RegisterMessages() OVERRIDE;
- // Callback for "closePromo".
- void HandleClosePromo(const ListValue* args);
+ // Callback for "closeNotificationPromo".
+ void HandleCloseNotificationPromo(const ListValue* args);
+ // Callback for "notificationPromoViewed".
+ void HandleNotificationPromoViewed(const ListValue* args);
+
// Callback for "pageSelected".
void HandlePageSelected(const ListValue* args);
@@ -56,6 +59,9 @@
BOOKMARKS_PAGE_ID = 3 << 10,
};
+ // Helper to send out promo resource change notification.
+ void NotifyPromoResourceChanged();
+
DISALLOW_COPY_AND_ASSIGN(NewTabPageHandler);
};
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | chrome/browser/ui/webui/ntp/new_tab_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698