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

Issue 10377066: aura: Close fullscreen RenderWidgetHostViewAura on blur. (Closed)

Created:
8 years, 7 months ago by Daniel Erat
Modified:
8 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su, ilja, piman, Avi (use Gerrit), jochen (gone - plz use gerrit)
Visibility:
Public.

Description

aura: Close fullscreen RenderWidgetHostViewAura on blur. This makes fullscreen RWHVAs close themselves when they lose the focus; unlike NPAPI Flash, Pepper Flash doesn't close automatically on blur. BUG=123083 TEST=manual: alt-tab or escape exits fullscreen flash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137077

Patch Set 1 #

Total comments: 2

Patch Set 2 : add shutdown check for escape key #

Patch Set 3 : fix one test; add another failing test #

Patch Set 4 : rework tests #

Total comments: 3

Patch Set 5 : simplify testing code #

Patch Set 6 : simplify testing code (reupload) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -34 lines) Patch
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 4 chunks +15 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 2 chunks +101 lines, -29 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Daniel Erat
8 years, 7 months ago (2012-05-09 18:35:12 UTC) #1
piman
https://chromiumcodereview.appspot.com/10377066/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://chromiumcodereview.appspot.com/10377066/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode942 content/browser/renderer_host/render_widget_host_view_aura.cc:942: in_shutdown_ = true; drive-by: should we test !in_shutdown_ before ...
8 years, 7 months ago (2012-05-09 20:19:21 UTC) #2
Daniel Erat
https://chromiumcodereview.appspot.com/10377066/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://chromiumcodereview.appspot.com/10377066/diff/1/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode942 content/browser/renderer_host/render_widget_host_view_aura.cc:942: in_shutdown_ = true; On 2012/05/09 20:19:22, piman wrote: > ...
8 years, 7 months ago (2012-05-09 20:25:21 UTC) #3
sky
LGTM
8 years, 7 months ago (2012-05-09 21:18:31 UTC) #4
piman
lgtm
8 years, 7 months ago (2012-05-09 21:34:41 UTC) #5
Daniel Erat
cc-ing Avi in case he has ideas about the testing code. (RenderWidgetHostViewAuraTest is disgusting; I ...
8 years, 7 months ago (2012-05-09 23:05:21 UTC) #6
Daniel Erat
Jochen, any ideas about this test-related question? (RenderWidgetHostViewAuraTest is disgusting; I deserve the blame for ...
8 years, 7 months ago (2012-05-10 20:13:19 UTC) #7
jochen (gone - plz use gerrit)
+creis for RVHM
8 years, 7 months ago (2012-05-10 22:38:41 UTC) #8
Charlie Reis
On 2012/05/10 22:38:41, jochen wrote: > +creis for RVHM From chatting, sounds like you figured ...
8 years, 7 months ago (2012-05-11 20:50:31 UTC) #9
Daniel Erat
I've reworked the tests a bit. Jochen and Charlie, mind telling me what I'm doing ...
8 years, 7 months ago (2012-05-11 22:56:47 UTC) #10
Daniel Erat
On Fri, May 11, 2012 at 1:50 PM, <creis@chromium.org> wrote: > On 2012/05/10 22:38:41, jochen ...
8 years, 7 months ago (2012-05-11 23:10:05 UTC) #11
jochen (gone - plz use gerrit)
https://chromiumcodereview.appspot.com/10377066/diff/11001/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc File content/browser/renderer_host/render_widget_host_view_aura_unittest.cc (right): https://chromiumcodereview.appspot.com/10377066/diff/11001/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc#newcode71 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc:71: rph_ = new RenderProcessHostImpl(browser_context_.get()); On 2012/05/11 22:56:48, Daniel Erat ...
8 years, 7 months ago (2012-05-12 00:09:54 UTC) #12
Charlie Reis
On 2012/05/11 23:10:05, Daniel Erat wrote: > > Is there a way to CHECK that ...
8 years, 7 months ago (2012-05-12 00:55:54 UTC) #13
Daniel Erat
Thanks, what I have now seems to work. Another look?
8 years, 7 months ago (2012-05-14 22:32:50 UTC) #14
Daniel Erat
On 2012/05/12 00:55:54, creis wrote: > On 2012/05/11 23:10:05, Daniel Erat wrote: > > > ...
8 years, 7 months ago (2012-05-14 22:43:53 UTC) #15
Charlie Reis
Aaron just removed it over the weekend, unfortunately ( https://chromiumcodereview.appspot.com/10387110). I don't have a good ...
8 years, 7 months ago (2012-05-14 22:59:36 UTC) #16
Daniel Erat
On 2012/05/14 22:59:36, creis wrote: > Aaron just removed it over the weekend, unfortunately ( ...
8 years, 7 months ago (2012-05-15 00:35:25 UTC) #17
Charlie Reis
Yes, a separate bug for the check sounds fine. Rubber stamp LGTM on the existing ...
8 years, 7 months ago (2012-05-15 01:06:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/10377066/6
8 years, 7 months ago (2012-05-15 02:14:19 UTC) #19
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 05:13:05 UTC) #20
Change committed as 137077

Powered by Google App Engine
This is Rietveld 408576698