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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 3013035: Add html node info (tag name, attributes, and computed display) and document... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add html node info (tag name, attributes, and computed display) and document... Created 10 years, 4 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/renderer_host/render_view_host.cc
===================================================================
--- chrome/browser/renderer_host/render_view_host.cc (revision 57849)
+++ chrome/browser/renderer_host/render_view_host.cc (working copy)
@@ -53,11 +53,6 @@
#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/webdropdata.h"
-#if defined(OS_WIN)
-// TODO(port): accessibility not yet implemented. See http://crbug.com/8288.
-#include "chrome/browser/browser_accessibility_manager_win.h"
-#endif
-
using base::TimeDelta;
using webkit_glue::FormData;
using webkit_glue::PasswordForm;
@@ -135,7 +130,8 @@
sudden_termination_allowed_(false),
session_storage_namespace_id_(session_storage_namespace_id),
is_extension_process_(false),
- autofill_query_id_(0) {
+ autofill_query_id_(0),
+ save_accessibility_tree_for_testing_(false) {
DCHECK(instance_);
DCHECK(delegate_);
}
@@ -1979,6 +1975,9 @@
if (view())
view()->UpdateAccessibilityTree(tree);
+ if (save_accessibility_tree_for_testing_)
+ accessibility_tree_ = tree;
+
NotificationService::current()->Notify(
NotificationType::RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED,
Source<RenderViewHost>(this),

Powered by Google App Engine
This is Rietveld 408576698