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

Issue 2451323002: Remove RestoreFocusedView in OnWindowActivated for DesktopNativeWidgetAura (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

Remove RestoreFocusedView in OnWindowActivated for DesktopNativeWidgetAura RestoreFocusedView upon desktop native widget activation should be done in DesktopNativeWidgetAura::HandleActivationChanged, instead of OnWindowActivated, as in OnWindowActivated, GetWidget()->IsActive() is asynced for Linux. So we should remove the related code. BUG=659080 TEST=manual build test sees bug fixed Committed: https://crrev.com/c5e551b4da8b4bf7cc8fcfbdff3a052f19619bf3 Cr-Commit-Position: refs/heads/master@{#428157}

Patch Set 1 #

Total comments: 4

Patch Set 2 : based on comments #

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

Messages

Total messages: 17 (10 generated)
Qiang(Joe) Xu
Hi Scott, could you please take a loot at this? tks The trybot tests failure ...
4 years, 1 month ago (2016-10-26 23:10:10 UTC) #8
sky
https://codereview.chromium.org/2451323002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (left): https://codereview.chromium.org/2451323002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#oldcode1083 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1083: DCHECK(content_window_ == gained_active || content_window_ == lost_active); This DCHECK ...
4 years, 1 month ago (2016-10-26 23:47:59 UTC) #9
Qiang(Joe) Xu
Hi Scott, there is an update, ptal. https://codereview.chromium.org/2451323002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc File ui/views/widget/desktop_aura/desktop_native_widget_aura.cc (left): https://codereview.chromium.org/2451323002/diff/1/ui/views/widget/desktop_aura/desktop_native_widget_aura.cc#oldcode1083 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc:1083: DCHECK(content_window_ == ...
4 years, 1 month ago (2016-10-27 17:28:17 UTC) #10
sky
Thanks for the clarification. LGTM
4 years, 1 month ago (2016-10-27 19:34:06 UTC) #11
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/2451323002/20001
4 years, 1 month ago (2016-10-27 20:37:15 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 22:12:38 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 22:16:37 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c5e551b4da8b4bf7cc8fcfbdff3a052f19619bf3
Cr-Commit-Position: refs/heads/master@{#428157}

Powered by Google App Engine
This is Rietveld 408576698