Index: ui/views/controls/webview/webview.cc |
diff --git a/ui/views/controls/webview/webview.cc b/ui/views/controls/webview/webview.cc |
index 89ac03758e5827b7851451fb3ab9c0e7725c19c8..28b8b7adc21dff5546bf12d485e6e1b559b73f1d 100644 |
--- a/ui/views/controls/webview/webview.cc |
+++ b/ui/views/controls/webview/webview.cc |
@@ -4,6 +4,7 @@ |
#include "ui/views/controls/webview/webview.h" |
+#include "content/public/browser/browser_accessibility_state.h" |
#include "content/public/browser/browser_context.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/notification_details.h" |
@@ -186,28 +187,6 @@ void WebView::WebContentsFocused(content::WebContents* web_contents) { |
} |
//////////////////////////////////////////////////////////////////////////////// |
-// WebView, AccessibleWebView implementation: |
- |
-gfx::NativeViewAccessible WebView::AccessibleObjectFromChildId(long child_id) { |
-#if defined(OS_WIN) && defined(USE_AURA) |
- if (!web_contents_) |
- return NULL; |
- content::RenderWidgetHostView* host_view = |
- web_contents_->GetRenderWidgetHostView(); |
- if (host_view) |
- return host_view->AccessibleObjectFromChildId(child_id); |
- return NULL; |
-#else |
- NOTIMPLEMENTED(); |
- return NULL; |
-#endif |
-} |
- |
-View* WebView::AsView() { |
- return this; |
-} |
- |
-//////////////////////////////////////////////////////////////////////////////// |
// WebView, private: |
void WebView::AttachWebContents() { |