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

Issue 357063002: Snap widgets to pixel boundary on ash (Closed)

Created:
6 years, 5 months ago by oshima
Modified:
6 years, 5 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, rsesek+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su, ben+ash_chromium.org, miu+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Snap widgets to pixel boundary on ash Introduced SnapToPixelLayoutManager and used where it makes sense. WorkspaceLayoutManager uses WindowState, so it's the property is manually set there. This depends on the following CL: https://codereview.chromium.org/375693006/ BUG=391822 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284119

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Patch Set 3 : export SnapToPixelLayoutManager #

Patch Set 4 : adjust tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -112 lines) Patch
M ash/ash.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 13 chunks +21 lines, -0 lines 0 comments Download
M ash/shelf/shelf_layout_manager.h View 4 chunks +10 lines, -15 lines 0 comments Download
M ash/shelf/shelf_layout_manager.cc View 2 chunks +3 lines, -15 lines 0 comments Download
M ash/shelf/shelf_widget.cc View 1 chunk +2 lines, -1 line 0 comments Download
A + ash/snap_to_pixel_layout_manager.h View 1 2 1 chunk +16 lines, -14 lines 0 comments Download
A ash/snap_to_pixel_layout_manager.cc View 1 1 chunk +45 lines, -0 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.h View 4 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M ash/wm/lock_layout_manager.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M ash/wm/lock_layout_manager.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/wm/status_area_layout_manager.h View 2 chunks +3 lines, -7 lines 0 comments Download
M ash/wm/status_area_layout_manager.cc View 3 chunks +5 lines, -19 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.h View 3 chunks +3 lines, -6 lines 0 comments Download
M ash/wm/system_modal_container_layout_manager.cc View 2 chunks +3 lines, -11 lines 0 comments Download
M ash/wm/window_properties.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_properties.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_state.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/window_state.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/window_util.h View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M ash/wm/window_util.cc View 3 chunks +37 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 1 2 3 3 chunks +3 lines, -13 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
oshima
6 years, 5 months ago (2014-07-15 23:55:01 UTC) #1
Jun Mukai
https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc#newcode862 ash/root_window_controller.cc:862: Not sure why this is necessary. Instead of setting ...
6 years, 5 months ago (2014-07-16 22:59:08 UTC) #2
oshima
https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc#newcode862 ash/root_window_controller.cc:862: On 2014/07/16 22:59:08, Jun Mukai wrote: > Not sure ...
6 years, 5 months ago (2014-07-17 22:07:56 UTC) #3
Jun Mukai
https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc#newcode862 ash/root_window_controller.cc:862: On 2014/07/17 22:07:56, oshima wrote: > On 2014/07/16 22:59:08, ...
6 years, 5 months ago (2014-07-17 22:26:31 UTC) #4
Jun Mukai
lgtm https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc#newcode862 ash/root_window_controller.cc:862: On 2014/07/17 22:26:31, Jun Mukai wrote: > On ...
6 years, 5 months ago (2014-07-17 22:27:16 UTC) #5
oshima
https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/357063002/diff/310001/ash/root_window_controller.cc#newcode862 ash/root_window_controller.cc:862: On 2014/07/17 22:27:16, Jun Mukai wrote: > On 2014/07/17 ...
6 years, 5 months ago (2014-07-17 22:28:40 UTC) #6
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 5 months ago (2014-07-17 22:29:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/357063002/370001
6 years, 5 months ago (2014-07-17 22:30:53 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 03:38:10 UTC) #9
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 5 months ago (2014-07-18 04:16:22 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_dbg/builds/39291)
6 years, 5 months ago (2014-07-18 04:17:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/357063002/390001
6 years, 5 months ago (2014-07-18 04:17:27 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-18 08:04:12 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-18 08:54:31 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win8_chromium_rel/builds/4452)
6 years, 5 months ago (2014-07-18 08:54:33 UTC) #15
oshima
The CQ bit was checked by oshima@chromium.org
6 years, 5 months ago (2014-07-18 14:17:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/357063002/410001
6 years, 5 months ago (2014-07-18 14:17:55 UTC) #17
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 16:26:20 UTC) #18
Message was sent while issue was closed.
Change committed as 284119

Powered by Google App Engine
This is Rietveld 408576698