Bug 66866 - [EFL] Add API to call Frame::scalePage.
Summary: [EFL] Add API to call Frame::scalePage.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Raphael Kubo da Costa (:rakuco)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 10:56 PDT by Raphael Kubo da Costa (:rakuco)
Modified: 2011-09-28 18:57 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.27 KB, patch)
2011-08-24 10:59 PDT, Raphael Kubo da Costa (:rakuco)
kenneth: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa (:rakuco) 2011-08-24 10:56:59 PDT
[EFL] Add API to call Frame::scalePage.
Comment 1 Raphael Kubo da Costa (:rakuco) 2011-08-24 10:59:11 PDT
Created attachment 105020 [details]
Patch
Comment 2 Ryuan Choi 2011-08-24 15:39:43 PDT
I'm not sure.

IMO, we have too many zoom related apis.

Please see Bug 62842 .

Now we are testing this to replace cairo scaling, local patch.
Comment 3 Raphael Kubo da Costa (:rakuco) 2011-08-24 18:56:35 PDT
Some parts of both patches do overlap. I have a few questions/concerns about dropping this one altogether in favor of the other patch:

a) I did not understand what you mean with "Now we are testing this to replace cairo scaling, local patch". Do you mean you will upload a new patch to bug 62842?
b) Is the behaviour of that code going to be the same as the one here? _ewk_view_smart_zoom_set does more than this internal function.
c) The parameter types are different in this function and ewk_view_zoom_set.
Comment 4 Ryuan Choi 2011-08-24 23:05:00 PDT
(In reply to comment #3)
> Some parts of both patches do overlap. I have a few questions/concerns about dropping this one altogether in favor of the other patch:
> 
> a) I did not understand what you mean with "Now we are testing this to replace cairo scaling, local patch". Do you mean you will upload a new patch to bug 62842?

Sorry for the confusion. I means that we are refactoring local patches(cairo scaling) to it.

> b) Is the behaviour of that code going to be the same as the one here? _ewk_view_smart_zoom_set does more than this internal function.
> c) The parameter types are different in this function and ewk_view_zoom_set.

OK. after more thinking, Bug 62842 can change to use this.
I'll check zoom related APIs more and make new patch for Bug 62842.

So, this patch is fine to me.
Comment 5 Kenneth Rohde Christiansen 2011-09-12 15:58:49 PDT
Comment on attachment 105020 [details]
Patch

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

> Source/WebKit/efl/ChangeLog:10
> +        This bit of API is required by DRT's EventSender, as it is used by
> +        tests which call zoom-related code, such as
> +        fast/dom/Element/scale-page-client-rects.html.

For DRT add in something like DumpRenderTreeSupport class, if really needed at all.
Comment 6 Raphael Kubo da Costa (:rakuco) 2011-09-14 06:33:19 PDT
Right, I'm closing this one and will put it in a separate report with DumpRenderTreeSupportEfl.
Comment 7 Raphael Kubo da Costa (:rakuco) 2011-09-28 18:57:52 PDT
Comment on attachment 105020 [details]
Patch

Removing the cq? flag.