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

Unified Diff: views/controls/native/native_view_host.cc

Issue 6995126: Make web content accessibility tree a descendant of main window's tree again (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « views/controls/native/native_view_host.h ('k') | views/controls/native/native_view_host_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host.cc
===================================================================
--- views/controls/native/native_view_host.cc (revision 88807)
+++ views/controls/native/native_view_host.cc (working copy)
@@ -200,6 +200,17 @@
return View::ContainsNativeView(native_view);
}
+gfx::NativeViewAccessible NativeViewHost::GetNativeViewAccessible() {
+ if (native_wrapper_.get()) {
+ gfx::NativeViewAccessible accessible_view =
+ native_wrapper_->GetNativeViewAccessible();
+ if (accessible_view)
+ return accessible_view;
+ }
+
+ return View::GetNativeViewAccessible();
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeViewHost, private:
« no previous file with comments | « views/controls/native/native_view_host.h ('k') | views/controls/native/native_view_host_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698