summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/android/PopupMenuAndroid.cpp
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2011-01-05 18:52:54 -0800
committerSvetoslav Ganov <svetoslavganov@google.com>2011-01-07 14:03:44 -0800
commita7dc4e9c5714f32e3a46c4d39f096e4d463a40cb (patch)
tree997308b88022b8608e91baea2e36ca9f3b40d791 /WebCore/platform/android/PopupMenuAndroid.cpp
parent44009dc8813df9eb0815bf581740a7c365f3b515 (diff)
downloadexternal_webkit-a7dc4e9c5714f32e3a46c4d39f096e4d463a40cb.zip
external_webkit-a7dc4e9c5714f32e3a46c4d39f096e4d463a40cb.tar.gz
external_webkit-a7dc4e9c5714f32e3a46c4d39f096e4d463a40cb.tar.bz2
bug:3325039 Making the cursor ring movement send accessibility events.
1. Added a mechanism to select the cursor ring content if accessibility is enabled - This is achieved by sending an event to the WebCore thread (if accessibility is enabled) to select the content of the cursor when the latter moves. Added code in WebViewCore to select the given node and notify the UI thread for the selection markup which is delivered of the accessibility injector which manages sending accessibility events. This is relevant for adding accessibility to WebView if JavaScript is not enabled. (If JS is enabled we inject a screenreader written in JS). 2. Fixed the event delegation to the accessibility injector since it should be able to consume key events of interest and perform some action which leads to sending appropriate accessibility event. In the previous implementation it was possible that the injector consumes the event but the latter was bubbled up. 3. Added function to scroll the selection into view while moving it around based on user commands. Note: This is a two project change. Change-Id: Ica27f317e194474d4e38aba5d7a2c0acc9f05a33
Diffstat (limited to 'WebCore/platform/android/PopupMenuAndroid.cpp')
0 files changed, 0 insertions, 0 deletions