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

Issue 6902072: wm: Update a lot of code to use structs from geometry.h. (Closed)

Created:
9 years, 8 months ago by Daniel Erat
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, Greg Spencer (Chromium), Daniel Erat
Visibility:
Public.

Description

wm: Update a lot of code to use structs from geometry.h. I'm updating most of the code here, with a few exceptions: - Compositor (I'll do this in a separate change) - deprecated Window::MoveClient() and MoveComposited() methods - LayoutManager (I have a simplified rewrite of this in-progress for http://crosbug.com/13963) Most of this change is completely mechanical, but I'm also simplifying how we handle moving override-redirect windows' compositing actors to the correct place onscreen and showing, hiding, and restacking them: instead of doing this manually in the WindowManager class, it's done in Window::HandleConfigureNotify() and friends. BUG=chromium-os:1822 TEST=ran existing tests Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=81f9db9

Patch Set 1 #

Patch Set 2 : update more code #

Patch Set 3 : still more changes #

Patch Set 4 : update ByteMap #

Patch Set 5 : move override-redirect stacking and visibility into Window #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+921 lines, -1000 lines) Patch
M chrome_watchdog.h View 1 chunk +11 lines, -12 lines 0 comments Download
M chrome_watchdog_test.cc View 1 3 chunks +4 lines, -4 lines 0 comments Download
M event_consumer.h View 1 2 3 2 chunks +17 lines, -18 lines 0 comments Download
M geometry.h View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M layout/layout_manager.h View 1 chunk +11 lines, -12 lines 0 comments Download
M layout/layout_manager.cc View 1 2 3 10 chunks +19 lines, -21 lines 0 comments Download
M layout/layout_manager_test.cc View 1 21 chunks +55 lines, -38 lines 0 comments Download
M layout/toplevel_window.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M layout/toplevel_window.cc View 1 2 3 4 chunks +6 lines, -8 lines 0 comments Download
M login/login_controller.h View 1 chunk +11 lines, -12 lines 0 comments Download
M login/login_controller.cc View 1 2 3 5 chunks +14 lines, -17 lines 0 comments Download
M login/login_controller_test.cc View 1 13 chunks +33 lines, -27 lines 0 comments Download
M modality_handler.h View 1 chunk +11 lines, -12 lines 0 comments Download
M motion_event_coalescer.h View 1 2 4 chunks +6 lines, -5 lines 0 comments Download
M motion_event_coalescer.cc View 1 2 3 chunks +5 lines, -8 lines 0 comments Download
M motion_event_coalescer_test.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M panels/panel.h View 1 2 3 5 chunks +19 lines, -18 lines 0 comments Download
M panels/panel.cc View 1 2 3 14 chunks +59 lines, -77 lines 0 comments Download
M panels/panel_bar.h View 1 2 2 chunks +11 lines, -12 lines 0 comments Download
M panels/panel_bar.cc View 1 2 13 chunks +37 lines, -36 lines 0 comments Download
M panels/panel_bar_test.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M panels/panel_container.h View 1 2 3 chunks +11 lines, -13 lines 0 comments Download
M panels/panel_dock.h View 1 2 2 chunks +11 lines, -11 lines 0 comments Download
M panels/panel_dock.cc View 1 2 6 chunks +24 lines, -25 lines 0 comments Download
M panels/panel_manager.h View 2 chunks +11 lines, -12 lines 0 comments Download
M panels/panel_manager.cc View 1 2 8 chunks +35 lines, -41 lines 0 comments Download
M panels/panel_manager_test.cc View 1 2 3 4 6 chunks +9 lines, -8 lines 0 comments Download
M panels/panel_test.cc View 1 2 19 chunks +36 lines, -37 lines 0 comments Download
M pointer_position_watcher.h View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M pointer_position_watcher.cc View 1 2 2 chunks +3 lines, -9 lines 0 comments Download
M pointer_position_watcher_test.cc View 1 2 3 chunks +5 lines, -8 lines 0 comments Download
M screen_locker_handler.h View 1 chunk +11 lines, -12 lines 0 comments Download
M screen_locker_handler.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M screen_locker_handler_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M test_lib.h View 1 2 3 4 4 chunks +26 lines, -30 lines 0 comments Download
M test_lib.cc View 1 2 3 4 10 chunks +34 lines, -34 lines 0 comments Download
M transient_window_collection.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M transient_window_collection.cc View 1 2 2 chunks +8 lines, -14 lines 0 comments Download
M util.h View 1 2 3 3 chunks +5 lines, -8 lines 0 comments Download
M util.cc View 1 2 3 2 chunks +19 lines, -22 lines 0 comments Download
M util_test.cc View 1 2 3 2 chunks +18 lines, -19 lines 0 comments Download
M window.h View 1 2 3 4 7 chunks +35 lines, -50 lines 0 comments Download
M window.cc View 1 2 3 4 21 chunks +107 lines, -86 lines 1 comment Download
M window_manager.h View 1 2 3 4 chunks +12 lines, -13 lines 0 comments Download
M window_manager.cc View 1 2 3 4 18 chunks +72 lines, -108 lines 0 comments Download
M window_manager_test.cc View 1 2 3 8 chunks +14 lines, -8 lines 0 comments Download
M window_test.cc View 1 2 3 4 21 chunks +49 lines, -66 lines 0 comments Download
M x11/mock_x_connection.cc View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M x11/real_x_connection.cc View 1 2 3 4 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Daniel Erat
Sorry for the hugeness of this change. I'm hoping that it's repetitive enough that it ...
9 years, 7 months ago (2011-05-02 16:53:19 UTC) #1
Daniel Erat
Whoops, meant to make you the lucky recipient of this. :-P
9 years, 7 months ago (2011-05-02 16:55:55 UTC) #2
Greg Spencer (Chromium)
9 years, 7 months ago (2011-05-02 17:03:25 UTC) #3
LGTM. You're right.  It was boring. :)

I'll just take that as punishment for being tardy on my last review.

Powered by Google App Engine
This is Rietveld 408576698