summaryrefslogtreecommitdiffstats
path: root/chrome/browser/defaults.cc
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 22:33:08 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-24 22:33:08 +0000
commitaee746fa720bec218bec090746df7e04f26d9f5b (patch)
tree96e679e635f5be8fbeb008bad5c11ac8e4ecf69d /chrome/browser/defaults.cc
parentd26b4418ab4d417e87b1d3fd5367dea0cf978a7c (diff)
downloadchromium_src-aee746fa720bec218bec090746df7e04f26d9f5b.zip
chromium_src-aee746fa720bec218bec090746df7e04f26d9f5b.tar.gz
chromium_src-aee746fa720bec218bec090746df7e04f26d9f5b.tar.bz2
[Mac] Re-enable pinned tabs; add support for mini-tabs and phantom tabs.
This CL rewires the old support for pinned tabs to support mini-tabs. This also removes the kEnablePinnedTabs browser default now that all platforms support it. Note that pinning is now only accessible through the context menu; drag-to-pin has been removed. BUG=36798, 32845 TEST=Right-click and pin two tabs. Test dragging on and off and around the tab strip. TEST=Cmd+W a pinned tab and it should go phantom (renderer closes down) and the tab is made alpha. Review URL: http://codereview.chromium.org/1119005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42548 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.cc')
-rw-r--r--chrome/browser/defaults.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index b9ecf0a..a76ebbf 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
@@ -70,11 +70,8 @@ const bool kShowOtherBrowsersInAboutMemory = true;
#if defined(OS_MACOSX)
const bool kBrowserAliveWithNoWindows = true;
-// When this gets enabled on Mac, remove this default.
-const bool kEnablePinnedTabs = false;
#else
const bool kBrowserAliveWithNoWindows = false;
-const bool kEnablePinnedTabs = true;
#endif
} // namespace browser_defaults