diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 21:46:15 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-09 21:46:15 +0000 |
commit | 3683cbb58a3e46cc3bb3860268e7bcf6ca499a0b (patch) | |
tree | c72557a7a4f3f24328757dd3c658b58865b57c0c /chrome/browser/automation/automation_provider.cc | |
parent | b3d7a18cfceb5305aa563a321408665e4d7d3d12 (diff) | |
download | chromium_src-3683cbb58a3e46cc3bb3860268e7bcf6ca499a0b.zip chromium_src-3683cbb58a3e46cc3bb3860268e7bcf6ca499a0b.tar.gz chromium_src-3683cbb58a3e46cc3bb3860268e7bcf6ca499a0b.tar.bz2 |
UI test portage, second try.
first try here: <http://codereview.chromium.org/63149>
Review URL: http://codereview.chromium.org/67006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index 81d0137..067302a 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -2100,17 +2100,14 @@ void AutomationProvider::GetDownloadDirectory( } } -#if defined(OS_WIN) -// TODO(port): Remove windowsisms. -void AutomationProvider::OpenNewBrowserWindow(int show_command) { +void AutomationProvider::OpenNewBrowserWindow(bool show) { // We may have no current browser windows open so don't rely on // asking an existing browser to execute the IDC_NEWWINDOW command Browser* browser = Browser::Create(profile_); browser->AddBlankTab(true); - if (show_command != SW_HIDE) + if (show) browser->window()->Show(); } -#endif // defined(OS_WIN) void AutomationProvider::GetWindowForBrowser(int browser_handle, bool* success, |