Add support for PlatformWebView::simulateRightClick() and enable WebKit2 unit test that uses it.
Created attachment 176726 [details] Patch
Comment on attachment 176726 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=176726&action=review > Tools/TestWebKitAPI/efl/PlatformWebView.cpp:105 > +void PlatformWebView::simulateRightClick(unsigned x, unsigned y) Don't you need to use left click as well ? In WK1, I added a button type argument to mouseClick function. void mouseClick(int x, int y, int button = 1 /*Left*/);
Comment on attachment 176726 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=176726&action=review >> Tools/TestWebKitAPI/efl/PlatformWebView.cpp:105 >> +void PlatformWebView::simulateRightClick(unsigned x, unsigned y) > > Don't you need to use left click as well ? In WK1, I added a button type argument to mouseClick function. > > void mouseClick(int x, int y, int button = 1 /*Left*/); Left click is not required. API test expects only the right click.
Comment on attachment 176726 [details] Patch Clearing flags on attachment: 176726 Committed r136217: <http://trac.webkit.org/changeset/136217>
All reviewed patches have been landed. Closing bug.