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

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
Index: views/controls/native/native_view_host.cc
===================================================================
--- views/controls/native/native_view_host.cc (revision 88518)
+++ views/controls/native/native_view_host.cc (working copy)
@@ -200,6 +200,15 @@
return View::ContainsNativeView(native_view);
}
+gfx::NativeAccessibleView NativeViewHost::GetNativeAccessibleView() {
+ gfx::NativeAccessibleView accessible_view =
Chris Guillory 2011/06/10 19:10:09 Do we need to verify native_wrapper_.get()?
dmazzoni 2011/06/10 22:38:40 Done.
+ native_wrapper_->GetNativeAccessibleView();
+ if (accessible_view)
+ return accessible_view;
+
+ return View::GetNativeAccessibleView();
+}
+
////////////////////////////////////////////////////////////////////////////////
// NativeViewHost, private:

Powered by Google App Engine
This is Rietveld 408576698