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

Issue 347010: Fixed view example. It was failing because some of view classes requires WidgetGTK in (Closed)

Created:
11 years, 1 month ago by oshima
Modified:
9 years, 6 months ago
Reviewers:
jcampan
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Fixed view example. It was failing because some of view classes requires WidgetGTK in view hierarchy to call methods on it. * added ContainerExamlpeBase that defers the creation of such views after WidgetGTK available. minor fixes * replaced unnecessary includes with forward decls. * make sure we don't try to set negative hight to viewport. BUG=None TEST=build & run view_examples Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30586

Patch Set 1 #

Patch Set 2 : added missing files #

Patch Set 3 : removed separate ContainerExampleBase #

Total comments: 6

Patch Set 4 : style fixes #

Patch Set 5 : style fix #

Patch Set 6 : added comment #

Patch Set 7 : revert unintentional change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -112 lines) Patch
M views/controls/scroll_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M views/examples/button_example.h View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M views/examples/combobox_example.h View 3 chunks +4 lines, -3 lines 0 comments Download
M views/examples/example_base.h View 1 2 3 chunks +16 lines, -7 lines 0 comments Download
M views/examples/example_base.cc View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
M views/examples/examples_main.cc View 6 2 chunks +3 lines, -3 lines 0 comments Download
M views/examples/message_box_example.h View 1 2 3 chunks +13 lines, -18 lines 0 comments Download
M views/examples/radio_button_example.h View 1 2 4 chunks +13 lines, -19 lines 0 comments Download
M views/examples/scroll_view_example.h View 1 2 4 chunks +13 lines, -18 lines 0 comments Download
M views/examples/tabbed_pane_example.h View 1 2 3 chunks +13 lines, -19 lines 0 comments Download
M views/examples/textfield_example.h View 1 2 6 chunks +16 lines, -21 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
oshima
11 years, 1 month ago (2009-10-28 23:16:26 UTC) #1
jcampan
Looks like you forgot to include container_example_base.[h,cc]
11 years, 1 month ago (2009-10-28 23:21:05 UTC) #2
oshima
You're right. Uploaded them. On Wed, Oct 28, 2009 at 4:21 PM, <jcampan@chromium.org> wrote: > ...
11 years, 1 month ago (2009-10-28 23:28:38 UTC) #3
jcampan
On 2009/10/28 23:28:38, oshima wrote: > You're right. Uploaded them. > > On Wed, Oct ...
11 years, 1 month ago (2009-10-29 00:02:08 UTC) #4
oshima
On Wed, Oct 28, 2009 at 5:02 PM, <jcampan@chromium.org> wrote: > On 2009/10/28 23:28:38, oshima ...
11 years, 1 month ago (2009-10-29 00:50:21 UTC) #5
jcampan
http://codereview.chromium.org/347010/diff/1013/1017 File views/examples/example_base.cc (right): http://codereview.chromium.org/347010/diff/1013/1017#newcode25 Line 25: : example_view_created_(false), example_base_(base) { Nit: per style guide ...
11 years, 1 month ago (2009-10-29 01:04:38 UTC) #6
oshima
http://codereview.chromium.org/347010/diff/1013/1017 File views/examples/example_base.cc (right): http://codereview.chromium.org/347010/diff/1013/1017#newcode25 Line 25: : example_view_created_(false), example_base_(base) { On 2009/10/29 01:04:38, jcampan ...
11 years, 1 month ago (2009-10-29 16:17:39 UTC) #7
jcampan
11 years, 1 month ago (2009-10-30 06:02:48 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698