RESOLVED FIXED 100013
[chromium] Expose setAutomaticallyComputeRasterScale on the WebLayer API
https://bugs.webkit.org/show_bug.cgi?id=100013
Summary [chromium] Expose setAutomaticallyComputeRasterScale on the WebLayer API
Dana Jansens
Reported 2012-10-22 10:33:43 PDT
[chromium] Expose setInitialCssScale on the WebLayer API
Attachments
Patch (1.76 KB, patch)
2012-10-22 10:34 PDT, Dana Jansens
no flags
Patch (3.05 KB, patch)
2012-10-22 12:58 PDT, Dana Jansens
no flags
Patch (2.57 KB, patch)
2012-10-22 13:21 PDT, Dana Jansens
no flags
Patch (2.60 KB, patch)
2012-10-22 15:48 PDT, Dana Jansens
no flags
Dana Jansens
Comment 1 2012-10-22 10:34:31 PDT
Dana Jansens
Comment 2 2012-10-22 10:37:14 PDT
WebKit Review Bot
Comment 3 2012-10-22 10:38:31 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
WebKit Review Bot
Comment 4 2012-10-22 10:43:07 PDT
Comment on attachment 169937 [details] Patch Attachment 169937 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14486577
Peter Beverloo (cr-android ews)
Comment 5 2012-10-22 11:05:24 PDT
Comment on attachment 169937 [details] Patch Attachment 169937 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/14489580
Dana Jansens
Comment 6 2012-10-22 12:58:03 PDT
Dana Jansens
Comment 7 2012-10-22 12:59:12 PDT
updated to opt-in
Adrienne Walker
Comment 8 2012-10-22 13:06:20 PDT
Comment on attachment 169960 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169960&action=review > Source/Platform/chromium/public/WebLayer.h:108 > + virtual void setAutomaticallyComputeRasterScale(bool) = 0; I feel like this is more of a WebContentLayer concern than a general WebLayer one.
WebKit Review Bot
Comment 9 2012-10-22 13:14:09 PDT
Comment on attachment 169960 [details] Patch Attachment 169960 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14514001
Peter Beverloo (cr-android ews)
Comment 10 2012-10-22 13:18:21 PDT
Comment on attachment 169960 [details] Patch Attachment 169960 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/14516001
Dana Jansens
Comment 11 2012-10-22 13:21:54 PDT
Created attachment 169965 [details] Patch Moved to WebContentLayer
WebKit Review Bot
Comment 12 2012-10-22 13:39:57 PDT
Comment on attachment 169965 [details] Patch Attachment 169965 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14487555
Peter Beverloo (cr-android ews)
Comment 13 2012-10-22 13:59:36 PDT
Comment on attachment 169965 [details] Patch Attachment 169965 [details] did not pass cr-android-ews (chromium-android): Output: http://queues.webkit.org/results/14496378
James Robinson
Comment 14 2012-10-22 15:16:15 PDT
Comment on attachment 169965 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169965&action=review > Source/Platform/chromium/public/WebContentLayer.h:54 > + virtual void setAutomaticallyComputeRasterScale(bool) = 0; If you provide a default implementation instead of having it be pure virtual here landing will be a lot easier. Please document the default (false, I presume)
Dana Jansens
Comment 15 2012-10-22 15:24:17 PDT
Comment on attachment 169965 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169965&action=review >> Source/Platform/chromium/public/WebContentLayer.h:54 >> + virtual void setAutomaticallyComputeRasterScale(bool) = 0; > > If you provide a default implementation instead of having it be pure virtual here landing will be a lot easier. > > Please document the default (false, I presume) Oh, sure. 2 patches instead of 1. Or will I need to come back here and remove the default implementation after? False, yep. k.
James Robinson
Comment 16 2012-10-22 15:42:56 PDT
(In reply to comment #15) > (From update of attachment 169965 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=169965&action=review > > >> Source/Platform/chromium/public/WebContentLayer.h:54 > >> + virtual void setAutomaticallyComputeRasterScale(bool) = 0; > > > > If you provide a default implementation instead of having it be pure virtual here landing will be a lot easier. > > > > Please document the default (false, I presume) > > Oh, sure. 2 patches instead of 1. Or will I need to come back here and remove the default implementation after? Wouldn't necessarily need to. It'd be good to be consistent, but might be better to just have all of these have default impls to make changing other APIs easier as well. Even if you did you wouldn't have to worry about synchronizing it with anything else.
Dana Jansens
Comment 17 2012-10-22 15:48:28 PDT
Created attachment 170008 [details] Patch Default impl and document return value
WebKit Review Bot
Comment 18 2012-10-23 07:51:40 PDT
Comment on attachment 170008 [details] Patch Clearing flags on attachment: 170008 Committed r132223: <http://trac.webkit.org/changeset/132223>
WebKit Review Bot
Comment 19 2012-10-23 07:51:45 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.