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

Unified Diff: chrome/browser/accessibility/browser_accessibility_win_unittest.cc

Issue 7966013: Rewrite renderer accessibility to not use WebAccessibilityCache. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
Index: chrome/browser/accessibility/browser_accessibility_win_unittest.cc
===================================================================
--- chrome/browser/accessibility/browser_accessibility_win_unittest.cc (revision 103158)
+++ chrome/browser/accessibility/browser_accessibility_win_unittest.cc (working copy)
@@ -193,7 +193,9 @@
text.name = L"new text";
ViewHostMsg_AccessibilityNotification_Params param;
param.notification_type = ViewHostMsg_AccEvent::CHILDREN_CHANGED;
- param.acc_obj = text;
+ param.acc_tree = text;
+ param.includes_children = true;
+ param.id = text.id;
std::vector<ViewHostMsg_AccessibilityNotification_Params> notifications;
notifications.push_back(param);
manager->OnAccessibilityNotifications(notifications);
@@ -263,7 +265,9 @@
root.children.clear();
ViewHostMsg_AccessibilityNotification_Params param;
param.notification_type = ViewHostMsg_AccEvent::CHILDREN_CHANGED;
- param.acc_obj = root;
+ param.acc_tree = root;
+ param.includes_children = true;
+ param.id = root.id;
std::vector<ViewHostMsg_AccessibilityNotification_Params> notifications;
notifications.push_back(param);
manager->OnAccessibilityNotifications(notifications);

Powered by Google App Engine
This is Rietveld 408576698