summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webaccessibility.h
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 14:52:25 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 14:52:25 +0000
commit245bed0b07a12b2753e236eb741eeda661154c14 (patch)
treedfa5472f37268c0f55b4fd831472d2081871ec1e /webkit/glue/webaccessibility.h
parent1e1195e5b3e90338d9b8be979a75320902cee62f (diff)
downloadchromium_src-245bed0b07a12b2753e236eb741eeda661154c14.zip
chromium_src-245bed0b07a12b2753e236eb741eeda661154c14.tar.gz
chromium_src-245bed0b07a12b2753e236eb741eeda661154c14.tar.bz2
Revert 57327 - Re-landing. Add html node info (tag name, attributes, and computed display)
and document info (url, title, mimetype, doctype) to WebAccessibility. BUG=none TEST=Modified unit test: RenderMessagesUnittest.WebAccessibility Review URL: http://codereview.chromium.org/3013035 TBR=dmazzoni@chromium.org Review URL: http://codereview.chromium.org/3132040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webaccessibility.h')
-rw-r--r--webkit/glue/webaccessibility.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/webkit/glue/webaccessibility.h b/webkit/glue/webaccessibility.h
index 1836948..305bc0ca 100644
--- a/webkit/glue/webaccessibility.h
+++ b/webkit/glue/webaccessibility.h
@@ -147,20 +147,9 @@ struct WebAccessibility {
STATE_UNAVAILABLE
};
- // Additional optional attributes that can be optionally attached to
- // a node.
enum Attribute {
- // Doc attributes: only make sense when applied to the top-level
- // Document node.
- ATTR_DOC_URL,
- ATTR_DOC_TITLE,
- ATTR_DOC_MIMETYPE,
- ATTR_DOC_DOCTYPE,
-
- // Attributes that could apply to any node.
ATTR_ACTION,
ATTR_DESCRIPTION,
- ATTR_DISPLAY,
ATTR_HELP,
ATTR_HTML_TAG,
ATTR_LINK_TARGET,
@@ -191,7 +180,6 @@ struct WebAccessibility {
WebKit::WebRect location;
std::map<int32, string16> attributes;
std::vector<WebAccessibility> children;
- std::vector<std::pair<string16, string16> > html_attributes;
};
} // namespace webkit_glue