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

Issue 2145001: views: Move BoxLayout class into views/examples directory. (Closed)

Created:
10 years, 7 months ago by tfarina
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting, oshima, sky
CC:
chromium-reviews
Base URL:
git://git.chromium.org/chromium.git
Visibility:
Public.

Description

views: Move BoxLayout class into views/examples directory. Also add horizontal support as well. BUG=None TEST=out/Debug/view_examples, see Widget tab. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=48460

Patch Set 1 : " #

Total comments: 12

Patch Set 2 : first round of review #

Total comments: 2

Patch Set 3 : fix margin #

Patch Set 4 : " #

Total comments: 9

Patch Set 5 : " #

Patch Set 6 : fix win #

Patch Set 7 : fix win2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -58 lines) Patch
A views/examples/box_layout.h View 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A views/examples/box_layout.cc View 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
M views/examples/widget_example.h View 1 2 3 5 chunks +15 lines, -57 lines 0 comments Download
M views/views.gyp View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
tfarina
Please, take a look. (Note: I'd like to move CenterLayout in next CL, too).
10 years, 7 months ago (2010-05-22 02:45:14 UTC) #1
oshima
Thank you for doing this. While we're at it, could you please add a margin ...
10 years, 7 months ago (2010-05-22 17:41:43 UTC) #2
oshima
oops, forgot to send comments. http://codereview.chromium.org/2145001/diff/2001/3001 File views/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/2001/3001#newcode5 views/box_layout.cc:5: #include "views/box_layout.h" namespace views ...
10 years, 7 months ago (2010-05-22 18:28:26 UTC) #3
tfarina
http://codereview.chromium.org/2145001/diff/2001/3001 File views/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/2001/3001#newcode5 views/box_layout.cc:5: #include "views/box_layout.h" On 2010/05/22 18:28:26, oshima wrote: > namespace ...
10 years, 7 months ago (2010-05-22 19:29:27 UTC) #4
tfarina
http://codereview.chromium.org/2145001/diff/5002/7001 File views/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/5002/7001#newcode25 views/box_layout.cc:25: z = height * (i + margin_) / count; ...
10 years, 7 months ago (2010-05-22 19:37:33 UTC) #5
tfarina
http://codereview.chromium.org/2145001/diff/5002/7001 File views/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/5002/7001#newcode25 views/box_layout.cc:25: z = height * (i + margin_) / count; ...
10 years, 7 months ago (2010-05-22 19:45:45 UTC) #6
sky
Shouldn't we keep this in the example until we actually need it in Chrome proper?
10 years, 7 months ago (2010-05-23 00:25:40 UTC) #7
Peter Kasting
On 2010/05/23 00:25:40, sky wrote: > Shouldn't we keep this in the example until we ...
10 years, 7 months ago (2010-05-23 00:31:13 UTC) #8
tfarina
On 2010/05/23 00:31:13, Peter Kasting wrote: > On 2010/05/23 00:25:40, sky wrote: > > Shouldn't ...
10 years, 7 months ago (2010-05-23 00:36:11 UTC) #9
sky
I'm fine with closing it, but if you really feel the need move it into ...
10 years, 7 months ago (2010-05-23 00:56:27 UTC) #10
tfarina
On 2010/05/23 00:56:27, sky wrote: > I'm fine with closing it, but if you really ...
10 years, 7 months ago (2010-05-23 01:20:36 UTC) #11
sky
http://codereview.chromium.org/2145001/diff/13002/24001 File views/examples/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/13002/24001#newcode14 views/examples/box_layout.cc:14: void BoxLayout::Layout(views::View* host) { Layout and GetPreferredSize seem wrong ...
10 years, 7 months ago (2010-05-24 15:51:30 UTC) #12
oshima
http://codereview.chromium.org/2145001/diff/13002/24001 File views/examples/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/13002/24001#newcode14 views/examples/box_layout.cc:14: void BoxLayout::Layout(views::View* host) { On 2010/05/24 15:51:31, sky wrote: ...
10 years, 7 months ago (2010-05-26 19:11:34 UTC) #13
tfarina
http://codereview.chromium.org/2145001/diff/13002/24001 File views/examples/box_layout.cc (right): http://codereview.chromium.org/2145001/diff/13002/24001#newcode14 views/examples/box_layout.cc:14: void BoxLayout::Layout(views::View* host) { On 2010/05/26 19:11:34, oshima wrote: ...
10 years, 7 months ago (2010-05-27 12:38:21 UTC) #14
tfarina
Ping
10 years, 7 months ago (2010-05-27 21:51:34 UTC) #15
oshima
10 years, 7 months ago (2010-05-27 21:57:49 UTC) #16
lgtm

Powered by Google App Engine
This is Rietveld 408576698