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

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

Issue 14080004: Remove some chrome-specific methods from content::WebUI. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: self nits Created 7 years, 8 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/new_tab_ui.cc
===================================================================
--- chrome/browser/ui/webui/ntp/new_tab_ui.cc (revision 193436)
+++ chrome/browser/ui/webui/ntp/new_tab_ui.cc (working copy)
@@ -78,11 +78,6 @@
: WebUIController(web_ui),
showing_sync_bubble_(false) {
g_live_new_tabs.Pointer()->insert(this);
- // Override some options on the Web UI.
- web_ui->HideFavicon();
-
- web_ui->FocusLocationBarByDefault();
- web_ui->HideURL();
web_ui->OverrideTitle(l10n_util::GetStringUTF16(IDS_NEW_TAB_TITLE));
// We count all link clicks as AUTO_BOOKMARK, so that site can be ranked more

Powered by Google App Engine
This is Rietveld 408576698