WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
120763
[GTK][WK2] Update ContextMenu Download API
https://bugs.webkit.org/show_bug.cgi?id=120763
Summary
[GTK][WK2] Update ContextMenu Download API
Brian Holt
Reported
2013-09-05 02:10:00 PDT
From
https://bugs.webkit.org/show_bug.cgi?id=120459
. The new tags to download media to disk should be merged into the 2.2 release so the docs need updating. Also, a new unit test for the audio tag should be added.
Attachments
Patch
(5.86 KB, patch)
2013-09-05 09:24 PDT
,
Brian Holt
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brian Holt
Comment 1
2013-09-05 09:24:30 PDT
Created
attachment 210627
[details]
Patch
Brian Holt
Comment 2
2013-09-05 09:27:07 PDT
Comment on
attachment 210627
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=210627&action=review
> Source/WebKit2/UIProcess/API/gtk/WebKitContextMenuActions.h:75 > + * @WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK: Download video to disk. Since 2.2
Unfortunately this doesn't result in the enum appearing under the Since 2.2 section of the docs... Perhaps there is a different way, or it doesn't matter?
> Source/WebKit2/UIProcess/API/gtk/tests/TestContextMenu.cpp:324 > + iter = checkCurrentItemIsStockActionAndGetNext(iter, WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN, Visible);
This surprised me, but without it the test will not pass!
WebKit Commit Bot
Comment 3
2013-09-05 09:27:39 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
WebKit Commit Bot
Comment 4
2013-09-09 06:04:27 PDT
Comment on
attachment 210627
[details]
Patch Clearing flags on attachment: 210627 Committed
r155345
: <
http://trac.webkit.org/changeset/155345
>
WebKit Commit Bot
Comment 5
2013-09-09 06:04:32 PDT
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