| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/cancelable_request.h" | 10 #include "chrome/browser/common/cancelable_request.h" |
| 11 #include "chrome/browser/history/history_types.h" | 11 #include "chrome/browser/history/history_types.h" |
| 12 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" | 12 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" |
| 13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
| 14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
| 15 #include "content/public/browser/web_ui_message_handler.h" | 15 #include "content/public/browser/web_ui_message_handler.h" |
| 16 | 16 |
| 17 class GURL; | 17 class GURL; |
| 18 class PageUsageData; | 18 class PageUsageData; |
| 19 class PrefService; | 19 class PrefService; |
| 20 | 20 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // Whether the user has viewed the 'suggested' pane. | 89 // Whether the user has viewed the 'suggested' pane. |
| 90 bool suggestions_viewed_; | 90 bool suggestions_viewed_; |
| 91 | 91 |
| 92 // Whether the user has performed a "tracked" action to leave the page or not. | 92 // Whether the user has performed a "tracked" action to leave the page or not. |
| 93 bool user_action_logged_; | 93 bool user_action_logged_; |
| 94 | 94 |
| 95 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); | 95 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ | 98 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ |
| OLD | NEW |