summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/new_tab_ui.cc
diff options
context:
space:
mode:
authorarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 18:16:28 +0000
committerarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-04 18:16:28 +0000
commit41fa9a3211fe4d603dd9932636b54f8e1fe70c22 (patch)
tree34844b35e1ca4fbb402cd3fc90b04d251c5076b6 /chrome/browser/dom_ui/new_tab_ui.cc
parentbae93ec94855687aabe1b243f9679976690d67a8 (diff)
downloadchromium_src-41fa9a3211fe4d603dd9932636b54f8e1fe70c22.zip
chromium_src-41fa9a3211fe4d603dd9932636b54f8e1fe70c22.tar.gz
chromium_src-41fa9a3211fe4d603dd9932636b54f8e1fe70c22.tar.bz2
Change the numbe of recently closed tabs to a maximum of 10 instead of 6.
Bug=17879 TEST=Close a lot of tabs. You should see the 10 latest closed tabs in the recent activities section. Review URL: http://codereview.chromium.org/160588 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22396 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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index c9c4983..f8f4fda 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -1313,7 +1313,7 @@ void RecentlyClosedTabsHandler::TabRestoreServiceChanged(
ListValue list_value;
std::set<std::wstring> unique_items;
int added_count = 0;
- const int max_count = NewTabUI::UseOldNewTabPage() ? 3 : 6;
+ const int max_count = NewTabUI::UseOldNewTabPage() ? 3 : 10;
// We filter the list of recently closed to only show 'interesting' entries,
// where an interesting entry is either a closed window or a closed tab