| 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/history/history_types.h" | |
| 11 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" | 10 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" |
| 11 #include "components/history/core/browser/history_types.h" |
| 12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
| 13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
| 14 #include "content/public/browser/web_ui_message_handler.h" | 14 #include "content/public/browser/web_ui_message_handler.h" |
| 15 | 15 |
| 16 class GURL; | 16 class GURL; |
| 17 class PageUsageData; | 17 class PageUsageData; |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class ListValue; | 20 class ListValue; |
| 21 class Value; | 21 class Value; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // Whether the user has viewed the 'suggested' pane. | 91 // Whether the user has viewed the 'suggested' pane. |
| 92 bool suggestions_viewed_; | 92 bool suggestions_viewed_; |
| 93 | 93 |
| 94 // Whether the user has performed a "tracked" action to leave the page or not. | 94 // Whether the user has performed a "tracked" action to leave the page or not. |
| 95 bool user_action_logged_; | 95 bool user_action_logged_; |
| 96 | 96 |
| 97 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); | 97 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); |
| 98 }; | 98 }; |
| 99 | 99 |
| 100 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ | 100 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ |
| OLD | NEW |