Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(389)

Issue 8065026: Plumbing for fullscreen change event notification for plugins. (Closed)

Created:
9 years, 2 months ago by koz (OOO until 15th September)
Modified:
9 years, 2 months ago
Reviewers:
jeremya, polina, brettw
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Plumbing for fullscreen change event notification for plugins. BUG=98477

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M webkit/plugins/ppapi/ppapi_plugin_instance.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
koz (OOO until 15th September)
Jeremy and I have plumbed OnFullscreenChanged down to ppapi_plugin_instance.cc from WebKit, but we don't know ...
9 years, 2 months ago (2011-09-29 05:48:38 UTC) #1
koz (OOO until 15th September)
On 2011/09/29 05:48:38, koz wrote: > Jeremy and I have plumbed OnFullscreenChanged down to ppapi_plugin_instance.cc ...
9 years, 2 months ago (2011-09-29 06:44:38 UTC) #2
polina
When do these fire, especially in relationship to ViewChanged, which is where we update the ...
9 years, 2 months ago (2011-09-29 23:15:42 UTC) #3
jeremya
On 2011/09/29 23:15:42, polina wrote: > When do these fire, especially in relationship to ViewChanged, ...
9 years, 2 months ago (2011-09-29 23:27:09 UTC) #4
brettw
> These should fire after ViewChanged. Is it possible to make this fire before? The ...
9 years, 2 months ago (2011-10-01 05:09:27 UTC) #5
polina
9 years, 2 months ago (2011-10-03 21:48:18 UTC) #6
On 2011/10/01 05:09:27, brettw wrote:
> > These should fire after ViewChanged.
> 
> Is it possible to make this fire before? The typical pattern will be to query
> the fullscreen state from within DidChangeView and update your plugin UI
> accordingly.
> 
> The workaround in the Pepper side would be to eat DidChangeView while we're
> waiting for a fullscreen transition, and then fire one when we finally get the
> fullscreen ack. This has the danger that if there's some problem going into
> fullscreen, we better get some notification of that or the plugin will never
be
> issued a didChangeView again!
> 
> BUT then I was thinking that our fullscreen spec says the fullscreen
transition
> ends at the next didChangeView. This isn't guaranteed today, WebKit likes to
do
> various layouts and I'm not sure anything guarantees that they won't happen
> before fullscreen is complete. Plus, when we move to an async proxy, a
> didChangeView could have already been sent. For that case, we'd have to add
> extra logic to the plugin to drop intermediate didChangeViews.
> 
> koz and jeremya: Knowing the implementation, do you think it's possible that
> we'll lose a fullscreen request? Like what happens if there's an error
> somewhere? I'm a little worried about this since I think it sounds like an
easy
> error to make and it will be so detrimental to plugins. If this is reasonably
> assured, it doesn't really matter when we get the notification in relation to
> didChangeView, we'll fix it on the Chrome side to reorder things.

I have patched this CL to see how we can take advantage of this feature. But
unfortunately, I am not getting the any OnFullscreenChanged calls when running
Fullscreen ppapi_test. Do I need anything else besides these changes?

Powered by Google App Engine
This is Rietveld 408576698