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

Issue 976923002: Adjust view unittest to work with impl-side-painting (Closed)

Created:
5 years, 9 months ago by weiliangc
Modified:
5 years, 9 months ago
Reviewers:
danakj, sky
CC:
chromium-reviews, piman, tfarina, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust view unittest to work with impl-side-painting View unittest builds on assumption of exact invalidation rect being used. Impl side would change that assumption. Adjust unittests to test for both impl-side-painting and non-impl-side-painting. R=danakj BUG=314185 Committed: https://crrev.com/98bc520d5bef9bb2b3699f10e1b9fdc306de9c6a Cr-Commit-Position: refs/heads/master@{#319566}

Patch Set 1 #

Patch Set 2 : not to go thru cc in ui view unittests #

Total comments: 2

Patch Set 3 : review comments addressed #

Total comments: 4

Patch Set 4 : address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -68 lines) Patch
M ui/views/view_unittest.cc View 1 2 3 12 chunks +27 lines, -68 lines 0 comments Download

Messages

Total messages: 24 (5 generated)
weiliangc
Still kinda magic number but good enough?
5 years, 9 months ago (2015-03-04 01:09:44 UTC) #1
weiliangc
Trying to fix bot failures in https://codereview.chromium.org/962833003/
5 years, 9 months ago (2015-03-04 01:11:47 UTC) #3
sky
On 2015/03/04 01:11:47, weiliangc wrote: > Trying to fix bot failures in https://codereview.chromium.org/962833003/ Why does ...
5 years, 9 months ago (2015-03-04 15:58:20 UTC) #4
danakj
On Wed, Mar 4, 2015 at 7:58 AM, <sky@chromium.org> wrote: > On 2015/03/04 01:11:47, weiliangc ...
5 years, 9 months ago (2015-03-04 16:33:53 UTC) #5
sky
On 2015/03/04 16:33:53, danakj wrote: > On Wed, Mar 4, 2015 at 7:58 AM, <mailto:sky@chromium.org> ...
5 years, 9 months ago (2015-03-04 16:35:54 UTC) #6
danakj
On Wed, Mar 4, 2015 at 8:35 AM, <sky@chromium.org> wrote: > On 2015/03/04 16:33:53, danakj ...
5 years, 9 months ago (2015-03-04 16:49:05 UTC) #7
enne (OOO)
> Ok, thanks. Is it possible for tests to change the tile size? Seems like ...
5 years, 9 months ago (2015-03-04 17:20:01 UTC) #8
danakj
I think I understand what we need to do here.. the problem is that this ...
5 years, 9 months ago (2015-03-05 16:21:46 UTC) #9
weiliangc
Updated: view unittests shouldn't go through cc to test cull set related functionalities. Add function ...
5 years, 9 months ago (2015-03-06 18:10:43 UTC) #10
danakj
LGTM https://codereview.chromium.org/976923002/diff/20001/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/976923002/diff/20001/ui/views/view_unittest.cc#newcode181 ui/views/view_unittest.cc:181: float image_scale = 1; 1.f https://codereview.chromium.org/976923002/diff/20001/ui/views/view_unittest.cc#newcode183 ui/views/view_unittest.cc:183: gfx::Canvas ...
5 years, 9 months ago (2015-03-06 18:21:59 UTC) #11
weiliangc
sky PTAL.
5 years, 9 months ago (2015-03-06 21:31:35 UTC) #12
sky
https://codereview.chromium.org/976923002/diff/40001/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/976923002/diff/40001/ui/views/view_unittest.cc#newcode180 ui/views/view_unittest.cc:180: void PaintToViewInRect(views::Widget* widget, const gfx::Rect& rect) { As this ...
5 years, 9 months ago (2015-03-06 23:33:17 UTC) #13
sky
LGTM with those two changes.
5 years, 9 months ago (2015-03-06 23:33:25 UTC) #14
weiliangc
https://codereview.chromium.org/976923002/diff/40001/ui/views/view_unittest.cc File ui/views/view_unittest.cc (right): https://codereview.chromium.org/976923002/diff/40001/ui/views/view_unittest.cc#newcode180 ui/views/view_unittest.cc:180: void PaintToViewInRect(views::Widget* widget, const gfx::Rect& rect) { On 2015/03/06 ...
5 years, 9 months ago (2015-03-07 00:22:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976923002/60001
5 years, 9 months ago (2015-03-07 00:23:40 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) mac_chromium_rel_ng on ...
5 years, 9 months ago (2015-03-07 02:18:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/976923002/60001
5 years, 9 months ago (2015-03-07 21:13:05 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-07 23:03:14 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-07 23:04:22 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/98bc520d5bef9bb2b3699f10e1b9fdc306de9c6a
Cr-Commit-Position: refs/heads/master@{#319566}

Powered by Google App Engine
This is Rietveld 408576698