Bug 44253 - [EFL] Extend EFL WebView API to allow enable/disable Frame Flattening
Summary: [EFL] Extend EFL WebView API to allow enable/disable Frame Flattening
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 54809
  Show dependency treegraph
 
Reported: 2010-08-19 05:22 PDT by Lukasz Slachciak
Modified: 2011-02-20 05:04 PST (History)
6 users (show)

See Also:


Attachments
Implmented API for frame flattening (2.61 KB, patch)
2010-08-19 05:50 PDT, Lukasz Slachciak
no flags Details | Formatted Diff | Diff
Implmented API for frame flattening (2.67 KB, patch)
2010-08-22 23:19 PDT, Lukasz Slachciak
commit-queue: commit-queue-
Details | Formatted Diff | Diff
Implmented API for frame flattening (3.89 KB, patch)
2010-08-24 00:56 PDT, Lukasz Slachciak
tonikitoo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Slachciak 2010-08-19 05:22:03 PDT
Implemented API allowing to set/get frame flattening setting in EFL port.
Comment 1 Lukasz Slachciak 2010-08-19 05:50:12 PDT
Created attachment 64834 [details]
Implmented API for frame flattening
Comment 2 Gyuyoung Kim 2010-08-19 17:04:20 PDT
Hello Lukasz,

Could you please add "[EFL]" prefix to the title of this bug ?

And, please request review and cq for this patch.
Comment 3 Antonio Gomes 2010-08-19 19:51:20 PDT
set r? and cq? flags to your patches(?)
Comment 4 Antonio Gomes 2010-08-20 05:16:00 PDT
Comment on attachment 64834 [details]
Implmented API for frame flattening


> +/**
> + * Get status of frame flattening.
> + *
> + * @param o view to check status
> + *
> + * @return EINA_TRUE if flattening is enabled, EINA_FALSE
> + *         otherwise (errors, flattening disabled.
> + */

You missed close parentheses ")"

Please re-upload your patch with the above fixed, and fill "Reviewed by" with "Antonio Gomes". Also, just set cq?. No need to re-review this.
Comment 5 Lukasz Slachciak 2010-08-22 23:12:30 PDT
Fixed missing parenthesis. Also added Antonio as reviewer and bug url into Changelog
Comment 6 Lukasz Slachciak 2010-08-22 23:19:35 PDT
Created attachment 65078 [details]
Implmented API for frame flattening
Comment 7 WebKit Commit Bot 2010-08-23 06:09:44 PDT
Comment on attachment 65078 [details]
Implmented API for frame flattening

Rejecting patch 65078 from commit-queue.

Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--exit-after-n-failures=1', '--wait-for-httpd', '--ignore-tests', 'compositing', '--quiet']" exit_code: 1
Running build-dumprendertree
Compiling Java tests
make: Nothing to be done for `default'.
Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests
Testing 20894 test cases.
fast/loader/recursive-before-unload-crash.html -> failed

Exiting early after 1 failures. 14256 tests run.
250.31s total testing time

14255 test cases (99%) succeeded
1 test case (<1%) had incorrect layout
6 test cases (<1%) had stderr output

Full output: http://queues.webkit.org/results/3764536
Comment 8 Rafael Antognolli 2010-08-23 10:44:37 PDT
Hello Lukasz,

I don't know why this patch failed to build on other ports since it's only affecting the EFL port.

Anyway, unrelated to this, I was just seeing that you forgot to add the frame flattening option to the settings struct (priv->settings). Could you please update your patch with this?

Thank you,
Rafael
Comment 9 Eric Seidel (no email) 2010-08-23 23:00:53 PDT
Comment on attachment 64834 [details]
Implmented API for frame flattening

Cleared Antonio Gomes's review+ from obsolete attachment 64834 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Comment 10 Lukasz Slachciak 2010-08-24 00:56:31 PDT
Created attachment 65226 [details]
Implmented API for frame flattening

Hello Rafael, Antonio.
I added new frame flattening option as suggested. Also adjusted the naming convention as in case of other boolean type options.
Method ewk_view_setting_enable_frame_flattening_set also updated (similar to ewk_view_setting_enable_plugins_set).
Comment 11 Lucas De Marchi 2010-08-24 04:15:29 PDT
lgtm
Comment 12 Rafael Antognolli 2010-08-24 07:41:29 PDT
Yes, thank you for updating that. The patch looks nice now. Remember to set cq? on it too.
Comment 13 Lucas De Marchi 2010-08-24 09:49:14 PDT
Committed r65907: <http://trac.webkit.org/changeset/65907>
Comment 14 Lukasz Slachciak 2011-02-20 05:04:40 PST
In #54809 EWebLauncher was extended to use this frame flattening API