summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.h
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 04:07:18 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 04:07:18 +0000
commit8d2b6c3e969cdbb83b0cf23493e527869ff25e9e (patch)
tree5b61f36327c9ad3e01783ea5244b394738662448 /chrome/browser/dom_ui/new_tab_ui.h
parent347141f37842c06c3b832b9721f484c4f278b159 (diff)
downloadchromium_src-8d2b6c3e969cdbb83b0cf23493e527869ff25e9e.zip
chromium_src-8d2b6c3e969cdbb83b0cf23493e527869ff25e9e.tar.gz
chromium_src-8d2b6c3e969cdbb83b0cf23493e527869ff25e9e.tar.bz2
Make New Tab Page work correctly in incognito mode (8294)
Add a workaround to force the New Tab Page title to 'New Tab' (8282) Make DOMUI Pages get focus correctly (8271) Please also sanity-check DOMUI/DOMUIContents integration. BUG=8294,8282,8271 Review URL: http://codereview.chromium.org/39057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.h')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.h b/chrome/browser/dom_ui/new_tab_ui.h
index 9e1d8c68..98b0abe 100644
--- a/chrome/browser/dom_ui/new_tab_ui.h
+++ b/chrome/browser/dom_ui/new_tab_ui.h
@@ -255,13 +255,6 @@ class NewTabUI : public DOMUI {
// DOMUI Implementation
virtual void Init();
- // Set the title that overrides any other title provided for the tab.
- // This lets you set the title that's displayed before the content loads,
- // as well as override any "Loading..." text.
- void set_forced_title(const std::wstring& title) {
- forced_title_ = title;
- }
-
// Overridden from DOMUI.
// Favicon should not be displayed.
virtual bool ShouldDisplayFavIcon() { return false; }
@@ -286,10 +279,6 @@ class NewTabUI : public DOMUI {
// what HTML to load.
bool incognito_;
- // A title for the page we force display of.
- // This prevents intermediate titles (like "Loading...") from displaying.
- std::wstring forced_title_;
-
// A pointer to the handler for most visited.
// Owned by the DOMUIHost.
MostVisitedHandler* most_visited_handler_;