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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void CreateNewTabCSS(); | 62 void CreateNewTabCSS(); |
63 | 63 |
64 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_; | 64 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_; |
65 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_; | 65 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_; |
66 scoped_refptr<base::RefCountedMemory> new_tab_css_; | 66 scoped_refptr<base::RefCountedMemory> new_tab_css_; |
67 content::NotificationRegistrar registrar_; | 67 content::NotificationRegistrar registrar_; |
68 PrefChangeRegistrar pref_change_registrar_; | 68 PrefChangeRegistrar pref_change_registrar_; |
69 #endif | 69 #endif |
70 | 70 |
71 bool is_swipe_tracking_from_scroll_events_enabled_; | 71 bool is_swipe_tracking_from_scroll_events_enabled_; |
| 72 bool should_show_apps_page_; |
72 | 73 |
73 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); | 74 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); |
74 }; | 75 }; |
75 | 76 |
76 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ | 77 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ |
OLD | NEW |