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

Issue 2256983003: Check Content Window Visibility in DesktopNativeWidgetAura::IsVisible (Closed)

Created:
4 years, 4 months ago by robliao
Modified:
4 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check Content Window Visibility in DesktopNativeWidgetAura::IsVisible Since DesktopNativeWidgetAura shows both the window tree host and the content window in DesktopNativeWidgetAura::Show, it stands to reason that DesktopNativeWidgetAura::IsVisible should also check both for visibility. Because Windows may show the Chrome window on its own before BrowserView::Show is called, BrowserView::Show will assume everything has been shown and just activate the window, failing to show the content window. Adding in a content window visibility check provides the actual visibility state of the window, even if it is intermediate. BUG=638748 Committed: https://crrev.com/cbaec91aacdd72f3f2941ff3f7b7706100d5081e Cr-Commit-Position: refs/heads/master@{#412949}

Patch Set 1 #

Patch Set 2 : CR Feedback #

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

Messages

Total messages: 19 (12 generated)
robliao
sky: Please review this CL. Thanks!
4 years, 4 months ago (2016-08-18 17:00:45 UTC) #6
sky
Great description! This is subtle and worth both a comment and test. Can you add ...
4 years, 4 months ago (2016-08-18 19:18:40 UTC) #7
robliao
On 2016/08/18 19:18:40, sky wrote: > Great description! This is subtle and worth both a ...
4 years, 4 months ago (2016-08-18 19:53:29 UTC) #9
sky
LGTM
4 years, 4 months ago (2016-08-18 21:57:47 UTC) #14
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/2256983003/40001
4 years, 4 months ago (2016-08-18 21:59:18 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-08-18 22:08:00 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 22:14:03 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/cbaec91aacdd72f3f2941ff3f7b7706100d5081e
Cr-Commit-Position: refs/heads/master@{#412949}

Powered by Google App Engine
This is Rietveld 408576698