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

Issue 397493005: Make NativeViewHostAura clipping window non-focusable. (Closed)

Created:
6 years, 5 months ago by calamity
Modified:
6 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Make NativeViewHostAura clipping window non-focusable. This CL fixes an issue where the clipping window would get a focus event when the SadTab was displayed causing the focus to be set to nothing, disabling all keyboard shortcuts. This is fixed by making the clipping window nonfocusable. BUG=393119 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284177 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284670

Patch Set 1 : #

Total comments: 3

Patch Set 2 : make destructor virtual #

Patch Set 3 : add missing include #

Patch Set 4 : umm. make all webpages focusable again. #

Patch Set 5 : fix use-after-free in WebContentsViewAura destructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -1 line) Patch
M ui/views/controls/native/native_view_host_aura.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/controls/native/native_view_host_aura.cc View 1 2 3 4 4 chunks +54 lines, -1 line 0 comments Download

Messages

Total messages: 24 (0 generated)
calamity
6 years, 5 months ago (2014-07-15 04:21:18 UTC) #1
sky
https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc File ui/views/controls/native/native_view_host_aura.cc (right): https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc#newcode19 ui/views/controls/native/native_view_host_aura.cc:19: class NativeViewHostAura::ClippingWindowDelegate : public aura::WindowDelegate { Would making NavigateViewHostAura ...
6 years, 5 months ago (2014-07-15 04:41:12 UTC) #2
calamity
https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc File ui/views/controls/native/native_view_host_aura.cc (right): https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc#newcode19 ui/views/controls/native/native_view_host_aura.cc:19: class NativeViewHostAura::ClippingWindowDelegate : public aura::WindowDelegate { On 2014/07/15 04:41:12, ...
6 years, 5 months ago (2014-07-15 06:35:01 UTC) #3
sky
https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc File ui/views/controls/native/native_view_host_aura.cc (right): https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc#newcode19 ui/views/controls/native/native_view_host_aura.cc:19: class NativeViewHostAura::ClippingWindowDelegate : public aura::WindowDelegate { On 2014/07/15 06:35:01, ...
6 years, 5 months ago (2014-07-15 16:19:40 UTC) #4
calamity
On 2014/07/15 16:19:40, sky wrote: > https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc > File ui/views/controls/native/native_view_host_aura.cc (right): > > https://codereview.chromium.org/397493005/diff/20001/ui/views/controls/native/native_view_host_aura.cc#newcode19 > ...
6 years, 5 months ago (2014-07-16 01:19:20 UTC) #5
sky
*SIGH* LGTM
6 years, 5 months ago (2014-07-16 14:55:42 UTC) #6
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-17 03:00:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/397493005/20001
6 years, 5 months ago (2014-07-17 03:06:46 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 07:02:00 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 07:10:13 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/40305)
6 years, 5 months ago (2014-07-17 07:10:14 UTC) #11
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-18 00:48:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/397493005/60001
6 years, 5 months ago (2014-07-18 00:53:35 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 05:30:03 UTC) #14
calamity
Yeah. Broke all the tests. Changed a thing to fix them if you'd like to ...
6 years, 5 months ago (2014-07-18 07:15:11 UTC) #15
sky
SLGTM
6 years, 5 months ago (2014-07-18 15:55:06 UTC) #16
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-18 16:48:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/397493005/80001
6 years, 5 months ago (2014-07-18 16:49:29 UTC) #18
commit-bot: I haz the power
Change committed as 284177
6 years, 5 months ago (2014-07-18 19:08:02 UTC) #19
waffles
On 2014/07/18 19:08:02, I haz the power (commit-bot) wrote: > Change committed as 284177 Reverted ...
6 years, 5 months ago (2014-07-18 21:13:28 UTC) #20
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 5 months ago (2014-07-22 07:41:02 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/397493005/100001
6 years, 5 months ago (2014-07-22 07:42:01 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 10:59:19 UTC) #23
commit-bot: I haz the power
6 years, 5 months ago (2014-07-22 12:37:36 UTC) #24
Message was sent while issue was closed.
Change committed as 284670

Powered by Google App Engine
This is Rietveld 408576698