| Index: chrome/test/pyautolib/pyautolib.cc
|
| diff --git a/chrome/test/pyautolib/pyautolib.cc b/chrome/test/pyautolib/pyautolib.cc
|
| index dace100a26b78b5103a6da8f1398267c49b00154..e10930c54d6d2395eeff0f984f0e6d40cb8d108f 100644
|
| --- a/chrome/test/pyautolib/pyautolib.cc
|
| +++ b/chrome/test/pyautolib/pyautolib.cc
|
| @@ -102,40 +102,6 @@ void PyUITestBase::SetLaunchSwitches() {
|
| launch_arguments_.AppendSwitchASCII(switches::kHomePage, homepage_);
|
| }
|
|
|
| -void PyUITestBase::OpenFindInPage(int window_index) {
|
| - scoped_refptr<BrowserProxy> browser_proxy = GetBrowserWindow(window_index);
|
| - ASSERT_TRUE(browser_proxy.get());
|
| - EXPECT_TRUE(browser_proxy->OpenFindInPage());
|
| -}
|
| -
|
| -bool PyUITestBase::IsFindInPageVisible(int window_index) {
|
| - scoped_refptr<BrowserProxy> browser_proxy = GetBrowserWindow(window_index);
|
| - EXPECT_TRUE(browser_proxy.get());
|
| - if (!browser_proxy.get())
|
| - return false;
|
| - bool is_visible;
|
| - EXPECT_TRUE(browser_proxy->IsFindWindowFullyVisible(&is_visible));
|
| - return is_visible;
|
| -}
|
| -
|
| -bool PyUITestBase::OpenNewBrowserWindow(bool show) {
|
| - return automation()->OpenNewBrowserWindow(Browser::TYPE_TABBED, show);
|
| -}
|
| -
|
| -bool PyUITestBase::CloseBrowserWindow(int window_index) {
|
| - scoped_refptr<BrowserProxy> browser_proxy = GetBrowserWindow(window_index);
|
| - if (!browser_proxy.get())
|
| - return false;
|
| - bool app_closed;
|
| - return CloseBrowser(browser_proxy.get(), &app_closed);
|
| -}
|
| -
|
| -int PyUITestBase::GetBrowserWindowCount() {
|
| - int num_windows = 0;
|
| - EXPECT_TRUE(automation()->GetBrowserWindowCount(&num_windows));
|
| - return num_windows;
|
| -}
|
| -
|
| bool PyUITestBase::GetBookmarkBarState(bool* visible,
|
| bool* detached,
|
| int window_index) {
|
| @@ -329,7 +295,3 @@ void PyUITestBase::RequestFailureResponse(
|
| ErrorResponse("Chrome failed to respond", request, response);
|
| }
|
| }
|
| -
|
| -bool PyUITestBase::ResetToDefaultTheme() {
|
| - return automation()->ResetToDefaultTheme();
|
| -}
|
|
|