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

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

Issue 11885021: Don't derive from ChromeURLDataManager::DataSource, and instead have these classes implement a dele… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits 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 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 176443)
+++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (working copy)
@@ -298,7 +298,7 @@
prefs::kShowBookmarkBar);
localized_strings.SetBoolean("bookmarkbarattached", bookmark_bar_attached);
- ChromeURLDataManager::DataSource::SetFontAndTextDirection(&localized_strings);
+ URLDataSource::SetFontAndTextDirection(&localized_strings);
static const base::StringPiece incognito_tab_html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
@@ -415,7 +415,7 @@
NewTabPageHandler::GetLocalizedValues(profile_, &load_time_data);
NTPLoginHandler::GetLocalizedValues(profile_, &load_time_data);
- ChromeURLDataManager::DataSource::SetFontAndTextDirection(&load_time_data);
+ URLDataSource::SetFontAndTextDirection(&load_time_data);
// Control fade and resize animations.
load_time_data.SetBoolean("anim", ui::Animation::ShouldRenderRichAnimation());

Powered by Google App Engine
This is Rietveld 408576698