Bug 81121

Summary: [BlackBerry] Add WebPageCompositor class to BlackBerry WebKit API
Product: WebKit Reporter: Arvid Nilsson <anilsson>
Component: WebKit BlackBerryAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mlattanzio, rwlbuis, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 81115    
Bug Blocks: 82104    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Arvid Nilsson 2012-03-14 09:08:42 PDT
This is used to render the web page when we don't have a screen window.
Comment 1 Arvid Nilsson 2012-03-16 17:32:42 PDT
Created attachment 132425 [details]
Patch
Comment 2 Rob Buis 2012-03-16 17:54:38 PDT
Comment on attachment 132425 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=132425&action=review

Looks good.

> Source/WebKit/blackberry/Api/WebPageCompositorClient.h:27
> +class WebPage;

Does not seem needed.
Comment 3 WebKit Review Bot 2012-03-16 17:57:36 PDT
Comment on attachment 132425 [details]
Patch

Rejecting attachment 132425 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
/WebPageCompositor.h
patching file Source/WebKit/blackberry/Api/WebPageCompositorClient.h
patching file Source/WebKit/blackberry/Api/WebPageCompositor_p.h
Hunk #3 FAILED at 74.
1 out of 3 hunks FAILED -- saving rejects to file Source/WebKit/blackberry/Api/WebPageCompositor_p.h.rej
patching file Source/WebKit/blackberry/Api/WebPage_p.h

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Rob Buis']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/

Full output: http://queues.webkit.org/results/11963622
Comment 4 Arvid Nilsson 2012-03-23 16:56:22 PDT
Created attachment 133587 [details]
Patch
Comment 5 Arvid Nilsson 2012-03-23 16:59:01 PDT
Alright, trying again =)
Comment 6 Rob Buis 2012-03-23 17:07:45 PDT
Comment on attachment 133587 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=133587&action=review

Looks good.

> Source/WebKit/blackberry/Api/WebPageCompositor.cpp:239
> +WebPageCompositor::WebPageCompositor(WebPage* page, WebPageCompositorClient* client)

You could omit the param names, as you are not using them.

> Source/WebKit/blackberry/Api/WebPageCompositorClient.h:27
> +class WebPage;

You are not using WebPage in this file.
Comment 7 Arvid Nilsson 2012-03-23 17:22:06 PDT
(In reply to comment #6)
> (From update of attachment 133587 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=133587&action=review
> 
> Looks good.
> 
> > Source/WebKit/blackberry/Api/WebPageCompositor.cpp:239
> > +WebPageCompositor::WebPageCompositor(WebPage* page, WebPageCompositorClient* client)
> 
> You could omit the param names, as you are not using them.
> 
> > Source/WebKit/blackberry/Api/WebPageCompositorClient.h:27
> > +class WebPage;
> 
> You are not using WebPage in this file.

D'oh, you already told me that the last time around =) Hang on, I can fix and put a new patch up.
Comment 8 Rob Buis 2012-03-23 17:23:02 PDT
Comment on attachment 133587 [details]
Patch

Stop so Arvid can fix the forward reference.
Comment 9 Arvid Nilsson 2012-03-23 17:28:47 PDT
Created attachment 133595 [details]
Patch
Comment 10 Rob Buis 2012-03-23 17:32:57 PDT
Comment on attachment 133595 [details]
Patch

Looks good, another try :)
Comment 11 WebKit Review Bot 2012-03-23 18:12:39 PDT
Comment on attachment 133595 [details]
Patch

Clearing flags on attachment: 133595

Committed r111959: <http://trac.webkit.org/changeset/111959>
Comment 12 WebKit Review Bot 2012-03-23 18:12:44 PDT
All reviewed patches have been landed.  Closing bug.