summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_window_controller.mm
diff options
context:
space:
mode:
authorjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 21:52:58 +0000
committerjrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-05 21:52:58 +0000
commitc3240722a63ff142684575e3ea4eb89915edae72 (patch)
tree43339cacbf2b834c501ee76cc51d71c7e286d21c /chrome/browser/cocoa/browser_window_controller.mm
parentf515eece5f790dc20f51c32718642bd9fa9e7261 (diff)
downloadchromium_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.mm4
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]