diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 21:52:58 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 21:52:58 +0000 |
commit | c3240722a63ff142684575e3ea4eb89915edae72 (patch) | |
tree | 43339cacbf2b834c501ee76cc51d71c7e286d21c /chrome/browser/cocoa/browser_window_controller.mm | |
parent | f515eece5f790dc20f51c32718642bd9fa9e7261 (diff) | |
download | chromium_src-c3240722a63ff142684575e3ea4eb89915edae72.zip chromium_src-c3240722a63ff142684575e3ea4eb89915edae72.tar.gz chromium_src-c3240722a63ff142684575e3ea4eb89915edae72.tar.bz2 |
Add some bookmark bar hooks for pyauto.
Refactor the implementation for x-platform happiness.
Add simple pyauto script that uses it (but needs http://crbug.com32292
fixed before it works without tweaking).
Review URL: http://codereview.chromium.org/670001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm index 04b17a2..55f15d4 100644 --- a/chrome/browser/cocoa/browser_window_controller.mm +++ b/chrome/browser/cocoa/browser_window_controller.mm @@ -1197,6 +1197,10 @@ return [bookmarkBarController_ isVisible]; } +- (BOOL)isBookmarkBarAnimating { + return [bookmarkBarController_ isAnimationRunning]; +} + - (void)updateBookmarkBarVisibilityWithAnimation:(BOOL)animate { [bookmarkBarController_ updateAndShowNormalBar:[self shouldShowBookmarkBar] |