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

Unified Diff: content/browser/accessibility/browser_accessibility_win.h

Issue 10662003: Allow filters in accessibility tests to specify which attributes to check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix repetitive code, re-enable webkit strings. Created 8 years, 5 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 | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_win.h
diff --git a/content/browser/accessibility/browser_accessibility_win.h b/content/browser/accessibility/browser_accessibility_win.h
index 03f70a75aac8c64a44dab9e17a91d7ec95fafba7..c4385d083e4e66caf03f1ebeec34b4dd5d1caa7c 100644
--- a/content/browser/accessibility/browser_accessibility_win.h
+++ b/content/browser/accessibility/browser_accessibility_win.h
@@ -747,9 +747,14 @@ BrowserAccessibilityWin
REFIID iid,
void** object);
- // Accessors to IA2 role and state.
- int32 ia2_role() { return ia2_role_; }
- int32 ia2_state() { return ia2_state_; }
+ // Accessors.
+ int32 ia_role() const { return ia_role_; }
+ int32 ia_state() const { return ia_state_; }
+ int32 ia2_role() const { return ia2_role_; }
+ int32 ia2_state() const { return ia2_state_; }
+ const std::vector<string16>& ia2_attributes() const {
+ return ia2_attributes_;\
+ }
private:
// Add one to the reference count and return the same object. Always
« no previous file with comments | « no previous file | content/browser/accessibility/dump_accessibility_tree_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698