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

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

Issue 4292001: Add basic support for accessibility hit testing within web contents.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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/accessibility/browser_accessibility_win.h
===================================================================
--- chrome/browser/accessibility/browser_accessibility_win.h (revision 62773)
+++ chrome/browser/accessibility/browser_accessibility_win.h (working copy)
@@ -457,26 +457,12 @@
// bitmasks defined in webkit/glue/webaccessibility.h.
void InitRoleAndState();
- // Return true if this attribute is in the attributes map.
- bool HasAttribute(WebAccessibility::Attribute attribute);
-
// Retrieve the string value of an attribute from the attribute map and
- // returns true if found.
- bool GetAttribute(WebAccessibility::Attribute attribute, string16* value);
-
- // Retrieve the string value of an attribute from the 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 GetAttributeAsBstr(
WebAccessibility::Attribute attribute, BSTR* value_bstr);
- // Retrieve the value of an attribute from the attribute map and
- // if found and nonempty, try to convert it to an integer.
- // Returns true only if both the attribute was found and it was successfully
- // converted to an integer.
- bool GetAttributeAsInt(
- WebAccessibility::Attribute attribute, int* value_int);
-
// Escape a string like it would be escaped for a URL or HTML form.
string16 Escape(string16 str);

Powered by Google App Engine
This is Rietveld 408576698