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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 7610014: [ntp4] Bookmarks page implementation, first-pass. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Final review tweaks, rebase. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
===================================================================
--- chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (revision 96850)
+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (working copy)
@@ -433,7 +433,7 @@
// consistent across builds, supporting the union of all NTP front-ends
// for simplicity.
std::string full_html;
- if (NewTabUI::Ntp4Enabled()) {
+ if (NewTabUI::NTP4Enabled()) {
base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance().
GetRawDataResource(IDR_NEW_TAB_4_HTML));
full_html = jstemplate_builder::GetI18nTemplateHtml(new_tab_html,
@@ -607,7 +607,7 @@
subst.push_back(SkColorToRGBComponents(color_section_border)); // $22
// Get our template.
- int ntp_css_resource_id = NewTabUI::Ntp4Enabled() ?
+ int ntp_css_resource_id = NewTabUI::NTP4Enabled() ?
IDR_NEW_TAB_4_THEME_CSS : IDR_NEW_TAB_THEME_CSS;
static const base::StringPiece new_tab_theme_css(
ResourceBundle::GetSharedInstance().GetRawDataResource(

Powered by Google App Engine
This is Rietveld 408576698