Index: chrome/browser/ui/webui/ntp/suggestions_page_handler.h |
=================================================================== |
--- chrome/browser/ui/webui/ntp/suggestions_page_handler.h (revision 130353) |
+++ chrome/browser/ui/webui/ntp/suggestions_page_handler.h (working copy) |
@@ -52,6 +52,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 +101,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); |
}; |