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

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

Issue 1756503003: NTP4: remove unused promo C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bubble-promo-ui
Patch Set: check Created 4 years, 10 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
Index: chrome/browser/ui/webui/ntp/new_tab_page_handler.h
diff --git a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
index ce4a5b57b9e55fc82870578176ae41509856501d..715b25e2d550020d708b8c5b1702db95d3122188 100644
--- a/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
+++ b/chrome/browser/ui/webui/ntp/new_tab_page_handler.h
@@ -10,7 +10,6 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/values.h"
-#include "chrome/browser/chrome_notification_types.h"
#include "content/public/browser/web_ui_message_handler.h"
class PrefRegistrySimple;
@@ -40,24 +39,6 @@ class NewTabPageHandler : public content::WebUIMessageHandler,
// WebUIMessageHandler implementation.
void RegisterMessages() override;
- // Callback for "notificationPromoClosed". No arguments.
- void HandleNotificationPromoClosed(const base::ListValue* args);
-
- // Callback for "notificationPromoViewed". No arguments.
- void HandleNotificationPromoViewed(const base::ListValue* args);
-
- // Callback for "notificationPromoLinkClicked". No arguments.
- void HandleNotificationPromoLinkClicked(const base::ListValue* args);
-
- // Callback for "bubblePromoClosed". No arguments.
- void HandleBubblePromoClosed(const base::ListValue* args);
-
- // Callback for "bubblePromoViewed". No arguments.
- void HandleBubblePromoViewed(const base::ListValue* args);
-
- // Callback for "bubblePromoLinkClicked". No arguments.
- void HandleBubblePromoLinkClicked(const base::ListValue* args);
-
// Callback for "pageSelected".
void HandlePageSelected(const base::ListValue* args);
@@ -77,9 +58,6 @@ class NewTabPageHandler : public content::WebUIMessageHandler,
static const int kHistogramEnumerationMax =
(LAST_PAGE_ID >> kPageIdOffset) + 1;
- // Helper to send out promo resource change notification.
- void Notify(chrome::NotificationType notification_type);
-
DISALLOW_COPY_AND_ASSIGN(NewTabPageHandler);
};
« no previous file with comments | « chrome/browser/ui/webui/app_launcher_login_handler.cc ('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