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

Unified Diff: views/view.h

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/view.h
===================================================================
--- views/view.h (revision 88518)
+++ views/view.h (working copy)
@@ -173,10 +173,6 @@
// Returns whether the view is hot-tracked.
virtual bool IsHotTracked() const;
- // FATE TBD ------------------------------------------------------------------
- // TODO(beng): Figure out what these methods are for and delete them.
- virtual Widget* GetChildWidget();
-
// Creation and lifetime -----------------------------------------------------
View();
@@ -872,11 +868,8 @@
// Modifies |state| to reflect the current accessible state of this view.
virtual void GetAccessibleState(ui::AccessibleViewState* state) { }
-#if defined(OS_WIN)
- // Returns an instance of the Windows-specific accessibility interface
- // for this View.
- NativeViewAccessibilityWin* GetNativeViewAccessibilityWin();
-#endif
+ // Returns an instance of the native accessibility interface for this View.
+ virtual gfx::NativeAccessibleView GetNativeAccessibleView();
// Scrolling -----------------------------------------------------------------
// TODO(beng): Figure out if this can live somewhere other than View, i.e.
@@ -1447,8 +1440,8 @@
// Accessibility -------------------------------------------------------------
-#if defined(OS_WIN)
// The Windows-specific accessibility implementation for this View.
+#ifdef OS_WIN
tfarina 2011/06/10 20:09:01 the old code is corrected and the preferred way.
dmazzoni 2011/06/10 22:38:40 Done.
scoped_refptr<NativeViewAccessibilityWin> native_view_accessibility_win_;
#endif

Powered by Google App Engine
This is Rietveld 408576698