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

Issue 1050713002: aura: Remove layerless windows. (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
Reviewers:
sky, piman
CC:
chromium-reviews, tdanderson+views_chromium.org, sadrul, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, dcheng, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su, Ben Goodger (Google), enne (OOO), piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aura: Remove layerless windows. Layerless windows are only used in unit tests today, and add complexity in that a NativeWidgetAura can not rely on there being a layer present. In practice, having a layer per Window is not unreasonable overhead, and is simpler. The way to render something into the same layer is to use a separate View instead of a separate Window. R=sky BUG=466426 Committed: https://crrev.com/b161836dff98bccf59f00f4c5730f15e20c6969e Cr-Commit-Position: refs/heads/master@{#323610}

Patch Set 1 #

Patch Set 2 : layerless: . #

Patch Set 3 : layerless: fixtests-init-windows #

Patch Set 4 : layerless: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -866 lines) Patch
M ash/display/cursor_window_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/display/mirror_window_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/display/screen_position_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/drag_drop/drag_drop_tracker.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shelf/shelf_layout_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/shell/keyboard_controller_proxy_stub.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/ash_focus_rules_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/dock/docked_window_resizer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/drag_window_resizer_unittest.cc View 3 chunks +7 lines, -7 lines 0 comments Download
M ash/wm/maximize_mode/workspace_backdrop_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/stacking_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/system_gesture_event_filter_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/toplevel_window_event_handler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/multi_window_resize_controller_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_event_handler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M ash/wm/workspace_controller_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/aura/accessibility/ax_root_obj_wrapper.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/media/capture/desktop_capture_device_aura_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 6 chunks +9 lines, -2 lines 0 comments Download
M content/browser/web_contents/aura/window_slider_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/aura.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
M ui/aura/demo/demo_main.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/test/aura_test_base.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/test_windows.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window.h View 2 chunks +1 line, -2 lines 0 comments Download
M ui/aura/window.cc View 11 chunks +27 lines, -83 lines 0 comments Download
D ui/aura/window_layer_type.h View 1 chunk +0 lines, -24 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_unittest.cc View 15 chunks +30 lines, -652 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M ui/views/controls/native/native_view_host_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_focus_rules_unittest.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc View 1 2 4 chunks +4 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M ui/views/widget/native_widget_mac.mm View 1 2 3 1 chunk +1 line, -13 lines 0 comments Download
M ui/views/widget/native_widget_mac_unittest.mm View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ui/views/widget/widget.h View 2 chunks +2 lines, -3 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ui/wm/core/shadow_controller_unittest.cc View 9 chunks +9 lines, -9 lines 0 comments Download
M ui/wm/core/transient_window_manager_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
danakj
Here's how it can look to remove layer-less aura Windows.
5 years, 8 months ago (2015-04-01 20:14:30 UTC) #2
piman
lgtm
5 years, 8 months ago (2015-04-01 22:26:31 UTC) #3
Ben Goodger (Google)
To answer your comment in the bug, the reason we have windows without layers is ...
5 years, 8 months ago (2015-04-02 05:48:00 UTC) #4
danakj
On Wed, Apr 1, 2015 at 10:47 PM, Ben Goodger (Google) <ben@chromium.org> wrote: > To ...
5 years, 8 months ago (2015-04-02 16:57:03 UTC) #5
Ben Goodger (Google)
sounds like a nice cleanup then! On Thu, Apr 2, 2015 at 9:51 AM, Dana ...
5 years, 8 months ago (2015-04-02 17:40:29 UTC) #6
sky
LGTM
5 years, 8 months ago (2015-04-02 17:42:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050713002/60001
5 years, 8 months ago (2015-04-02 17:47:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1050713002/60001
5 years, 8 months ago (2015-04-02 18:51:27 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-03 05:14:56 UTC) #14
commit-bot: I haz the power
5 years, 8 months ago (2015-04-03 20:31:21 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b161836dff98bccf59f00f4c5730f15e20c6969e
Cr-Commit-Position: refs/heads/master@{#323610}

Powered by Google App Engine
This is Rietveld 408576698