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

Issue 7846010: Fixed crash when a SinglesplitView gets embdedded inside SingleSplitView (Closed)

Created:
9 years, 3 months ago by Gajen
Modified:
9 years ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Fixed crash when a SinglesplitView gets embdedded inside SingleSplitView BUG=none TEST=added test example double_split_view in views/examples Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=101298

Patch Set 1 #

Total comments: 19

Patch Set 2 : incorporated all review comments by Sky and Tfarina #

Total comments: 10

Patch Set 3 : Incorporated Reviews comments by Tfarina and Oshima #

Patch Set 4 : Comments incorporated as per Sky review #

Total comments: 2

Patch Set 5 : Incorporated final comment #

Patch Set 6 : Sync up with trunk #

Total comments: 2

Patch Set 7 : Examples order changed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -1 line) Patch
M AUTHORS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M views/controls/single_split_view.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A views/examples/double_split_view_example.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A views/examples/double_split_view_example.cc View 1 2 1 chunk +89 lines, -0 lines 0 comments Download
M views/examples/examples_main.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M views/views.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (0 generated)
Gajen
Hi, I would like you guys to review my patch.
9 years, 3 months ago (2011-09-08 04:49:12 UTC) #1
sky
http://codereview.chromium.org/7846010/diff/1/views/controls/single_split_view.cc File views/controls/single_split_view.cc (right): http://codereview.chromium.org/7846010/diff/1/views/controls/single_split_view.cc#newcode253 views/controls/single_split_view.cc:253: return std::min(divider_offset, Put the std::max call here, eg std::max(0, ...
9 years, 3 months ago (2011-09-08 14:27:10 UTC) #2
tfarina
http://codereview.chromium.org/7846010/diff/1/views/controls/single_split_view.cc File views/controls/single_split_view.cc (right): http://codereview.chromium.org/7846010/diff/1/views/controls/single_split_view.cc#newcode249 views/controls/single_split_view.cc:249: // Prevents negative check fail in gfx:Size()for embedded SingleSplitView ...
9 years, 3 months ago (2011-09-08 20:39:45 UTC) #3
Gajen
Sky, Tfarina Thank you very much for quick review comments. Incorporated both of your comments ...
9 years, 3 months ago (2011-09-09 13:58:02 UTC) #4
tfarina
views/examples LGTM, but sky should approve as OWNER. http://codereview.chromium.org/7846010/diff/8001/views/examples/double_split_view_example.h File views/examples/double_split_view_example.h (right): http://codereview.chromium.org/7846010/diff/8001/views/examples/double_split_view_example.h#newcode9 views/examples/double_split_view_example.h:9: #include ...
9 years, 3 months ago (2011-09-09 15:15:30 UTC) #5
sky
LGTM with the following change. http://codereview.chromium.org/7846010/diff/8001/views/controls/single_split_view.cc File views/controls/single_split_view.cc (right): http://codereview.chromium.org/7846010/diff/8001/views/controls/single_split_view.cc#newcode249 views/controls/single_split_view.cc:249: // Prevents negative check ...
9 years, 3 months ago (2011-09-09 15:32:23 UTC) #6
oshima
LGTM once you addressed sky/tfarina's comment. http://codereview.chromium.org/7846010/diff/8001/views/examples/examples_main.cc File views/examples/examples_main.cc (right): http://codereview.chromium.org/7846010/diff/8001/views/examples/examples_main.cc#newcode111 views/examples/examples_main.cc:111: remove extra empty ...
9 years, 3 months ago (2011-09-09 17:50:27 UTC) #7
Gajen
Hi, Incorporated Tfarina and Oshima review comments. Sky, I have few thoughts on your reviews ...
9 years, 3 months ago (2011-09-12 15:13:44 UTC) #8
sky1
On Mon, Sep 12, 2011 at 8:13 AM, <wxjg68@motorola.com> wrote: > Hi, > Incorporated Tfarina ...
9 years, 3 months ago (2011-09-12 15:56:41 UTC) #9
Gajen
On 2011/09/12 15:56:41, sky_google.com wrote: > On Mon, Sep 12, 2011 at 8:13 AM, <mailto:wxjg68@motorola.com> ...
9 years, 3 months ago (2011-09-13 05:30:17 UTC) #10
Gajen
9 years, 3 months ago (2011-09-13 05:55:52 UTC) #11
sky1
On Mon, Sep 12, 2011 at 10:30 PM, <wxjg68@motorola.com> wrote: > On 2011/09/12 15:56:41, sky_google.com ...
9 years, 3 months ago (2011-09-13 17:24:08 UTC) #12
Gajen
Sky, Incorporated you comments.
9 years, 3 months ago (2011-09-14 05:04:46 UTC) #13
sky
lgtm http://codereview.chromium.org/7846010/diff/19001/views/controls/single_split_view.cc File views/controls/single_split_view.cc (right): http://codereview.chromium.org/7846010/diff/19001/views/controls/single_split_view.cc#newcode249 views/controls/single_split_view.cc:249: // primary_axis_size may < kDividerSize during initial layout ...
9 years, 3 months ago (2011-09-14 15:01:16 UTC) #14
Gajen
Hi, Sky. Should I submit one more patch.
9 years, 3 months ago (2011-09-14 15:06:57 UTC) #15
sky
Yes, updated it then I'll make sure it passes the try bots and land it.
9 years, 3 months ago (2011-09-14 15:36:46 UTC) #16
Gajen
http://codereview.chromium.org/7846010/diff/19001/views/controls/single_split_view.cc File views/controls/single_split_view.cc (right): http://codereview.chromium.org/7846010/diff/19001/views/controls/single_split_view.cc#newcode249 views/controls/single_split_view.cc:249: // primary_axis_size may < kDividerSize during initial layout On ...
9 years, 3 months ago (2011-09-14 15:50:01 UTC) #17
sky
Your patch no longer cleanly applies, can you sync to trunk and update it.
9 years, 3 months ago (2011-09-14 21:28:56 UTC) #18
Gajen
Hi, Sky and All. Did sync with trunk but now can not do "git cl ...
9 years, 3 months ago (2011-09-15 12:48:38 UTC) #19
tfarina
On 2011/09/15 12:48:38, Gajen wrote: > Hi, Sky and All. > Did sync with trunk ...
9 years, 3 months ago (2011-09-15 13:04:48 UTC) #20
Gajen
On 2011/09/15 13:04:48, tfarina wrote: > On 2011/09/15 12:48:38, Gajen wrote: > > Hi, Sky ...
9 years, 3 months ago (2011-09-15 13:30:38 UTC) #21
Gajen
9 years, 3 months ago (2011-09-15 13:30:47 UTC) #22
tfarina
On 2011/09/15 13:30:38, Gajen wrote: > Yes, I will take this up.. Not in this ...
9 years, 3 months ago (2011-09-15 13:32:51 UTC) #23
Gajen
Done Sync up with trunk.
9 years, 3 months ago (2011-09-15 13:40:36 UTC) #24
tfarina
http://codereview.chromium.org/7846010/diff/24001/views/examples/examples_main.cc File views/examples/examples_main.cc (right): http://codereview.chromium.org/7846010/diff/24001/views/examples/examples_main.cc#newcode119 views/examples/examples_main.cc:119: AddExample(&double_split_view_example); Put this example after the SingleSplitView, after line ...
9 years, 3 months ago (2011-09-15 13:46:31 UTC) #25
Gajen
On 2011/09/15 13:32:51, tfarina wrote: > On 2011/09/15 13:30:38, Gajen wrote: > > Yes, I ...
9 years, 3 months ago (2011-09-15 13:46:36 UTC) #26
Gajen
9 years, 3 months ago (2011-09-15 13:46:47 UTC) #27
Gajen
http://codereview.chromium.org/7846010/diff/24001/views/examples/examples_main.cc File views/examples/examples_main.cc (right): http://codereview.chromium.org/7846010/diff/24001/views/examples/examples_main.cc#newcode119 views/examples/examples_main.cc:119: AddExample(&double_split_view_example); On 2011/09/15 13:46:31, tfarina wrote: > Put this ...
9 years, 3 months ago (2011-09-15 13:57:33 UTC) #28
commit-bot: I haz the power
Presubmit check for 7846010-28001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 3 months ago (2011-09-15 14:14:26 UTC) #29
sky1
Thiago, it looks like you tried to land this but it failed because of presubmit ...
9 years, 3 months ago (2011-09-15 14:53:21 UTC) #30
Gajen
Hi, Sky. Would this be committed now..!!!
9 years, 3 months ago (2011-09-15 14:53:46 UTC) #31
tfarina
On 2011/09/15 14:53:21, sky_google.com wrote: > Thiago, it looks like you tried to land this ...
9 years, 3 months ago (2011-09-15 14:56:56 UTC) #32
tfarina
On 2011/09/15 14:53:21, http://sky_google.com wrote: > Are you going to land the old fashioned way, ...
9 years, 3 months ago (2011-09-15 15:01:59 UTC) #33
Gajen
On 2011/09/15 14:53:21, sky_google.com wrote: > Thiago, it looks like you tried to land this ...
9 years, 3 months ago (2011-09-15 15:02:05 UTC) #34
Gajen
9 years, 3 months ago (2011-09-15 15:02:14 UTC) #35
sky1
Go for it. THanks, -Scott On Thu, Sep 15, 2011 at 7:56 AM, <tfarina@chromium.org> wrote: ...
9 years, 3 months ago (2011-09-15 15:04:32 UTC) #36
tfarina
9 years, 3 months ago (2011-09-15 15:36:07 UTC) #37
Landed in r101298. Thanks.

Powered by Google App Engine
This is Rietveld 408576698