Bug 51902

Summary: [Qt] [WK2] Add support for non-trivial context menu action
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kenneth
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on: 51825    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Benjamin Poulain
Reported 2011-01-04 15:19:47 PST
The patch https://bugs.webkit.org/show_bug.cgi?id=51825 added support for the context menu. Now it is time to use it to peform something useful :)
Attachments
Patch (8.01 KB, patch)
2011-01-04 15:39 PST, Benjamin Poulain
no flags
Patch (7.62 KB, patch)
2011-01-04 15:41 PST, Benjamin Poulain
no flags
Kenneth Rohde Christiansen
Comment 1 2011-01-04 15:25:51 PST
(In reply to comment #0) > The patch https://bugs.webkit.org/show_bug.cgi?id=51825 added support for the context menu. Now it is time to use it to peform something useful :) You don't seem to like the letter r in the beginning of words: peform and suppot ;-) Let me fix the title!
Benjamin Poulain
Comment 2 2011-01-04 15:39:43 PST
Benjamin Poulain
Comment 3 2011-01-04 15:41:44 PST
Created attachment 77939 [details] Patch I did not mean to remove that blank line.
Benjamin Poulain
Comment 4 2011-01-04 15:43:37 PST
(In reply to comment #1) > You don't seem to like the letter r in the beginning of words: peform and suppot ;-) Let me fix the title! Thanks for fixing the the title. I guess there is too much food in my keyboard for it to work properly ;)
Kenneth Rohde Christiansen
Comment 5 2011-01-04 16:25:00 PST
Comment on attachment 77939 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=77939&action=review Looks good > WebKit2/UIProcess/API/qt/qwkpage.cpp:604 > + QAction* qtAction = action(webAction); So this action() converter was already defined?
Benjamin Poulain
Comment 6 2011-01-04 17:05:15 PST
(In reply to comment #5) > > WebKit2/UIProcess/API/qt/qwkpage.cpp:604 > > + QAction* qtAction = action(webAction); > > So this action() converter was already defined? Yep, QWKPage::action() seem to be a copy of the design of QWebPage::action(). It is used to get the page action in any context. Thanks for the review Kenneth.
WebKit Commit Bot
Comment 7 2011-01-04 22:25:12 PST
Comment on attachment 77939 [details] Patch Clearing flags on attachment: 77939 Committed r75047: <http://trac.webkit.org/changeset/75047>
WebKit Commit Bot
Comment 8 2011-01-04 22:25:20 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.