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

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

Issue 11953021: Don't show the apps page on the NTP if the app launcher is installed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move getShouldShowApps message to onLoad. Created 7 years, 11 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/new_tab_ui.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