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

Issue 1442683002: Fix views::View::BoundsChanged (Closed)

Created:
5 years, 1 month ago by flint
Modified:
5 years, 1 month ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, tfarina, tdanderson+views_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix views::View::BoundsChanged View::Layout is not invoked if only origin has been changed. R=sadrul@chromium.org,sky@chromium.org BUG=none TEST=See unittest. Committed: https://crrev.com/b5412060fc9373b1f48a2799523a167ba4fcef63 Cr-Commit-Position: refs/heads/master@{#360551}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix test #

Total comments: 4

Patch Set 3 : Fix 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -1 line) Patch
M ui/views/view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view_unittest.cc View 1 2 5 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
flint
5 years, 1 month ago (2015-11-12 14:30:16 UTC) #1
sky
Under what circumstances in this causing problems? I'm hesitant to change this as it may ...
5 years, 1 month ago (2015-11-12 15:58:56 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442683002/1
5 years, 1 month ago (2015-11-13 09:48:08 UTC) #4
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 1 month ago (2015-11-13 09:48:12 UTC) #6
flint
On 2015/11/12 15:58:56, sky wrote: > Under what circumstances in this causing problems? I'm hesitant ...
5 years, 1 month ago (2015-11-13 10:05:37 UTC) #7
sky
I get what the code does, my question is where are you encountering this bug ...
5 years, 1 month ago (2015-11-13 16:02:41 UTC) #8
flint
On 2015/11/13 16:02:41, sky wrote: > I get what the code does, my question is ...
5 years, 1 month ago (2015-11-17 13:14:54 UTC) #9
sky
Ok, fair enough. https://codereview.chromium.org/1442683002/diff/1/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/1442683002/diff/1/ui/views/view_unittest.cc#newcode4116 ui/views/view_unittest.cc:4116: bool layout_was_called = false; Make private ...
5 years, 1 month ago (2015-11-17 18:37:27 UTC) #10
flint
Originally I made two test cases to illustrate two similar scenarios. Final test case is ...
5 years, 1 month ago (2015-11-18 13:16:04 UTC) #11
sky
https://codereview.chromium.org/1442683002/diff/20001/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/1442683002/diff/20001/ui/views/view_unittest.cc#newcode244 ui/views/view_unittest.cc:244: void Layout() override; inline the implementation like the rest. ...
5 years, 1 month ago (2015-11-18 16:55:51 UTC) #12
flint
https://codereview.chromium.org/1442683002/diff/20001/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/1442683002/diff/20001/ui/views/view_unittest.cc#newcode244 ui/views/view_unittest.cc:244: void Layout() override; On 2015/11/18 16:55:50, sky wrote: > ...
5 years, 1 month ago (2015-11-18 19:57:45 UTC) #13
sky
LGTM
5 years, 1 month ago (2015-11-18 21:05:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442683002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442683002/40001
5 years, 1 month ago (2015-11-19 08:23:55 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-19 10:39:11 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 10:40:26 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b5412060fc9373b1f48a2799523a167ba4fcef63
Cr-Commit-Position: refs/heads/master@{#360551}

Powered by Google App Engine
This is Rietveld 408576698