|
|
Implement HiDPI support in Pepper dev interface
This patch requires WebKit patch https://bugs.webkit.org/show_bug.cgi?id=87874 (WebKit r121364)
Expose device_scale_factor and css_scale_factor to Pepper plugins via a dev
interface on View resource.
Allow Pepper plugins to create a 2D graphics context with a scale factor so the
plugins can render at device resolution rather than DIPs if they want.
BUG= 114673
TEST=browser_tests --gtest_filter="PPAPITest.*"
TEST=browser_tests --gtest_filter="OutOfProcessPPAPITest.*"
TEST=Build, run existing PPAPI plugin at 2x scale
TEST=Build, run test HiDPI aware plugin to render at device rez, at 1x, 2x scale
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144773
Total comments: 8
Total comments: 18
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+573 lines, -7 lines) |
Patch |
 |
M |
chrome/test/ui/ppapi_uitest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
 |
A |
ppapi/api/dev/ppb_graphics_2d_dev.idl
|
View
|
1
2
3
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/api/dev/ppb_view_dev.idl
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/c/dev/ppb_graphics_2d_dev.h
|
View
|
1
2
3
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/c/dev/ppb_view_dev.h
|
View
|
1
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/dev/graphics_2d_dev.h
|
View
|
1
2
3
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/dev/graphics_2d_dev.cc
|
View
|
1
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/dev/view_dev.h
|
View
|
1
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/cpp/dev/view_dev.cc
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_sources.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_list.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_graphics_2d_proxy.h
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_graphics_2d_proxy.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+28 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/ppb_view_shared.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/ppb_view_shared.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/all_c_includes.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/all_cpp_includes.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_graphics_2d.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_graphics_2d.cc
|
View
|
1
2
3
|
3 chunks |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_public_dev.h
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_graphics_2d_api.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_graphics_2d_thunk.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_view_thunk.cc
|
View
|
1
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_module.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_graphics_2d_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_graphics_2d_impl.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+24 lines, -4 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|