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

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

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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.h
===================================================================
--- chrome/browser/renderer_host/render_view_host.h (revision 57849)
+++ chrome/browser/renderer_host/render_view_host.h (working copy)
@@ -22,6 +22,7 @@
#include "third_party/WebKit/WebKit/chromium/public/WebDragOperation.h"
#include "third_party/WebKit/WebKit/chromium/public/WebPopupType.h"
#include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
+#include "webkit/glue/webaccessibility.h"
#include "webkit/glue/window_open_disposition.h"
class FilePath;
@@ -475,7 +476,16 @@
void EnablePreferredSizeChangedMode(int flags);
#if defined(UNIT_TEST)
- // This shouldn't be necessary outside of testing.
+ // These functions shouldn't be necessary outside of testing.
+
+ void set_save_accessibility_tree_for_testing(bool save) {
+ save_accessibility_tree_for_testing_ = save;
+ }
+
+ const webkit_glue::WebAccessibility& accessibility_tree() {
+ return accessibility_tree_;
+ }
+
bool is_waiting_for_unload_ack() { return is_waiting_for_unload_ack_; }
#endif
@@ -744,6 +754,12 @@
std::vector<string16> autofill_icons_;
std::vector<int> autofill_unique_ids_;
+ // Whether the accessibility tree should be saved, for unit testing.
+ bool save_accessibility_tree_for_testing_;
+
+ // The most recently received accessibility tree - for unit testing only.
+ webkit_glue::WebAccessibility accessibility_tree_;
+
DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
};
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698