diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-22 00:15:17 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-22 00:15:17 +0000 |
commit | c37e3b6de9ccfd2bc4c5f2852ae2e4b5ec9b985d (patch) | |
tree | e5df41c5242a176e955db360d5de40225fded383 /chrome/browser/defaults.h | |
parent | 7e3544bd5859cad57261bc4827686f266a8d3961 (diff) | |
download | chromium_src-c37e3b6de9ccfd2bc4c5f2852ae2e4b5ec9b985d.zip chromium_src-c37e3b6de9ccfd2bc4c5f2852ae2e4b5ec9b985d.tar.gz chromium_src-c37e3b6de9ccfd2bc4c5f2852ae2e4b5ec9b985d.tar.bz2 |
Adds support for phantom tabs. A pinned tab becomes a phantom tab when
it is closed, and effectively unloads the renderer and replaces it
with a new TabContents that loads when selected. A phantom tab is
currently rendered without a border. Phantom tabs do not prevent a
window from closing.
Long term only pinned app tabs will have the ability to be made
phantom, but this allows us to test the feature until app support is
all wired in.
BUG=32845
TEST=none yet
Review URL: http://codereview.chromium.org/553008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36815 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.h')
-rw-r--r-- | chrome/browser/defaults.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/defaults.h b/chrome/browser/defaults.h index 595bb70..78c7be4 100644 --- a/chrome/browser/defaults.h +++ b/chrome/browser/defaults.h @@ -60,6 +60,9 @@ extern const bool kDownloadPageHasShowInFolder; // Should the tab strip be sized to the top of the tab strip? extern const bool kSizeTabButtonToTopOfTabStrip; +// Should pinned tabs be treated as though they are apps as well? +extern const bool kPinnedTabsActLikeApps; + // Whether we should bootstrap the sync authentication using cookies instead of // asking the user for credentials. extern const bool kBootstrapSyncAuthentication; |