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

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

Issue 10544099: Refactor all accessibility code out of webkit/glue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More Mac compile errors Created 8 years, 6 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: 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 114770d69eb394d227be2a6591f8a17f57466260..0aeffeec492a04f3393ee21accc49879526d39a7 100644
--- a/content/browser/accessibility/browser_accessibility_win.h
+++ b/content/browser/accessibility/browser_accessibility_win.h
@@ -20,7 +20,6 @@
#include "third_party/isimpledom/ISimpleDOMDocument.h"
#include "third_party/isimpledom/ISimpleDOMNode.h"
#include "third_party/isimpledom/ISimpleDOMText.h"
-#include "webkit/glue/webaccessibility.h"
class BrowserAccessibilityRelation;
@@ -29,8 +28,6 @@ enum TextBoundaryDirection;
enum TextBoundaryType;
}
-using webkit_glue::WebAccessibility;
-
////////////////////////////////////////////////////////////////////////////////
//
// BrowserAccessibilityWin
@@ -769,29 +766,33 @@ BrowserAccessibilityWin
BrowserAccessibilityWin* GetTargetFromChildID(const VARIANT& var_id);
// Initialize the role and state metadata from the role enum and state
- // bitmasks defined in webkit/glue/webaccessibility.h.
+ // bitmasks defined in AccessibilityNodeData.
void InitRoleAndState();
// Retrieve the value of an attribute from the string attribute map and
// if found and nonempty, allocate a new BSTR (with SysAllocString)
// and return S_OK. If not found or empty, return S_FALSE.
HRESULT GetStringAttributeAsBstr(
- WebAccessibility::StringAttribute attribute, BSTR* value_bstr);
+ content::AccessibilityNodeData::StringAttribute attribute,
+ BSTR* value_bstr);
// If the string attribute |attribute| is present, add its value as an
// IAccessible2 attribute with the name |ia2_attr|.
void StringAttributeToIA2(
- WebAccessibility::StringAttribute attribute, const char* ia2_attr);
+ content::AccessibilityNodeData::StringAttribute attribute,
+ const char* ia2_attr);
// If the bool attribute |attribute| is present, add its value as an
// IAccessible2 attribute with the name |ia2_attr|.
void BoolAttributeToIA2(
- WebAccessibility::BoolAttribute attribute, const char* ia2_attr);
+ content::AccessibilityNodeData::BoolAttribute attribute,
+ const char* ia2_attr);
// If the int attribute |attribute| is present, add its value as an
// IAccessible2 attribute with the name |ia2_attr|.
void IntAttributeToIA2(
- WebAccessibility::IntAttribute attribute, const char* ia2_attr);
+ content::AccessibilityNodeData::IntAttribute attribute,
+ const char* ia2_attr);
// Get the text of this node for the purposes of IAccessibleText - it may
// be the name, it may be the value, etc. depending on the role.

Powered by Google App Engine
This is Rietveld 408576698