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

Issue 2669303005: desktop-views: Create one fewer aura::Window for each widget. (Closed)

Created:
3 years, 10 months ago by sadrul
Modified:
3 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

desktop-views: Create one fewer aura::Window for each widget. For each views::Widget, a DesktopNativeWidgetAura is created, which creates two windows: |content_window_|, and |content_window_container_|. But the DesktopWindowTreeHostMus' root-window can be the container for |content_window_|, and a separate container window is not needed. So remove that. BUG=none Review-Url: https://codereview.chromium.org/2669303005 Cr-Commit-Position: refs/heads/master@{#448204} Committed: https://chromium.googlesource.com/chromium/src/+/5d64ae77225a34b5e439216e5cf3ea643b9ea29b

Patch Set 1 #

Patch Set 2 : . #

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

Messages

Total messages: 19 (12 generated)
sadrul
In mustash mode, because of this extra window, we end up creating two windows in ...
3 years, 10 months ago (2017-02-03 02:50:45 UTC) #6
sky
This was done for tooltips: https://chromium.googlesource.com/chromium/src/+/cc90e1bc08807efd864c7656be6f13d04f0d3ec3%5E%21/#F3 . Did you make sure there aren't any regressions ...
3 years, 10 months ago (2017-02-03 17:30:58 UTC) #7
sadrul
On 2017/02/03 17:30:58, sky wrote: > This was done for tooltips: > https://chromium.googlesource.com/chromium/src/+/cc90e1bc08807efd864c7656be6f13d04f0d3ec3%5E%21/#F3 > . ...
3 years, 10 months ago (2017-02-04 00:03:45 UTC) #8
sky
LGTM - Was this causing any problems in the mash case?
3 years, 10 months ago (2017-02-04 22:22:54 UTC) #13
sadrul
On 2017/02/04 22:22:54, sky wrote: > LGTM - Was this causing any problems in the ...
3 years, 10 months ago (2017-02-05 21:46:11 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/2669303005/20001
3 years, 10 months ago (2017-02-06 01:26:46 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 02:20:12 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/5d64ae77225a34b5e439216e5cf3...

Powered by Google App Engine
This is Rietveld 408576698