|
Lines 1-3
a/Source/WebKit/chromium/ChangeLog_sec1
|
|
|
1 |
2011-11-04 Fady Samuel <fsamuel@chromium.org> |
| 2 |
|
| 3 |
[Chromium] Expose deviceScaleFactor to WebKit API |
| 4 |
https://bugs.webkit.org/show_bug.cgi?id=70614 |
| 5 |
|
| 6 |
Reviewed by Darin Fisher. |
| 7 |
|
| 8 |
This exposes the device scale factor to the Chromium-WebKit API. |
| 9 |
This scale factor is the ratio between the current device's DPI |
| 10 |
and the target device's DPI. |
| 11 |
|
| 12 |
For details on how this can be accessed from CSS and javascript, please |
| 13 |
see here: |
| 14 |
|
| 15 |
http://developer.android.com/guide/webapps/targeting.html#DensityCSS |
| 16 |
|
| 17 |
* public/WebView.h: |
| 18 |
* src/WebViewImpl.cpp: |
| 19 |
(WebKit::WebViewImpl::deviceScaleFactor): |
| 20 |
(WebKit::WebViewImpl::setDeviceScaleFactor): |
| 21 |
* src/WebViewImpl.h: |
| 22 |
|
| 1 |
2011-11-02 Xiaomei Ji <xji@chromium.org> |
23 |
2011-11-02 Xiaomei Ji <xji@chromium.org> |
| 2 |
|
24 |
|
| 3 |
Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag. |
25 |
Enable ctrl-arrow move cursor by word in visual order in cr-win by command line flag. |