summaryrefslogtreecommitdiffstats
path: root/webkit/glue/window_open_disposition.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 20:39:46 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-08 20:39:46 +0000
commit8f327a0086540250d2af9454c2138bbe514a3aea (patch)
treec73ef8418a1b42069156b1c83e2d494845c59408 /webkit/glue/window_open_disposition.h
parentce185864d3ef3d2a3fd40ae93300a5858f961c94 (diff)
downloadchromium_src-8f327a0086540250d2af9454c2138bbe514a3aea.zip
chromium_src-8f327a0086540250d2af9454c2138bbe514a3aea.tar.gz
chromium_src-8f327a0086540250d2af9454c2138bbe514a3aea.tar.bz2
Adds tab pinning to TabStripModel. This is just the model side of
things (and tests), no UI yet. The model enforces that all pinned tabs occur at the beginning of the model. For example, if there are no pinned tabs and you pin the 10th tab, it is moved to the front of the tab strip. Similarly inserting a tab before the last pinned tab implicitly pins it. Moving a pinned tab beyond the set of pinned tabs implicitly unpins it. I'll file a bug on this when the site allows me to. BUG=none TEST=none Review URL: http://codereview.chromium.org/155228 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20181 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/window_open_disposition.h')
-rw-r--r--webkit/glue/window_open_disposition.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/window_open_disposition.h b/webkit/glue/window_open_disposition.h
index 7f97b4c..b3096c7 100644
--- a/webkit/glue/window_open_disposition.h
+++ b/webkit/glue/window_open_disposition.h
@@ -8,6 +8,7 @@
enum WindowOpenDisposition {
SUPPRESS_OPEN,
CURRENT_TAB,
+ // Indicates that only one tab with the url should exist in the same window.
SINGLETON_TAB,
NEW_FOREGROUND_TAB,
NEW_BACKGROUND_TAB,