summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 00:30:32 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-29 00:30:32 +0000
commitd615ad7ae65beddc26c9833b7bfd1d7bdb6f3d7b (patch)
treeee692e43ef5cc38b4d64caaffe0c24232d006623 /chrome/browser/views
parent29e1eff79f5c6eae302a545124f636d1d48ef623 (diff)
downloadchromium_src-d615ad7ae65beddc26c9833b7bfd1d7bdb6f3d7b.zip
chromium_src-d615ad7ae65beddc26c9833b7bfd1d7bdb6f3d7b.tar.gz
chromium_src-d615ad7ae65beddc26c9833b7bfd1d7bdb6f3d7b.tar.bz2
Rename RenderWidgetHostView::GetPluginHWND to GetPluginNativeView
Review URL: http://codereview.chromium.org/19438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8846 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/tab_contents_container_view.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/browser/views/tab_contents_container_view.cc b/chrome/browser/views/tab_contents_container_view.cc
index cfcb301..2fb25a1 100644
--- a/chrome/browser/views/tab_contents_container_view.cc
+++ b/chrome/browser/views/tab_contents_container_view.cc
@@ -227,11 +227,15 @@ void TabContentsContainerView::RemoveObservers() {
void TabContentsContainerView::RenderViewHostChanged(RenderViewHost* old_host,
RenderViewHost* new_host) {
- if (old_host && old_host->view())
- FocusManager::UninstallFocusSubclass(old_host->view()->GetPluginHWND());
+ if (old_host && old_host->view()) {
+ FocusManager::UninstallFocusSubclass(
+ old_host->view()->GetPluginNativeView());
+ }
- if (new_host && new_host->view())
- FocusManager::InstallFocusSubclass(new_host->view()->GetPluginHWND(), this);
+ if (new_host && new_host->view()) {
+ FocusManager::InstallFocusSubclass(
+ new_host->view()->GetPluginNativeView(), this);
+ }
// If we are focused, we need to pass the focus to the new RenderViewHost.
FocusManager* focus_manager =