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

Issue 2517663002: Fix unable to delete extensions continuously through keyboard (Closed)

Created:
4 years, 1 month ago by Qiang(Joe) Xu
Modified:
4 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix unable to delete extensions continuously through keyboard Changes: (1) revert the cl in Issue 2451323002. (2) using a different approach, which is to avoid restorefocusedview call if desktopnativewidget is not active (since that should be handled in HandleActivationChanged call). BUG=665380 TEST=manual test see bug fixed. Also, this reverts the cl in Issue 2451323002, checked that the bug in that issue is not regressed. Committed: https://crrev.com/34ce9a4718f571b8f8ee0f95b6d153aff38223db Cr-Commit-Position: refs/heads/master@{#433706}

Patch Set 1 #

Total comments: 2

Patch Set 2 : based on comment #

Total comments: 3

Patch Set 3 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -3 lines) Patch
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
Qiang(Joe) Xu
Hi Scott, ptal, thanks! Changes are described in issue description and code comment.
4 years, 1 month ago (2016-11-18 21:34:01 UTC) #6
sky
https://codereview.chromium.org/2517663002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/2517663002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode1101 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1101: GetWidget()->GetFocusManager()->RestoreFocusedView(); For the non-linux case don't we end up ...
4 years, 1 month ago (2016-11-19 15:33:23 UTC) #9
Qiang(Joe) Xu
https://codereview.chromium.org/2517663002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/2517663002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode1101 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1101: GetWidget()->GetFocusManager()->RestoreFocusedView(); On 2016/11/19 15:33:23, sky wrote: > For the ...
4 years, 1 month ago (2016-11-19 23:48:56 UTC) #12
sky
https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode1098 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1098: restore_focus_on_activate_ = false; I'm still confused as to why ...
4 years, 1 month ago (2016-11-21 16:19:08 UTC) #15
Qiang(Joe) Xu
Hi Scott, here is the reply, ptal, thanks! https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode1098 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1098: restore_focus_on_activate_ ...
4 years, 1 month ago (2016-11-21 19:25:10 UTC) #16
sky
Ok, thanks, LGTM https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (right): https://codereview.chromium.org/2517663002/diff/20001/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#newcode365 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:365: else if (view_for_activation == focus_manager->GetStoredFocusView()) { ...
4 years, 1 month ago (2016-11-21 22:21:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2517663002/40001
4 years, 1 month ago (2016-11-21 22:46:36 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-21 23:58:00 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 00:02:46 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/34ce9a4718f571b8f8ee0f95b6d153aff38223db
Cr-Commit-Position: refs/heads/master@{#433706}

Powered by Google App Engine
This is Rietveld 408576698