WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
51902
[Qt] [WK2] Add support for non-trivial context menu action
https://bugs.webkit.org/show_bug.cgi?id=51902
Summary
[Qt] [WK2] Add support for non-trivial context menu action
Benjamin Poulain
Reported
Tuesday, January 4, 2011 11:19:47 PM UTC
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
Details
Formatted Diff
Diff
Patch
(7.62 KB, patch)
2011-01-04 15:41 PST
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kenneth Rohde Christiansen
Comment 1
Tuesday, January 4, 2011 11:25:51 PM UTC
(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
Tuesday, January 4, 2011 11:39:43 PM UTC
Created
attachment 77937
[details]
Patch
Benjamin Poulain
Comment 3
Tuesday, January 4, 2011 11:41:44 PM UTC
Created
attachment 77939
[details]
Patch I did not mean to remove that blank line.
Benjamin Poulain
Comment 4
Tuesday, January 4, 2011 11:43:37 PM UTC
(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
Wednesday, January 5, 2011 12:25:00 AM UTC
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
Wednesday, January 5, 2011 1:05:15 AM UTC
(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
Wednesday, January 5, 2011 6:25:12 AM UTC
Comment on
attachment 77939
[details]
Patch Clearing flags on attachment: 77939 Committed
r75047
: <
http://trac.webkit.org/changeset/75047
>
WebKit Commit Bot
Comment 8
Wednesday, January 5, 2011 6:25:20 AM UTC
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.
Top of Page
Format For Printing
XML
Clone This Bug