RESOLVED FIXED Bug 78785
Upstream RenderThemeBlackberry.h/.cpp into WebCore/platform/blackberry
https://bugs.webkit.org/show_bug.cgi?id=78785
Summary Upstream RenderThemeBlackberry.h/.cpp into WebCore/platform/blackberry
Mary Wu
Reported 2012-02-16 01:15:38 PST
Upstream Blackberry implementation of RenderTheme.
Attachments
Patch (45.04 KB, patch)
2012-02-16 17:56 PST, Mary Wu
no flags
Patch (45.37 KB, patch)
2012-02-16 18:31 PST, Mary Wu
no flags
Patch (45.05 KB, patch)
2012-02-16 22:07 PST, Mary Wu
tonikitoo: review+
tonikitoo: commit-queue-
update patch (45.07 KB, patch)
2012-02-20 17:45 PST, Mary Wu
no flags
update patch (45.08 KB, patch)
2012-02-20 17:56 PST, Mary Wu
no flags
update patch (45.98 KB, patch)
2012-02-20 18:23 PST, Mary Wu
no flags
Mary Wu
Comment 1 2012-02-16 17:56:28 PST
Mary Wu
Comment 2 2012-02-16 18:31:21 PST
Antonio Gomes
Comment 3 2012-02-16 19:17:05 PST
Comment on attachment 127491 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127491&action=review > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:159 > + : RenderTheme() is this call needed? > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:410 > + switch (part) { > + case CheckboxPart: > + { > + FloatSize smallCorner(smallRadius, smallRadius); > + Path path; > + path.addRoundedRect(rect, smallCorner); > + info.context->drawPath(path); the switch body is over indented.
Mary Wu
Comment 4 2012-02-16 21:20:19 PST
(In reply to comment #3) > (From update of attachment 127491 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=127491&action=review > > > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:159 > > + : RenderTheme() > > is this call needed? > > > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:410 > > + switch (part) { > > + case CheckboxPart: > > + { > > + FloatSize smallCorner(smallRadius, smallRadius); > > + Path path; > > + path.addRoundedRect(rect, smallCorner); > > + info.context->drawPath(path); > > the switch body is over indented. nice catch! Thanks
Mary Wu
Comment 5 2012-02-16 22:07:34 PST
Rob Buis
Comment 6 2012-02-17 12:12:25 PST
Comment on attachment 127522 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=127522&action=review > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:121 > +float RenderThemeBlackBerry::defaultFontSize = 16.0; Could move this up with the other constants > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:180 > + // in-page mode the same as in fullscreen mode.. I'd do either 1 or 3 periods :) > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:187 > + return 0.0; // Turn off caret blinking. Better use 0. > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:804 > + // paint main slider bar Not a sentence. > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:811 > + // paint played part of bar (left of slider thumb) using selection color Ditto.
Antonio Gomes
Comment 7 2012-02-17 15:36:13 PST
Comment on attachment 127522 [details] Patch r=me, but fix Rob's comments before pushing. thanks
Mary Wu
Comment 8 2012-02-19 19:03:51 PST
thanks, patch updated according to Rob's comments, will commit soon...
Mary Wu
Comment 9 2012-02-20 17:45:56 PST
Created attachment 127877 [details] update patch
Mary Wu
Comment 10 2012-02-20 17:56:13 PST
Created attachment 127882 [details] update patch
Leo Yang
Comment 11 2012-02-20 18:07:35 PST
Comment on attachment 127882 [details] update patch View in context: https://bugs.webkit.org/attachment.cgi?id=127882&action=review Pleas add the lost change log entry. Add address a nit. I'll help land. > Source/WebCore/platform/blackberry/RenderThemeBlackBerry.cpp:107 > +float RenderThemeBlackBerry::defaultFontSize = 16.0; > + Better 16
Mary Wu
Comment 12 2012-02-20 18:23:31 PST
Created attachment 127887 [details] update patch Thanks, Leo, here is the update patch
Leo Yang
Comment 13 2012-02-20 18:31:17 PST
Comment on attachment 127887 [details] update patch Good. Let me send to cq.
WebKit Review Bot
Comment 14 2012-02-20 19:19:02 PST
Comment on attachment 127887 [details] update patch Clearing flags on attachment: 127887 Committed r108290: <http://trac.webkit.org/changeset/108290>
Note You need to log in before you can comment on or make changes to this bug.