summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-26 19:30:34 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-26 19:30:34 +0000
commitd5f942bab2af72892413a3080fb7468b0bbef713 (patch)
treeec5e97ea265fba45bb1f6102bc1aed4001f9898b /chrome/browser/dom_ui/new_tab_ui.cc
parente711c4dded8a24f780c039e545d7378937e1388b (diff)
downloadchromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.zip
chromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.tar.gz
chromium_src-d5f942bab2af72892413a3080fb7468b0bbef713.tar.bz2
Reorganize the declarations to have some grouping and logical ordering in tab contents and web contents. Reorder the derived classes overrides to match, and reorder the definitions of the functions to match the order in the header file.
This doesn't actually change any code. I removed a few functions that were declared but never implemented (!) as well as some that were marked vitual but were never overridden. I renamed some things to make them more consistent. Review URL: http://codereview.chromium.org/5005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2634 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/new_tab_ui.cc')
-rw-r--r--chrome/browser/dom_ui/new_tab_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 3d0cdf1..c96a5b5 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -743,7 +743,7 @@ NewTabUIContents::NewTabUIContents(Profile* profile,
motd_message_id_(0),
incognito_(false),
most_visited_handler_(NULL) {
- type_ = TAB_CONTENTS_NEW_TAB_UI;
+ set_type(TAB_CONTENTS_NEW_TAB_UI);
set_forced_title(l10n_util::GetString(IDS_NEW_TAB_TITLE));
if (profile->IsOffTheRecord())