Bug 73662 - [GTK] Add downloads support to MiniBrowser
Summary: [GTK] Add downloads support to MiniBrowser
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 72952
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-02 08:36 PST by Carlos Garcia Campos
Modified: 2012-04-26 04:00 PDT (History)
5 users (show)

See Also:


Attachments
Patch (17.73 KB, patch)
2011-12-02 08:43 PST, Carlos Garcia Campos
pnormand: review-
gustavo.noronha: commit-queue-
Details | Formatted Diff | Diff
Updated patch (19.25 KB, patch)
2012-04-26 03:16 PDT, Carlos Garcia Campos
pnormand: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2011-12-02 08:36:45 PST
Just for testing downloads API.
Comment 1 Carlos Garcia Campos 2011-12-02 08:43:23 PST
Created attachment 117633 [details]
Patch

The ui can be improved and it doesn't scale, but it's just for testing.
Comment 2 WebKit Review Bot 2011-12-02 08:44:58 PST
Attachment 117633 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/MiniBrowser/gtk/..." exit_code: 1

Tools/MiniBrowser/gtk/BrowserDownloadsBar.h:47:  The parameter name "downloadsBar" adds no information, so it should be removed.  [readability/parameter_name] [5]
Tools/MiniBrowser/gtk/BrowserDownloadsBar.h:48:  The parameter name "download" adds no information, so it should be removed.  [readability/parameter_name] [5]
Tools/MiniBrowser/gtk/BrowserDownloadsBar.h:48:  Extra space between WebKitDownload and *download  [whitespace/declaration] [3]
Tools/MiniBrowser/gtk/BrowserDownloadsBar.c:26:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 4 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Collabora GTK+ EWS bot 2011-12-02 16:59:18 PST
Comment on attachment 117633 [details]
Patch

Attachment 117633 [details] did not pass gtk-ews (gtk):
Output: http://queues.webkit.org/results/10688453
Comment 4 Philippe Normand 2012-04-24 07:29:46 PDT
Comment on attachment 117633 [details]
Patch

Looks good, r- mostly to get you to check EWS before landing :) The patch this one depends on landed it seems so I'd like to have green EWS before landing this one.
Comment 5 Carlos Garcia Campos 2012-04-26 03:16:10 PDT
Created attachment 138962 [details]
Updated patch

Rebased to current git master. I also had to do some changes because the downloads API has changed since I wrote this patch.
Comment 6 WebKit Review Bot 2012-04-26 03:20:30 PDT
Attachment 138962 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Tools/ChangeLog', u'Tools/MiniBrowser/gtk/..." exit_code: 1
Tools/MiniBrowser/gtk/BrowserDownloadsBar.c:26:  Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Philippe Normand 2012-04-26 03:44:08 PDT
Comment on attachment 138962 [details]
Updated patch

Cool stuff. Thanks!
Comment 8 Carlos Garcia Campos 2012-04-26 04:00:38 PDT
Committed r115301: <http://trac.webkit.org/changeset/115301>