diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 15:18:22 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-04 15:18:22 +0000 |
commit | caf2f4e2142246201ad7589e8629ab9c47df022f (patch) | |
tree | 7bf8269dccb49d2cfce22a79b5ad787c36e6fcac /chrome/browser/cocoa/tab_window_controller.h | |
parent | a5d28334fcea7a34558d3c2afe6155dcd8379edc (diff) | |
download | chromium_src-caf2f4e2142246201ad7589e8629ab9c47df022f.zip chromium_src-caf2f4e2142246201ad7589e8629ab9c47df022f.tar.gz chromium_src-caf2f4e2142246201ad7589e8629ab9c47df022f.tar.bz2 |
Implement tab closing animations.
BUG=14919
TEST=tab opening and closing, tab dragging, trying to drag tabs while animating closed, http auth, tab modal sheets, anything involving tabs.
Review URL: http://codereview.chromium.org/348061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_window_controller.h')
-rw-r--r-- | chrome/browser/cocoa/tab_window_controller.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/tab_window_controller.h b/chrome/browser/cocoa/tab_window_controller.h index ed3c23b..ba11bb9 100644 --- a/chrome/browser/cocoa/tab_window_controller.h +++ b/chrome/browser/cocoa/tab_window_controller.h @@ -72,6 +72,11 @@ // implementation. - (void)removePlaceholder; +// Returns YES if tab dragging is currently allowed. Any number of things +// can choose to disable it, such as pending animations. The default is to +// always return YES. Subclasses should override as appropriate. +- (BOOL)tabDraggingAllowed; + // Show or hide the new tab button. The button is hidden immediately, but // waits until the next call to |-layoutTabs| to show it again. - (void)showNewTabButton:(BOOL)show; |