| 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 "base/scoped_observer.h" | 10 #include "base/scoped_observer.h" |
| 11 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" | 11 #include "chrome/browser/ui/webui/ntp/suggestions_combiner.h" |
| 12 #include "components/history/core/browser/history_types.h" | 12 #include "components/history/core/browser/history_types.h" |
| 13 #include "components/history/core/browser/top_sites_observer.h" | 13 #include "components/history/core/browser/top_sites_observer.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; | |
| 18 | 17 |
| 19 namespace base { | 18 namespace base { |
| 20 class ListValue; | 19 class ListValue; |
| 21 class Value; | 20 class Value; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace user_prefs { | 23 namespace user_prefs { |
| 25 class PrefRegistrySyncable; | 24 class PrefRegistrySyncable; |
| 26 } | 25 } |
| 27 | 26 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 // Whether the user has viewed the 'suggested' pane. | 90 // Whether the user has viewed the 'suggested' pane. |
| 92 bool suggestions_viewed_; | 91 bool suggestions_viewed_; |
| 93 | 92 |
| 94 // Whether the user has performed a "tracked" action to leave the page or not. | 93 // Whether the user has performed a "tracked" action to leave the page or not. |
| 95 bool user_action_logged_; | 94 bool user_action_logged_; |
| 96 | 95 |
| 97 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); | 96 DISALLOW_COPY_AND_ASSIGN(SuggestionsHandler); |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ | 99 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_PAGE_HANDLER_H_ |
| OLD | NEW |