summaryrefslogtreecommitdiffstats
path: root/chrome/test/automation/browser_proxy.h
diff options
context:
space:
mode:
authorfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 21:36:57 +0000
committerfinnur@google.com <finnur@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-05 21:36:57 +0000
commitc2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351 (patch)
tree6f71cefde95cc33d0f656917a48df2466f8c655a /chrome/test/automation/browser_proxy.h
parent970556302b1ea50d4fc680d3656269cd50f6cf08 (diff)
downloadchromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.zip
chromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.tar.gz
chromium_src-c2cbeb9dd8aec543d5c6f0fe2aa99c1f8c655351.tar.bz2
Readding UI test I pulled yesterday; hopefully the bots will like it more now. I need to wait for the bookmark bar to become visible so I plumbed in similar code as for the Find box instead of using Sleep's.
Review URL: http://codereview.chromium.org/473 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1809 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/browser_proxy.h')
-rw-r--r--chrome/test/automation/browser_proxy.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/test/automation/browser_proxy.h b/chrome/test/automation/browser_proxy.h
index fdb7dc9..133a93d2 100644
--- a/chrome/test/automation/browser_proxy.h
+++ b/chrome/test/automation/browser_proxy.h
@@ -5,8 +5,8 @@
#ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
#define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_
-#include <string>
#include <windows.h>
+#include <string>
#include "chrome/test/automation/automation_handle_tracker.h"
class GURL;
@@ -139,8 +139,12 @@ class BrowserProxy : public AutomationResourceProxy {
// executed, false otherwise.
bool RunCommand(int browser_command) const;
+ // Returns whether the Bookmark bar is visible and whether we are animating
+ // it into position. Returns false on failure.
+ bool GetBookmarkBarVisibility(bool* is_visible, bool* is_animating);
+
private:
- DISALLOW_EVIL_CONSTRUCTORS(BrowserProxy);
+ DISALLOW_COPY_AND_ASSIGN(BrowserProxy);
};
#endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_