| Index: chrome/test/automated_ui_tests/automated_ui_tests.cc
|
| diff --git a/chrome/test/automated_ui_tests/automated_ui_tests.cc b/chrome/test/automated_ui_tests/automated_ui_tests.cc
|
| index 394b91cedcd510fef7b68604dd4cb5ffff70aade..02afb679442adb841cac5f9340c74a7917b7f956 100644
|
| --- a/chrome/test/automated_ui_tests/automated_ui_tests.cc
|
| +++ b/chrome/test/automated_ui_tests/automated_ui_tests.cc
|
| @@ -425,8 +425,6 @@ bool AutomatedUITest::DoAction(const std::string& action) {
|
| << action.c_str();
|
| }
|
|
|
| - EXPECT_TRUE(did_complete_action) << action;
|
| -
|
| if (!did_complete_action)
|
| xml_writer_.AddAttribute("failed_to_complete", "yes");
|
| xml_writer_.EndElement();
|
| @@ -457,6 +455,14 @@ bool AutomatedUITest::ChangeEncoding() {
|
| return RunCommandAsync((*encodings)[index].encoding_id);
|
| }
|
|
|
| +bool AutomatedUITest::FindInPage() {
|
| + return RunCommandAsync(IDC_FIND);
|
| +}
|
| +
|
| +bool AutomatedUITest::Home() {
|
| + return RunCommandAsync(IDC_HOME);
|
| +}
|
| +
|
| bool AutomatedUITest::JavaScriptConsole() {
|
| return RunCommandAsync(IDC_DEV_TOOLS);
|
| }
|
| @@ -521,6 +527,26 @@ bool AutomatedUITest::PressUpArrow() {
|
| return SimulateKeyPressInActiveWindow(base::VKEY_UP, 0);
|
| }
|
|
|
| +bool AutomatedUITest::SelectNextTab() {
|
| + return RunCommandAsync(IDC_SELECT_NEXT_TAB);
|
| +}
|
| +
|
| +bool AutomatedUITest::SelectPreviousTab() {
|
| + return RunCommandAsync(IDC_SELECT_PREVIOUS_TAB);
|
| +}
|
| +
|
| +bool AutomatedUITest::ShowBookmarkBar() {
|
| + return RunCommandAsync(IDC_SHOW_BOOKMARK_BAR);
|
| +}
|
| +
|
| +bool AutomatedUITest::ShowDownloads() {
|
| + return RunCommandAsync(IDC_SHOW_DOWNLOADS);
|
| +}
|
| +
|
| +bool AutomatedUITest::ShowHistory() {
|
| + return RunCommandAsync(IDC_SHOW_HISTORY);
|
| +}
|
| +
|
| bool AutomatedUITest::StarPage() {
|
| return RunCommandAsync(IDC_STAR);
|
| }
|
|
|