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/test/pyautolib/pyautolib.h | |
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/test/pyautolib/pyautolib.h')
-rw-r--r-- | chrome/test/pyautolib/pyautolib.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/pyautolib/pyautolib.h b/chrome/test/pyautolib/pyautolib.h index 767b2bd..0833e2a 100644 --- a/chrome/test/pyautolib/pyautolib.h +++ b/chrome/test/pyautolib/pyautolib.h @@ -83,6 +83,13 @@ class PyUITestSuite : public UITestSuite, public UITestBase { // and loaded successfully. Overinstalls will fail. bool InstallExtension(const FilePath& crx_file); + // Returns bookmark bar visibility state. + bool GetBookmarkBarVisibility(); + + // Returns bookmark bar animation state. Warning: timing issues may + // change this return value unexpectedly. + bool IsBookmarkBarAnimating(); + private: base::ScopedNSAutoreleasePool pool_; }; |