summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_provider.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 22:43:28 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-13 22:43:28 +0000
commit659d0e8f1c3e9336fe4637fef3db2e3e6ab0ee0f (patch)
treecf9c2a106551fd667cfbbc7c2473edc5c4ef399f /chrome/browser/automation/automation_provider.cc
parent31d18e07e69c8ceb80e31daa7d12e188ecad63fa (diff)
downloadchromium_src-659d0e8f1c3e9336fe4637fef3db2e3e6ab0ee0f.zip
chromium_src-659d0e8f1c3e9336fe4637fef3db2e3e6ab0ee0f.tar.gz
chromium_src-659d0e8f1c3e9336fe4637fef3db2e3e6ab0ee0f.tar.bz2
Enabling the BrowsersRememberFocus interactive UI test. The fix is to change the
AutomationMsg_ActivateWindow and AutomationMsg_OpenNewBrowserWindow automation messages to sync messages. Review URL: http://codereview.chromium.org/20363 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation/automation_provider.cc')
-rw-r--r--chrome/browser/automation/automation_provider.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index d6cf19b..0de0782 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1535,8 +1535,7 @@ void AutomationProvider::IsWindowActive(int handle, bool* success,
}
}
-void AutomationProvider::ActivateWindow(const IPC::Message& message,
- int handle) {
+void AutomationProvider::ActivateWindow(int handle) {
if (window_tracker_->ContainsHandle(handle)) {
::SetActiveWindow(window_tracker_->GetResource(handle));
}