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

Issue 1419793006: Makes windowmanager draw non-client area (Closed)

Created:
5 years, 1 month ago by sky
Modified:
5 years, 1 month ago
CC:
chromium-reviews, rjkroege, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Makes windowmanager draw non-client area The high level bits are the following: . Client area is now expressed as insets. This avoids resetting the client area any time the bounds changes. . WindowManager now exposes preferred insets. . Client side creates a NonClientFrameView that reflects insets exposed from WM. . WM's NonClientFrameView (which draws underneat the client's surface) draws the frame decorations. It fills in the client area as black. BUG=548420 TEST=none R=ben@chromium.org Committed: https://crrev.com/56961cd296980da6de2b537d65a104da24af2b60 Cr-Commit-Position: refs/heads/master@{#357995}

Patch Set 1 #

Patch Set 2 : move wm nonclientframeview to wm #

Total comments: 11

Patch Set 3 : review feedback #

Patch Set 4 : add include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+567 lines, -199 lines) Patch
M components/mus/example/wm/BUILD.gn View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M components/mus/example/wm/move_loop.cc View 3 chunks +11 lines, -4 lines 0 comments Download
M components/mus/example/wm/move_loop_unittest.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A components/mus/example/wm/non_client_frame_controller.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A components/mus/example/wm/non_client_frame_controller.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
A components/mus/example/wm/non_client_frame_view_impl.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A components/mus/example/wm/non_client_frame_view_impl.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M components/mus/example/wm/window_manager_application.h View 1 2 3 chunks +17 lines, -1 line 0 comments Download
M components/mus/example/wm/window_manager_application.cc View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M components/mus/example/wm/window_manager_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M components/mus/example/wm/window_manager_impl.cc View 1 4 chunks +34 lines, -11 lines 0 comments Download
M components/mus/public/cpp/lib/window.cc View 1 2 2 chunks +3 lines, -5 lines 0 comments Download
M components/mus/public/cpp/lib/window_private.h View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/public/cpp/lib/window_tree_client_impl.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M components/mus/public/cpp/lib/window_tree_client_impl.cc View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M components/mus/public/cpp/window.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M components/mus/public/cpp/window_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/public/interfaces/window_manager.mojom View 2 chunks +7 lines, -1 line 0 comments Download
M components/mus/public/interfaces/window_tree.mojom View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M components/mus/ws/connection_manager.h View 2 chunks +4 lines, -4 lines 0 comments Download
M components/mus/ws/connection_manager.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M components/mus/ws/event_dispatcher.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M components/mus/ws/event_dispatcher_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/mus/ws/server_window.h View 4 chunks +4 lines, -5 lines 0 comments Download
M components/mus/ws/server_window.cc View 1 chunk +5 lines, -11 lines 0 comments Download
M components/mus/ws/server_window_observer.h View 2 chunks +3 lines, -2 lines 0 comments Download
M components/mus/ws/window_manager_client_apptest.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M components/mus/ws/window_tree_apptest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/ws/window_tree_impl.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M components/mus/ws/window_tree_impl.cc View 1 2 3 chunks +10 lines, -18 lines 0 comments Download
M components/mus/ws/window_tree_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
D mandoline/ui/common/BUILD.gn View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
D mandoline/ui/common/util.h View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
D mandoline/ui/common/util.cc View 1 2 1 chunk +0 lines, -24 lines 0 comments Download
M mandoline/ui/desktop_ui/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mandoline/ui/desktop_ui/browser_window.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M mandoline/ui/omnibox/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M mandoline/ui/omnibox/omnibox_application.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M mojo/converters/geometry/geometry_type_converters.h View 2 chunks +19 lines, -0 lines 0 comments Download
M mojo/converters/geometry/geometry_type_converters.cc View 1 chunk +35 lines, -0 lines 0 comments Download
M ui/mojo/geometry/geometry.mojom View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 chunks +5 lines, -0 lines 0 comments Download
A + ui/views/mus/display_converter.h View 1 2 1 chunk +6 lines, -5 lines 0 comments Download
A + ui/views/mus/display_converter.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 3 chunks +16 lines, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 7 chunks +81 lines, -7 lines 0 comments Download
A ui/views/mus/window_manager_client_area_insets.h View 1 chunk +19 lines, -0 lines 0 comments Download
M ui/views/mus/window_manager_connection.cc View 1 2 3 chunks +14 lines, -6 lines 0 comments Download
M ui/views/window/non_client_view.h View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
sky
5 years, 1 month ago (2015-11-04 22:09:45 UTC) #1
Ben Goodger (Google)
https://codereview.chromium.org/1419793006/diff/20001/components/mus/example/wm/non_client_frame_controller.cc File components/mus/example/wm/non_client_frame_controller.cc (right): https://codereview.chromium.org/1419793006/diff/20001/components/mus/example/wm/non_client_frame_controller.cc#newcode14 components/mus/example/wm/non_client_frame_controller.cc:14: class WmNativeWidgetMus : public views::NativeWidgetMus { I don't think ...
5 years, 1 month ago (2015-11-04 23:03:21 UTC) #2
sky
https://codereview.chromium.org/1419793006/diff/20001/components/mus/example/wm/non_client_frame_controller.cc File components/mus/example/wm/non_client_frame_controller.cc (right): https://codereview.chromium.org/1419793006/diff/20001/components/mus/example/wm/non_client_frame_controller.cc#newcode14 components/mus/example/wm/non_client_frame_controller.cc:14: class WmNativeWidgetMus : public views::NativeWidgetMus { On 2015/11/04 23:03:21, ...
5 years, 1 month ago (2015-11-05 00:18:02 UTC) #3
Ben Goodger (Google)
ok, lgtm
5 years, 1 month ago (2015-11-05 00:41:27 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1419793006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1419793006/60001
5 years, 1 month ago (2015-11-05 01:40:59 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-05 03:47:35 UTC) #8
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 03:48:58 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/56961cd296980da6de2b537d65a104da24af2b60
Cr-Commit-Position: refs/heads/master@{#357995}

Powered by Google App Engine
This is Rietveld 408576698