| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| 6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 6 #define CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| 7 | 7 |
| 8 #include <windows.h> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <windows.h> | |
| 10 #include "chrome/test/automation/automation_handle_tracker.h" | 10 #include "chrome/test/automation/automation_handle_tracker.h" |
| 11 | 11 |
| 12 class GURL; | 12 class GURL; |
| 13 class TabProxy; | 13 class TabProxy; |
| 14 | 14 |
| 15 namespace gfx { | 15 namespace gfx { |
| 16 class Rect; | 16 class Rect; |
| 17 } | 17 } |
| 18 | 18 |
| 19 // This class presents the interface to actions that can be performed on | 19 // This class presents the interface to actions that can be performed on |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // Note that ideally this should go and the version of WindowProxy should be | 132 // Note that ideally this should go and the version of WindowProxy should be |
| 133 // used instead. We have to keep it for start_up_tests that test against a | 133 // used instead. We have to keep it for start_up_tests that test against a |
| 134 // reference build. | 134 // reference build. |
| 135 bool GetHWND(HWND* handle) const; | 135 bool GetHWND(HWND* handle) const; |
| 136 | 136 |
| 137 // Run the specified command in the browser (see browser_commands.cc for the | 137 // Run the specified command in the browser (see browser_commands.cc for the |
| 138 // list of supported commands). Returns true if the command was successfully | 138 // list of supported commands). Returns true if the command was successfully |
| 139 // executed, false otherwise. | 139 // executed, false otherwise. |
| 140 bool RunCommand(int browser_command) const; | 140 bool RunCommand(int browser_command) const; |
| 141 | 141 |
| 142 // Returns whether the Bookmark bar is visible and whether we are animating |
| 143 // it into position. Returns false on failure. |
| 144 bool GetBookmarkBarVisibility(bool* is_visible, bool* is_animating); |
| 145 |
| 142 private: | 146 private: |
| 143 DISALLOW_EVIL_CONSTRUCTORS(BrowserProxy); | 147 DISALLOW_COPY_AND_ASSIGN(BrowserProxy); |
| 144 }; | 148 }; |
| 145 | 149 |
| 146 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ | 150 #endif // CHROME_TEST_AUTOMATION_BROWSER_PROXY_H_ |
| 147 | 151 |
| OLD | NEW |