| 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);
|
| };
|
|
|
|
|