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

Unified Diff: chrome/browser/browser_accessibility.h

Issue 46013: Removes all use of COM and dependencies on Windows-specific classes (includin... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/browser_accessibility.cc » ('j') | webkit/glue/webaccessibilitymanager.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_accessibility.h
===================================================================
--- chrome/browser/browser_accessibility.h (revision 12107)
+++ chrome/browser/browser_accessibility.h (working copy)
@@ -11,8 +11,9 @@
#include <oleacc.h>
#include "base/basictypes.h"
+#include "webkit/glue/webaccessibility.h"
-struct AccessibilityOutParams;
+using webkit_glue::WebAccessibility;
////////////////////////////////////////////////////////////////////////////////
//
@@ -133,7 +134,7 @@
// BrowserAccessibilityManager.
// Creates an instance of BrowserAccessibility, initializes it and sets the
- // |iaccessible_id| and |parent_id|.
+ // [iaccessible_id] and [parent_id].
STDMETHODIMP CreateInstance(REFIID iid,
int iaccessible_id,
void** interface_ptr);
@@ -146,9 +147,17 @@
LONG input1, LONG input2);
// Accessors.
- const AccessibilityOutParams& response();
+ const WebAccessibility::OutParams& response();
HWND parent_hwnd();
+ // Returns a conversion from the BrowserAccessibilityRole (as defined in
+ // webkit/glue/webaccessibility.h) to an MSAA role.
+ long MSAARole(long browser_accessibility_role);
+
+ // Returns a conversion from the BrowserAccessibilityState (as defined in
+ // webkit/glue/webaccessibility.h) to MSAA states set.
+ long MSAAState(long browser_accessibility_state);
+
// Id to uniquely distinguish this instance in the render-side caching,
// mapping it to the correct IAccessible on that side. Initialized to -1.
int iaccessible_id_;
« no previous file with comments | « no previous file | chrome/browser/browser_accessibility.cc » ('j') | webkit/glue/webaccessibilitymanager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698