|
Add PPB_Fullscreen_Dev;0.5. Keep 0.4 for backwards compatiblity and point it
to PPB_FlashFullscreen. The new implementation is based on
http://codereview.chromium.org/7714017/ with some bug fixes.
Update header comments.
Main API differences between the old and the new implementation:
- transition from fullscreen is now asynchronous and ends at DidChangeView
just like transition to fullscreen; graphics devices cannot be bound during
the transition.
- when switching to/from fullscreen 3D resources no longer need to be
re-created.
- transitions to fullscreen are only possible when processing user user gestures.
- transition to fullscreen results in 2 DidChangeViews, one for moving the
plugin to the middle of the window and one for stretching the window and
placing the plugin in the middle of the screen.
- the size of the plugin is not changed when going to/from fullscreen.
Testing:
- Mapped ppapi_tests:test_fullscreen to ppapi_tests:test_flash_fullscreen.
- Updated test_fullscreen to work with the new implementation. To be testable
automatically this needs enhancements to the testing infrastructure
for generating user gestures. For now marked the test as DISABLED.
- Disabled NaCl's ppapi_ppb_fullscreen_browser_test for the same reasons
as above.
- To re-enable both tests, we will first need to add user gesture capabilites
to PPB_Testing.
- Build 0.4 ppapi_test:test_fullscreen and ran this out of process and in
process with the newly build revision of chrome to verify backwards
compatability.
- In a separate CL, will update NaCl's ppapi_ppb_fullscreen_browser_test to work
with the new implementation, for now only manually.
BUG= 41780
TEST=see above
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102888
Total comments: 9
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+462 lines, -157 lines) |
Patch |
 |
M |
chrome/test/ui/ppapi_uitest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+15 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper_plugin_delegate_impl.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/api/dev/ppb_fullscreen_dev.idl
|
View
|
1
2
3
4
5
|
2 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/private/ppb_flash_fullscreen.idl
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/dev/ppb_fullscreen_dev.h
|
View
|
1
2
3
4
5
|
3 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/private/ppb_flash_fullscreen.h
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/tests/ppapi_browser/ppb_fullscreen/nacl.scons
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_dispatcher.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.h
|
View
|
1
2
3
4
5
|
2 chunks |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+48 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_instance_proxy.h
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_instance_proxy.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+11 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_instance_proxy_unittest.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_case.html
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ppapi/tests/test_flash_fullscreen.h
|
View
|
1
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
ppapi/tests/test_flash_fullscreen.cc
|
View
|
1
2
|
5 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_fullscreen.h
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_fullscreen.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+106 lines, -48 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_private.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_fullscreen_thunk.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_instance_api.h
|
View
|
1
2
3
4
5
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_module.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.h
|
View
|
1
2
3
4
5
|
5 chunks |
+59 lines, -12 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
View
|
1
2
3
4
5
|
10 chunks |
+69 lines, -15 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppapi_webplugin_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|