summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 21:16:29 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-13 21:16:29 +0000
commit3e3c452f5119bc837ebc98af5de8d5d75cd04ce6 (patch)
tree8e06f820d5562a0e8f7be427bfff37bb9c92fb78 /webkit/glue
parent2436a6b19ebb77226b96b0e37623b9b0785e172c (diff)
downloadchromium_src-3e3c452f5119bc837ebc98af5de8d5d75cd04ce6.zip
chromium_src-3e3c452f5119bc837ebc98af5de8d5d75cd04ce6.tar.gz
chromium_src-3e3c452f5119bc837ebc98af5de8d5d75cd04ce6.tar.bz2
Add an accessibility mode for editable text fields only.
This refactors the triggering of accessibility mode from a boolean state and command-line flag to an AccessibilityMode enum that's passed directly when a new RenderView is created, which is also more readable and avoids the extra command-line flag. Adds a new mode that only syncs editable text nodes, and enables this on Windows 8 so that we can support showing the virtual keyboard when an editable text field gets focus. BUG=122061,118641 TEST=Adds new test Review URL: http://codereview.chromium.org/9939011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132267 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/webaccessibility.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/webaccessibility.h b/webkit/glue/webaccessibility.h
index 3b6df7a..2b5f928 100644
--- a/webkit/glue/webaccessibility.h
+++ b/webkit/glue/webaccessibility.h
@@ -259,6 +259,10 @@ struct WEBKIT_GLUE_EXPORT WebAccessibility {
~WebAccessibility();
+ // Initialize an already-created struct, same as the constructor above.
+ void Init(const WebKit::WebAccessibilityObject& src,
+ bool include_children);
+
#ifndef NDEBUG
std::string DebugString(bool recursive,
int render_routing_id,
@@ -266,10 +270,6 @@ struct WEBKIT_GLUE_EXPORT WebAccessibility {
#endif
private:
- // Initialize an already-created struct, same as the constructor above.
- void Init(const WebKit::WebAccessibilityObject& src,
- bool include_children);
-
// Returns true if |ancestor| is the first unignored parent of |child|,
// which means that when walking up the parent chain from |child|,
// |ancestor| is the *first* ancestor that isn't marked as