RESOLVED FIXED 101930
[EFL][WK2] Add --device-pixel-ratio command line option to EFL MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=101930
Summary [EFL][WK2] Add --device-pixel-ratio command line option to EFL MiniBrowser
Mikhail Pozdnyakov
Reported 2012-11-12 05:07:58 PST
Add --device-pixel-ratio command line option to EFL MiniBrowser
Attachments
patch (2.90 KB, patch)
2012-11-12 09:02 PST, Mikhail Pozdnyakov
kenneth: review+
to be landed (3.08 KB, patch)
2012-11-12 12:04 PST, Mikhail Pozdnyakov
no flags
Mikhail Pozdnyakov
Comment 1 2012-11-12 09:02:06 PST
Kenneth Rohde Christiansen
Comment 2 2012-11-12 11:08:14 PST
Comment on attachment 173655 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=173655&action=review > Tools/MiniBrowser/efl/main.c:46 > +static double device_pixel_ratio = 0; why not just use 1? > Tools/MiniBrowser/efl/main.c:1038 > ewk_view_theme_set(app_data->webview, THEME_DIR "/default.edj"); > + if (device_pixel_ratio) > + ewk_view_device_pixel_ratio_set(app_data->webview, (float)device_pixel_ratio); > Ah so this works for newly created windows as well, great
Mikhail Pozdnyakov
Comment 3 2012-11-12 11:29:38 PST
(In reply to comment #2) > (From update of attachment 173655 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=173655&action=review > > > Tools/MiniBrowser/efl/main.c:46 > > +static double device_pixel_ratio = 0; > > why not just use 1? It's already has default value in Webkit. Don't want to set customDeviceScaleFactor if it's not required by the User.
Kenneth Rohde Christiansen
Comment 4 2012-11-12 11:33:48 PST
Comment on attachment 173655 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=173655&action=review >>> Tools/MiniBrowser/efl/main.c:46 >>> +static double device_pixel_ratio = 0; >> >> why not just use 1? > > It's already has default value in Webkit. Don't want to set customDeviceScaleFactor if it's not required by the User. Such a comment might be good?
Mikhail Pozdnyakov
Comment 5 2012-11-12 12:04:27 PST
Created attachment 173684 [details] to be landed
WebKit Review Bot
Comment 6 2012-11-12 13:36:56 PST
Comment on attachment 173684 [details] to be landed Clearing flags on attachment: 173684 Committed r134295: <http://trac.webkit.org/changeset/134295>
WebKit Review Bot
Comment 7 2012-11-12 13:37:02 PST
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.