Changeset 46915 in webkit
- Timestamp:
- Aug 7, 2009 2:39:03 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r46913 r46915 1 2009-08-07 Alpha Lam <hclam@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Right click on timeline of media controls panel cause seek 6 https://bugs.webkit.org/show_bug.cgi?id=27920 7 8 Add a test simulate the behavior of seeking by right clicking 9 on the time bar of media controls while playing. 10 11 * media/controls-right-click-on-timebar-expected.txt: Added. 12 * media/controls-right-click-on-timebar.html: Added. 13 1 14 2009-08-07 Darin Adler <darin@apple.com> 2 15 -
trunk/WebCore/ChangeLog
r46914 r46915 1 2009-08-07 Alpha Lam <hclam@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Right click on timeline of media controls panel cause seek 6 https://bugs.webkit.org/show_bug.cgi?id=27920 7 8 Add a test simulate the behavior of seeking by right clicking 9 on the time bar of media controls while playing. 10 11 * media/controls-right-click-on-timebar-expected.txt: Added. 12 * media/controls-right-click-on-timebar.html: Added. 13 1 14 2009-08-07 Ryosuke Niwa <rniwa@webkit.org> 2 15 -
trunk/WebCore/rendering/MediaControlElements.cpp
r46815 r46915 483 483 void MediaControlTimelineElement::defaultEventHandler(Event* event) 484 484 { 485 // Left button is 0. Accepts only if mouse event is from left button. 486 if (!event->isMouseEvent() || static_cast<MouseEvent*>(event)->button()) 487 return; 488 485 489 if (event->type() == eventNames().mousedownEvent) 486 490 m_mediaElement->beginScrubbing();
Note: See TracChangeset
for help on using the changeset viewer.