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

Issue 8273029: PPAPI Fullscreen: In ViewChanged, check if the browser entered fullscreen mode (Closed)

Created:
9 years, 2 months ago by polina
Modified:
9 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

PPAPI Fullscreen: In ViewChanged, check if the browser entered fullscreen mode and if the current element is the fullscreen element. This will help us determine more reliably if the plugin entered/exited fullscreen mode. This also takes care of the F11 case where desired_fullscree_state_ has not been properly set. Add a dummy stub for RenderWidget::is_fullscreen to be implemented by darin in a different patch) and wrappers for it to make it available via PluginDelegate::IsInFullscreenMode to the PluginInstance. BUG=41780, 98477 TEST=ppapi_tests/test_fullscreen, native_client/tests/ppapi_browser/ppb_fullscreen Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105485

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 1

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M content/renderer/pepper_plugin_delegate_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 1 chunk +27 lines, -20 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
polina
9 years, 2 months ago (2011-10-14 01:47:36 UTC) #1
polina
WebKit prerequisite: https://bugs.webkit.org/show_bug.cgi?id=70076
9 years, 2 months ago (2011-10-14 01:55:51 UTC) #2
darin (slow to review)
LGTM http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode740 webkit/plugins/ppapi/ppapi_plugin_instance.cc:740: WebKit::WebElement element = container_->element(); nit: add a 'using ...
9 years, 2 months ago (2011-10-14 05:03:41 UTC) #3
darin (slow to review)
http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode742 webkit/plugins/ppapi/ppapi_plugin_instance.cc:742: bool is_fullscreen_element = (element == document.fullScreenElement()); by the way, ...
9 years, 2 months ago (2011-10-14 05:06:03 UTC) #4
polina
http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc File webkit/plugins/ppapi/ppapi_plugin_instance.cc (right): http://codereview.chromium.org/8273029/diff/1/webkit/plugins/ppapi/ppapi_plugin_instance.cc#newcode740 webkit/plugins/ppapi/ppapi_plugin_instance.cc:740: WebKit::WebElement element = container_->element(); On 2011/10/14 05:03:41, darin wrote: ...
9 years, 2 months ago (2011-10-14 06:54:06 UTC) #5
darin (slow to review)
http://codereview.chromium.org/8273029/diff/5002/content/public/renderer/render_view.h File content/public/renderer/render_view.h (right): http://codereview.chromium.org/8273029/diff/5002/content/public/renderer/render_view.h#newcode135 content/public/renderer/render_view.h:135: virtual bool IsInFullscreenMode() = 0; Actually, I don't think ...
9 years, 2 months ago (2011-10-14 07:00:38 UTC) #6
polina
http://codereview.chromium.org/8273029/diff/5002/content/public/renderer/render_view.h File content/public/renderer/render_view.h (right): http://codereview.chromium.org/8273029/diff/5002/content/public/renderer/render_view.h#newcode135 content/public/renderer/render_view.h:135: virtual bool IsInFullscreenMode() = 0; On 2011/10/14 07:00:38, darin ...
9 years, 2 months ago (2011-10-14 07:46:46 UTC) #7
darin (slow to review)
LGTM http://codereview.chromium.org/8273029/diff/1009/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): http://codereview.chromium.org/8273029/diff/1009/content/renderer/render_view_impl.cc#newcode557 content/renderer/render_view_impl.cc:557: bool RenderViewImpl::IsInFullscreenMode() { Actually, I plan on making ...
9 years, 2 months ago (2011-10-14 07:54:45 UTC) #8
polina
9 years, 2 months ago (2011-10-14 12:03:21 UTC) #9
On 2011/10/14 07:54:45, darin wrote:
> LGTM
> 
>
http://codereview.chromium.org/8273029/diff/1009/content/renderer/render_view...
> File content/renderer/render_view_impl.cc (right):
> 
>
http://codereview.chromium.org/8273029/diff/1009/content/renderer/render_view...
> content/renderer/render_view_impl.cc:557: bool
> RenderViewImpl::IsInFullscreenMode() {
> Actually, I plan on making this a method of RenderWidget, but I can take care
of
> switching it after you land this patch.

Committed revision 105485.

Powered by Google App Engine
This is Rietveld 408576698