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_NTP_RESOURCE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/prefs/pref_change_registrar.h" | |
12 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 12 #include "components/keyed_service/core/keyed_service.h" |
| 13 #include "components/prefs/pref_change_registrar.h" |
14 #include "components/web_resource/promo_resource_service.h" | 14 #include "components/web_resource/promo_resource_service.h" |
15 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
17 | 17 |
18 class Profile; | 18 class Profile; |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class RefCountedMemory; | 21 class RefCountedMemory; |
22 } | 22 } |
23 | 23 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled. | 98 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled. |
99 bool is_swipe_tracking_from_scroll_events_enabled_; | 99 bool is_swipe_tracking_from_scroll_events_enabled_; |
100 // Set based on NewTabUI::ShouldShowApps. | 100 // Set based on NewTabUI::ShouldShowApps. |
101 bool should_show_apps_page_; | 101 bool should_show_apps_page_; |
102 bool should_show_other_devices_menu_; | 102 bool should_show_other_devices_menu_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); | 104 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); |
105 }; | 105 }; |
106 | 106 |
107 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ | 107 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ |
OLD | NEW |