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

Issue 281353009: Reland Linux Window Control Alignment (Closed)

Created:
6 years, 7 months ago by jonross
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Reland Linux Window Control Alignment Modifying CustomFrameView to layout window controls based on user configurations. For linux begin observing the configs and changes. For other systems fall back on a default ordering. Update tests that were originally missed. Original review: https://codereview.chromium.org/240163006/ Revert review: https://codereview.chromium.org/276173002/ Revert "Revert of Linux Aura Task Manager Frame Buttons Misaligned (https://codereview.chromium.org/240163006/)" This reverts commit 9031ef57ba679037fc675bf2f081f3880380de3a. TEST=CustomFrameViewTest BUG=351917 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272352

Patch Set 1 #

Patch Set 2 : Update Test #

Total comments: 2

Patch Set 3 : Fix another test #

Total comments: 14

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : Fix merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+576 lines, -71 lines) Patch
M ash/extended_desktop_unittest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/system_gesture_event_filter_unittest.cc View 1 2 3 4 5 5 chunks +19 lines, -2 lines 0 comments Download
A ui/views/linux_ui/window_button_order_provider.cc View 1 2 3 1 chunk +83 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 4 chunks +7 lines, -0 lines 0 comments Download
M ui/views/window/custom_frame_view.h View 1 2 3 4 5 6 chunks +20 lines, -3 lines 0 comments Download
M ui/views/window/custom_frame_view.cc View 1 2 3 4 5 11 chunks +94 lines, -63 lines 0 comments Download
A ui/views/window/custom_frame_view_unittest.cc View 1 2 3 1 chunk +253 lines, -0 lines 0 comments Download
A ui/views/window/window_button_order_provider.h View 1 2 3 1 chunk +56 lines, -0 lines 0 comments Download
A ui/views/window/window_button_order_provider.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
jonross
The unittest that failed was using hardcoded points for input. With changes to the buttons ...
6 years, 7 months ago (2014-05-15 19:23:02 UTC) #1
flackr
lgtm with nit. https://codereview.chromium.org/281353009/diff/20001/ash/wm/system_gesture_event_filter_unittest.cc File ash/wm/system_gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/281353009/diff/20001/ash/wm/system_gesture_event_filter_unittest.cc#newcode142 ash/wm/system_gesture_event_filter_unittest.cc:142: std::vector<views::FrameButton> leading; nit: Comment why you ...
6 years, 7 months ago (2014-05-15 21:33:16 UTC) #2
jonross
oshima@chromium.org, sadrul@chromium.org: Please review a change to reland 269597. Some ash tests had failed as ...
6 years, 7 months ago (2014-05-15 22:41:00 UTC) #3
sadrul
https://codereview.chromium.org/281353009/diff/40001/ui/views/window/window_button_order_provider.h File ui/views/window/window_button_order_provider.h (right): https://codereview.chromium.org/281353009/diff/40001/ui/views/window/window_button_order_provider.h#newcode18 ui/views/window/window_button_order_provider.h:18: } // namespace ash You shouldn't add ash:: things ...
6 years, 7 months ago (2014-05-15 22:47:34 UTC) #4
oshima
ash lgtm https://codereview.chromium.org/281353009/diff/40001/ash/wm/system_gesture_event_filter_unittest.cc File ash/wm/system_gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/281353009/diff/40001/ash/wm/system_gesture_event_filter_unittest.cc#newcode148 ash/wm/system_gesture_event_filter_unittest.cc:148: SetWindowButtonOrder(leading, trailing); can you explain why we ...
6 years, 7 months ago (2014-05-15 22:51:02 UTC) #5
varkha
https://codereview.chromium.org/281353009/diff/40001/ui/views/window/custom_frame_view.h File ui/views/window/custom_frame_view.h (right): https://codereview.chromium.org/281353009/diff/40001/ui/views/window/custom_frame_view.h#newcode113 ui/views/window/custom_frame_view.h:113: // this beforehand. |leading_buttons_| and |trailing_buttons_| are not in ...
6 years, 7 months ago (2014-05-15 23:33:18 UTC) #6
jonross
https://codereview.chromium.org/281353009/diff/20001/ash/wm/system_gesture_event_filter_unittest.cc File ash/wm/system_gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/281353009/diff/20001/ash/wm/system_gesture_event_filter_unittest.cc#newcode142 ash/wm/system_gesture_event_filter_unittest.cc:142: std::vector<views::FrameButton> leading; On 2014/05/15 21:33:17, flackr wrote: > nit: ...
6 years, 7 months ago (2014-05-16 18:59:48 UTC) #7
varkha
LGTM with a nit. https://codereview.chromium.org/281353009/diff/60001/ash/wm/system_gesture_event_filter_unittest.cc File ash/wm/system_gesture_event_filter_unittest.cc (right): https://codereview.chromium.org/281353009/diff/60001/ash/wm/system_gesture_event_filter_unittest.cc#newcode143 ash/wm/system_gesture_event_filter_unittest.cc:143: // both use hardcoded touch ...
6 years, 7 months ago (2014-05-20 20:07:23 UTC) #8
jonross
Hi sadrul, I just wanted to check that the adjustments to window_button_order_provider addressed your concerns ...
6 years, 7 months ago (2014-05-21 21:08:10 UTC) #9
sadrul
+erg@ lgtm
6 years, 7 months ago (2014-05-21 21:21:18 UTC) #10
Elliot Glaysher
lgtm
6 years, 7 months ago (2014-05-21 21:24:40 UTC) #11
jonross
The CQ bit was checked by jonross@chromium.org
6 years, 7 months ago (2014-05-21 21:30:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/281353009/80001
6 years, 7 months ago (2014-05-21 21:34:04 UTC) #13
jonross
The CQ bit was unchecked by jonross@chromium.org
6 years, 7 months ago (2014-05-21 22:15:27 UTC) #14
jonross
The CQ bit was checked by jonross@chromium.org
6 years, 7 months ago (2014-05-22 14:13:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/281353009/100001
6 years, 7 months ago (2014-05-22 14:14:51 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 18:42:27 UTC) #17
commit-bot: I haz the power
Change committed as 272352
6 years, 7 months ago (2014-05-22 22:50:48 UTC) #18
jonross
6 years, 7 months ago (2014-05-23 14:26:06 UTC) #19
Message was sent while issue was closed.
On 2014/05/22 22:50:48, I haz the power (commit-bot) wrote:
> Change committed as 272352

This change was reverted by: r272356

Review: https://codereview.chromium.org/294473016

Powered by Google App Engine
This is Rietveld 408576698