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

Issue 120503007: [Aura] Fix regressions breaking embedded flash fullscreen. (Closed)

Created:
6 years, 11 months ago by miu
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

[Aura] Fix regressions breaking embedded flash fullscreen. 1. Set WindowType to "control" in RWHVAura::InitAsChild(). Previously, the window type was not being set, and this caused a NOTREACHED() crash at ash/wm/stacking_controller.cc:101. 2. Infinite loop freezing the browser when entering fullscreen: In WebView, AttachWebContents() and DetachWebContents() were being indirectly called from FOR_EACH_OBSERVER(). Because they were calling WebContentsObserver::Observe(), the FOR_EACH_OBSERVER loop would never terminate. 3. Clean-up: Eliminated WebView::web_contents_ member since WebView inherits from WebContentsObserver, which already has it. TEST=Run chrome with and without --embed-flash-fullscreen command-line arg, and test switching tabs, flash fullscreen, keyboard focus, etc. Tested on Win and Linux Aura builds. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243725

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -55 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/webview/webview.h View 4 chunks +5 lines, -12 lines 0 comments Download
M ui/views/controls/webview/webview.cc View 9 chunks +33 lines, -43 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
miu
ben: PTAL. Description explains the fixes. Context: http://www.chromium.org/developers/design-documents/embedding-flash-fullscreen-in-the-browser-window Thanks, Yuri https://codereview.chromium.org/120503007/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/120503007/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode497 ...
6 years, 11 months ago (2014-01-07 06:47:23 UTC) #1
Ben Goodger (Google)
lgtm
6 years, 11 months ago (2014-01-08 20:58:35 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/120503007/1
6 years, 11 months ago (2014-01-08 21:15:22 UTC) #3
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=211516
6 years, 11 months ago (2014-01-08 21:57:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/120503007/1
6 years, 11 months ago (2014-01-08 22:05:29 UTC) #5
commit-bot: I haz the power
Failed to apply patch for content/browser/renderer_host/render_widget_host_view_aura.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-08 22:05:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/miu@chromium.org/120503007/330001
6 years, 11 months ago (2014-01-08 22:31:33 UTC) #7
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 01:25:26 UTC) #8
Message was sent while issue was closed.
Change committed as 243725

Powered by Google App Engine
This is Rietveld 408576698