Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.h

Issue 12985002: Add a new App launcher promo to the apps page / NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS review round 4. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void CreateNewTabIncognitoHTML(); 68 void CreateNewTabIncognitoHTML();
69 69
70 void CreateNewTabIncognitoCSS(); 70 void CreateNewTabIncognitoCSS();
71 71
72 void CreateNewTabCSS(); 72 void CreateNewTabCSS();
73 73
74 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_; 74 scoped_refptr<base::RefCountedMemory> new_tab_incognito_html_;
75 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_; 75 scoped_refptr<base::RefCountedMemory> new_tab_incognito_css_;
76 scoped_refptr<base::RefCountedMemory> new_tab_css_; 76 scoped_refptr<base::RefCountedMemory> new_tab_css_;
77 content::NotificationRegistrar registrar_; 77 content::NotificationRegistrar registrar_;
78 PrefChangeRegistrar pref_change_registrar_; 78 PrefChangeRegistrar profile_pref_change_registrar_;
79 PrefChangeRegistrar local_state_pref_change_registrar_;
79 #endif 80 #endif
80 81
81 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled. 82 // Set based on platform_util::IsSwipeTrackingFromScrollEventsEnabled.
82 bool is_swipe_tracking_from_scroll_events_enabled_; 83 bool is_swipe_tracking_from_scroll_events_enabled_;
83 // Set based on extensions::IsAppLauncherEnabled. 84 // Set based on extensions::IsAppLauncherEnabled.
84 bool should_show_apps_page_; 85 bool should_show_apps_page_;
85 // The next three all default to true and can be manually set, e.g., by the 86 // The next three all default to true and can be manually set, e.g., by the
86 // chrome://apps page. 87 // chrome://apps page.
87 bool should_show_most_visited_page_; 88 bool should_show_most_visited_page_;
88 bool should_show_other_devices_menu_; 89 bool should_show_other_devices_menu_;
89 bool should_show_recently_closed_menu_; 90 bool should_show_recently_closed_menu_;
90 91
91 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache); 92 DISALLOW_COPY_AND_ASSIGN(NTPResourceCache);
92 }; 93 };
93 94
94 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_ 95 #endif // CHROME_BROWSER_UI_WEBUI_NTP_NTP_RESOURCE_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/app_launcher_handler.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698