2011-02-18 Dominic Mazzoni <dmazzoni@google.com>

        Reviewed by Dimitri Glazkov.

        Marks any actions triggered by performDefaultAction as a user
        gesture, so that a user with a screen reader isn't prevented from
        performing operations that must be triggered by a user gesture.
        https://bugs.webkit.org/show_bug.cgi?id=54759

        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::performDefaultAction):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent a025728e
2011-02-18 Dominic Mazzoni <dmazzoni@google.com>
Reviewed by Dimitri Glazkov.
Marks any actions triggered by performDefaultAction as a user
gesture, so that a user with a screen reader isn't prevented from
performing operations that must be triggered by a user gesture.
https://bugs.webkit.org/show_bug.cgi?id=54759
* src/WebAccessibilityObject.cpp:
(WebKit::WebAccessibilityObject::performDefaultAction):
2011-02-18 Kenneth Russell <kbr@google.com>
Reviewed by James Robinson.
......
......@@ -39,6 +39,7 @@
#include "Node.h"
#include "PlatformKeyboardEvent.h"
#include "RenderStyle.h"
#include "UserGestureIndicator.h"
#include "WebDocument.h"
#include "WebNode.h"
#include "WebPoint.h"
......@@ -425,6 +426,8 @@ bool WebAccessibilityObject::performDefaultAction() const
if (!m_private)
return false;
UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture);
m_private->updateBackingStore();
return m_private->performDefaultAction();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment