summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 20:59:48 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 20:59:48 +0000
commit5a7ba9b55910ce02c00ef43831d054d6ef7a311e (patch)
tree8c81dd64a405d28472d5d2eb9beac81562bd7931 /chrome/browser/views
parent42339e9c36f2258b059129101063660cdbaa9e4d (diff)
downloadchromium_src-5a7ba9b55910ce02c00ef43831d054d6ef7a311e.zip
chromium_src-5a7ba9b55910ce02c00ef43831d054d6ef7a311e.tar.gz
chromium_src-5a7ba9b55910ce02c00ef43831d054d6ef7a311e.tar.bz2
plugins: rename GetPluginNativeView to GetNativeView.
That's what the function does, and some callers that had nothing to do with plugins were calling GetPluginNativeView. Review URL: http://codereview.chromium.org/118094 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc4
-rw-r--r--chrome/browser/views/tab_contents/native_tab_contents_container_win.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc b/chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc
index c56d062..3ff5d2e 100644
--- a/chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc
+++ b/chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc
@@ -85,12 +85,12 @@ void NativeTabContentsContainerGtk::RenderViewHostChanged(
#if defined(OS_WIN)
if (old_host && old_host->view()) {
views::FocusManager::UninstallFocusSubclass(
- old_host->view()->GetPluginNativeView());
+ old_host->view()->GetNativeView());
}
if (new_host && new_host->view()) {
views::FocusManager::InstallFocusSubclass(
- new_host->view()->GetPluginNativeView(), this);
+ new_host->view()->GetNativeView(), this);
}
// If we are focused, we need to pass the focus to the new RenderViewHost.
diff --git a/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc b/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
index 8dccc4c..eaecb12 100644
--- a/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
+++ b/chrome/browser/views/tab_contents/native_tab_contents_container_win.cc
@@ -74,12 +74,12 @@ void NativeTabContentsContainerWin::RenderViewHostChanged(
RenderViewHost* new_host) {
if (old_host && old_host->view()) {
views::FocusManager::UninstallFocusSubclass(
- old_host->view()->GetPluginNativeView());
+ old_host->view()->GetNativeView());
}
if (new_host && new_host->view()) {
views::FocusManager::InstallFocusSubclass(
- new_host->view()->GetPluginNativeView(), this);
+ new_host->view()->GetNativeView(), this);
}
// If we are focused, we need to pass the focus to the new RenderViewHost.