Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Unified Diff: ui/views/controls/webview/webview.cc

Issue 23506027: Implement web content hit testing in win aura. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile error Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/controls/webview/webview.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « ui/views/controls/webview/webview.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698