| Index: chrome/browser/ui/webui/ntp/suggestions_page_handler.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/ntp/suggestions_page_handler.h (revision 130614)
|
| +++ chrome/browser/ui/webui/ntp/suggestions_page_handler.h (working copy)
|
| @@ -33,7 +33,6 @@
|
| class SuggestionsHandler : public content::WebUIMessageHandler,
|
| public content::NotificationObserver {
|
| public:
|
| -
|
| SuggestionsHandler();
|
| virtual ~SuggestionsHandler();
|
|
|
| @@ -52,6 +51,12 @@
|
| // Callback for the "clearSuggestionsURLsBlacklist" message.
|
| void HandleClearBlacklist(const base::ListValue* args);
|
|
|
| + // Callback for the "suggestedSitesAction" message.
|
| + void HandleSuggestedSitesAction(const base::ListValue* args);
|
| +
|
| + // Callback for the "suggestedSitesSelected" message.
|
| + void HandleSuggestedSitesSelected(const base::ListValue* args);
|
| +
|
| // content::NotificationObserver implementation.
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
| @@ -95,6 +100,12 @@
|
| // Keep the results of the db query here.
|
| scoped_ptr<base::ListValue> pages_value_;
|
|
|
| + // Whether the user has viewed the 'suggested' pane.
|
| + bool suggestions_viewed_;
|
| +
|
| + // Whether the user has performed a "tracked" action to leave the page or not.
|
| + bool valid_user_action_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler);
|
| };
|
|
|
|
|