summaryrefslogtreecommitdiffstats
path: root/views/controls/native
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 02:50:56 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-13 02:50:56 +0000
commit50264918ffe6571a692525f06d976d6005e6dd78 (patch)
treeed617c1ac39cbcda866defb899b7c10146b08966 /views/controls/native
parent84e59a487499dbfb1e52cf066f124aaef78782ba (diff)
downloadchromium_src-50264918ffe6571a692525f06d976d6005e6dd78.zip
chromium_src-50264918ffe6571a692525f06d976d6005e6dd78.tar.gz
chromium_src-50264918ffe6571a692525f06d976d6005e6dd78.tar.bz2
Remove unused ContainsNativeView methods.
BUG=none TEST=none TBR=sky Review URL: http://codereview.chromium.org/7352001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92305 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/native')
-rw-r--r--views/controls/native/native_view_host.cc13
-rw-r--r--views/controls/native/native_view_host.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/views/controls/native/native_view_host.cc b/views/controls/native/native_view_host.cc
index c9fd990..616ad69 100644
--- a/views/controls/native/native_view_host.cc
+++ b/views/controls/native/native_view_host.cc
@@ -180,19 +180,6 @@ void NativeViewHost::OnFocus() {
this, ui::AccessibilityTypes::EVENT_FOCUS, true);
}
-bool NativeViewHost::ContainsNativeView(gfx::NativeView native_view) const {
- if (native_view == native_view_)
- return true;
- if (!native_view_)
- return false;
-
- views::Widget* widget = views::Widget::GetWidgetForNativeView(native_view);
- if (widget && widget->ContainsNativeView(native_view))
- return true;
-
- return View::ContainsNativeView(native_view);
-}
-
gfx::NativeViewAccessible NativeViewHost::GetNativeViewAccessible() {
if (native_wrapper_.get()) {
gfx::NativeViewAccessible accessible_view =
diff --git a/views/controls/native/native_view_host.h b/views/controls/native/native_view_host.h
index 30e4ddc..cb711cd 100644
--- a/views/controls/native/native_view_host.h
+++ b/views/controls/native/native_view_host.h
@@ -81,7 +81,6 @@ class NativeViewHost : public View {
virtual void OnPaint(gfx::Canvas* canvas);
virtual void VisibilityChanged(View* starting_from, bool is_visible);
virtual void OnFocus();
- virtual bool ContainsNativeView(gfx::NativeView native_view) const;
virtual gfx::NativeViewAccessible GetNativeViewAccessible();
protected: