summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_thread_impl.cc
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 /content/renderer/render_thread_impl.cc
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 'content/renderer/render_thread_impl.cc')
-rw-r--r--content/renderer/render_thread_impl.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index a047050..b1aba00 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -890,7 +890,8 @@ void RenderThreadImpl::OnCreateNewView(const ViewMsg_New_Params& params) {
params.frame_name,
params.next_page_id,
params.screen_info,
- params.guest);
+ params.guest,
+ params.accessibility_mode);
}
GpuChannelHost* RenderThreadImpl::EstablishGpuChannelSync(