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

Unified Diff: chrome/browser/notifications/sync_notifier/welcome_delegate.h

Issue 228753006: Reland r262272: "Hook up the Info URL from SyncedNotificationsAppInfo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test on linux+aura, disabled on linux-gtk Created 6 years, 8 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/notifications/sync_notifier/welcome_delegate.h
diff --git a/chrome/browser/notifications/sync_notifier/welcome_delegate.h b/chrome/browser/notifications/sync_notifier/welcome_delegate.h
index 7c5bc3bee5c2f0fed913bf374795d75a15964965..c9729544c27caa925b5df7fd6d73658cb693dd1e 100644
--- a/chrome/browser/notifications/sync_notifier/welcome_delegate.h
+++ b/chrome/browser/notifications/sync_notifier/welcome_delegate.h
@@ -22,13 +22,15 @@ class WelcomeDelegate : public NotificationDelegate {
public:
explicit WelcomeDelegate(const std::string& notification_id,
Profile* profile,
- const message_center::NotifierId notifier_id);
+ const message_center::NotifierId notifier_id,
+ const GURL& on_click_link);
// NotificationDelegate interface.
virtual void Display() OVERRIDE;
virtual void Error() OVERRIDE;
virtual void Close(bool by_user) OVERRIDE;
virtual void Click() OVERRIDE;
+ virtual bool HasClickedListener() OVERRIDE;
virtual void ButtonClick(int button_index) OVERRIDE;
virtual content::RenderViewHost* GetRenderViewHost() const OVERRIDE;
virtual std::string id() const OVERRIDE;
@@ -39,6 +41,7 @@ class WelcomeDelegate : public NotificationDelegate {
const std::string notification_id_;
Profile* profile_; // Weak.
const message_center::NotifierId notifier_id_;
+ GURL on_click_link_;
DISALLOW_COPY_AND_ASSIGN(WelcomeDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698