summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 20:32:06 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 20:32:06 +0000
commit92edc4764d2f311440929ad4dca91f87be3b2f11 (patch)
treef4ba410c3fe7612ee830b326739fba05273a59e2 /chrome/browser/automation
parentea16554e83cab7fe751cac7a0af8eaea3948c512 (diff)
downloadchromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.zip
chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.gz
chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.bz2
Switch from HWNDs to NativeViews, take 2. (First attempt was r9409, in which I missed a file.)
Review URL: http://codereview.chromium.org/20226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/automation')
-rw-r--r--chrome/browser/automation/automation_provider.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index 45ad1b3..b78150a 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1639,7 +1639,7 @@ void AutomationProvider::GetTabHWND(const IPC::Message& message, int handle) {
if (tab_tracker_->ContainsHandle(handle)) {
NavigationController* tab = tab_tracker_->GetResource(handle);
- tab_hwnd = tab->active_contents()->GetContainerHWND();
+ tab_hwnd = tab->active_contents()->GetNativeView();
}
Send(new AutomationMsg_TabHWNDResponse(message.routing_id(), tab_hwnd));
@@ -2394,7 +2394,7 @@ ExternalTabContainer* AutomationProvider::GetExternalTabForHandle(int handle) {
DCHECK(tab_contents);
if (tab_contents) {
return ExternalTabContainer::GetContainerForTab(
- tab_contents->GetContainerHWND());
+ tab_contents->GetNativeView());
}
}