From 3fe2d9e6b0319e972b72beb5082d5486f7cb26d0 Mon Sep 17 00:00:00 2001
From: "dmazzoni@chromium.org"
 <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Wed, 6 Mar 2013 09:12:21 +0000
Subject: Implement Windows accessibility for Aura.

Windows accessibility requires posting notifications
on an HWND, then listening for messages on that HWND
and routing them back to the appropriate child object.
Before, that code was implemented in NativeWidgetWin
because a NativeWidget corresponded to an HWND.

Now with Aura, a Widget doesn't necessarily have an
HWND, so there's now a new class,
NativeWidgetAccessibilityWin, that's a companion to
NativeViewAccessibilityWin and handles this abstraction.

Refactored some code so that we don't need screen
reader detection or dynamic HWND annotation (in
methods like SetAccessibilityRole, etc.) anymore.

Tested with Windows screen readers. Web content is
still not accessible in Aura, that will be the next
changelist. Win 8 in Metro mode is not accessible yet,
that's going to require further changes.

BUG=175156


Review URL: https://chromiumcodereview.appspot.com/12335075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186382 0039d316-1c4b-4281-b951-d872f2087c98
---
 ui/views/view_win.cc | 8 --------
 1 file changed, 8 deletions(-)

(limited to 'ui/views/view_win.cc')

diff --git a/ui/views/view_win.cc b/ui/views/view_win.cc
index 472fbcd..183a775 100644
--- a/ui/views/view_win.cc
+++ b/ui/views/view_win.cc
@@ -9,16 +9,8 @@
 #include <initguid.h>
 #include <oleacc.h>
 
-#include "ui/views/accessibility/native_view_accessibility_win.h"
-
 namespace views {
 
-gfx::NativeViewAccessible View::GetNativeViewAccessible() {
-  if (!native_view_accessibility_win_.get())
-    native_view_accessibility_win_ = NativeViewAccessibilityWin::Create(this);
-  return native_view_accessibility_win_.get();
-}
-
 int View::GetHorizontalDragThreshold() {
   static int threshold = -1;
   if (threshold == -1)
-- 
cgit v1.1