Changeset 69143 in webkit
- Timestamp:
- Oct 5, 2010 1:41:15 PM (14 years ago)
- Location:
- trunk/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r69139 r69143 1 2010-10-05 Andrew Wilson <atwilson@chromium.org> 2 3 Reviewed by Andreas Kling. 4 5 Notification onclick() events don't act like user gestures 6 https://bugs.webkit.org/show_bug.cgi?id=47137 7 8 * src/WebNotification.cpp: 9 (WebKit::WebNotification::dispatchClickEvent): 10 Use UserGestureIndicator to make sure click events are treated like user gestures. 11 1 12 2010-10-05 Alok Priyadarshi <alokp@chromium.org> 2 13 -
trunk/WebKit/chromium/src/WebNotification.cpp
r66470 r69143 35 35 36 36 #include "Notification.h" 37 #include "UserGestureIndicator.h" 37 38 38 39 #include "WebString.h" … … 141 142 void WebNotification::dispatchClickEvent() 142 143 { 144 // Make sure clicks on notifications are treated as user gestures. 145 UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture); 143 146 RefPtr<Event> event = Event::create(eventNames().clickEvent, false, true); 144 147 m_private->dispatchEvent(event.release()); -
trunk/WebKit/qt/ChangeLog
r69133 r69143 1 2010-10-05 Andrew Wilson <atwilson@chromium.org> 2 3 Reviewed by Andreas Kling. 4 5 Notification onclick() events don't act like user gestures 6 https://bugs.webkit.org/show_bug.cgi?id=47137 7 8 * WebCoreSupport/NotificationPresenterClientQt.cpp: 9 (WebCore::NotificationPresenterClientQt::notificationClicked): 10 Use UserGestureIndicator to make sure click events are treated like user gestures. 11 1 12 2010-10-05 Robert Hogan <robert@webkit.org> 2 13 -
trunk/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
r67272 r69143 41 41 #include "ScriptExecutionContext.h" 42 42 #include "SecurityOrigin.h" 43 #include "UserGestureIndicator.h" 43 44 44 45 #include "qwebframe_p.h" … … 263 264 { 264 265 Notification* notification = notificationForWrapper(wrapper); 265 if (notification) 266 if (notification) { 267 // Make sure clicks on notifications are treated as user gestures. 268 UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture); 266 269 sendEvent(notification, eventNames().clickEvent); 270 } 267 271 } 268 272
Note: See TracChangeset
for help on using the changeset viewer.