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

Issue 2418703002: [mac] Fixed FramedBrowserWindowTest.WindowWidgetLocation. (Closed)

Created:
4 years, 2 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 2 months ago
Reviewers:
tapted, erikchen
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[mac] Fixed FramedBrowserWindowTest.WindowWidgetLocation. - call [window_ layoutIfNeeded] to update buttons position, which is controlled by layout constraints - use window coordinates for verifying button locations BUG=655112, 605219 TBR=tapted@chromium.org Committed: https://crrev.com/0bd2a26b4420c4d4abb0f1101111e16c8f65c91c Cr-Commit-Position: refs/heads/master@{#425211}

Patch Set 1 #

Patch Set 2 : Translate buttons coords to global coord system #

Patch Set 3 : Added debug logs #

Patch Set 4 : More logs #

Patch Set 5 : Convert to window coords. #

Patch Set 6 : Fixed conversion code #

Patch Set 7 : Actually fixed tests. #

Patch Set 8 : Fixed compilation #

Patch Set 9 : Fixed compilation #

Patch Set 10 : Removed extra logs #

Total comments: 2

Patch Set 11 : Added comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M chrome/browser/ui/cocoa/framed_browser_window_unittest.mm View 1 2 3 4 5 6 7 8 9 10 7 chunks +14 lines, -6 lines 0 comments Download

Messages

Total messages: 49 (41 generated)
Eugene But (OOO till 7-30)
4 years, 2 months ago (2016-10-13 21:56:12 UTC) #29
erikchen
https://codereview.chromium.org/2418703002/diff/180001/chrome/browser/ui/cocoa/framed_browser_window_unittest.mm File chrome/browser/ui/cocoa/framed_browser_window_unittest.mm (right): https://codereview.chromium.org/2418703002/diff/180001/chrome/browser/ui/cocoa/framed_browser_window_unittest.mm#newcode115 chrome/browser/ui/cocoa/framed_browser_window_unittest.mm:115: [window_ layoutIfNeeded]; Why is this necessary? Is it because ...
4 years, 2 months ago (2016-10-13 21:57:54 UTC) #30
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2418703002/diff/180001/chrome/browser/ui/cocoa/framed_browser_window_unittest.mm File chrome/browser/ui/cocoa/framed_browser_window_unittest.mm (right): https://codereview.chromium.org/2418703002/diff/180001/chrome/browser/ui/cocoa/framed_browser_window_unittest.mm#newcode115 chrome/browser/ui/cocoa/framed_browser_window_unittest.mm:115: [window_ layoutIfNeeded]; On 2016/10/13 21:57:54, erikchen wrote: > Why ...
4 years, 2 months ago (2016-10-13 22:03:27 UTC) #33
erikchen
lgtm
4 years, 2 months ago (2016-10-13 23:24:57 UTC) #38
Eugene But (OOO till 7-30)
Thanks for quick review!
4 years, 2 months ago (2016-10-14 00:01:59 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2418703002/200001
4 years, 2 months ago (2016-10-14 00:02:49 UTC) #45
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 2 months ago (2016-10-14 00:11:21 UTC) #47
commit-bot: I haz the power
4 years, 2 months ago (2016-10-14 00:13:53 UTC) #49
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/0bd2a26b4420c4d4abb0f1101111e16c8f65c91c
Cr-Commit-Position: refs/heads/master@{#425211}

Powered by Google App Engine
This is Rietveld 408576698