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

Issue 8000: Start writing the GTK code for test_shell. (Closed)

Created:
12 years, 2 months ago by agl
Modified:
9 years, 7 months ago
Reviewers:
tony, Evan Martin
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Start writing the GTK code for test_shell.

Patch Set 1 #

Patch Set 2 : Now paints correctly #

Patch Set 3 : Minor touchups #

Patch Set 4 : Addressing comments #

Patch Set 5 : Style fixes #

Patch Set 6 : Addressing evan's second set of comments #

Patch Set 7 : Sync with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -35 lines) Patch
M base/gfx/bitmap_platform_device_linux.h View 2 3 4 3 chunks +20 lines, -3 lines 0 comments Download
M base/gfx/bitmap_platform_device_linux.cc View 2 3 4 5 3 chunks +28 lines, -10 lines 0 comments Download
M base/gfx/platform_canvas_linux.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/SConscript View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/tools/test_shell/gtk/test_shell.cc View 1 2 3 4 2 chunks +1 line, -14 lines 0 comments Download
M webkit/tools/test_shell/gtk/webview_host.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/gtk/webwidget_host.cc View 1 2 3 4 5 1 chunk +170 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/webwidget_host.h View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
agl
This allows test_shell to paint an empty background.
12 years, 1 month ago (2008-10-28 00:03:47 UTC) #1
Evan Martin
I know it's hard habit to break, but we put * and & on the ...
12 years, 1 month ago (2008-10-28 00:21:59 UTC) #2
tony
http://codereview.chromium.org/8000/diff/19/206 File base/gfx/bitmap_platform_device_linux.cc (left): http://codereview.chromium.org/8000/diff/19/206#oldcode24 Line 24: #ifndef NDEBUG It seems like we would still ...
12 years, 1 month ago (2008-10-28 00:29:42 UTC) #3
agl
Should all be addressed. http://codereview.chromium.org/8000/diff/19/206 File base/gfx/bitmap_platform_device_linux.cc (left): http://codereview.chromium.org/8000/diff/19/206#oldcode24 Line 24: #ifndef NDEBUG On 2008/10/28 ...
12 years, 1 month ago (2008-10-28 01:09:56 UTC) #4
tony
LGTM. Some style nits, there are still lots of Foo *bar args that should be ...
12 years, 1 month ago (2008-10-28 16:01:14 UTC) #5
agl
Fixed style issues with a search and replace to put the asterisk in the wrong ...
12 years, 1 month ago (2008-10-28 17:40:11 UTC) #6
Evan Martin
No functional comments. You also went over 80 columns in a bunch of places, for ...
12 years, 1 month ago (2008-10-28 18:04:21 UTC) #7
agl
12 years, 1 month ago (2008-10-28 18:30:42 UTC) #8
cheers

http://codereview.chromium.org/8000/diff/32/220
File base/gfx/bitmap_platform_device_linux.cc (right):

http://codereview.chromium.org/8000/diff/32/220#newcode9
Line 9: #include "gdk/gdk.h"
On 2008/10/28 18:04:21, Evan Martin wrote:
> I think we want <> around system headers, and these should be before L7.

ack.

http://codereview.chromium.org/8000/diff/32/226
File webkit/tools/test_shell/gtk/webwidget_host.cc (right):

http://codereview.chromium.org/8000/diff/32/226#newcode21
Line 21: static gboolean configureEvent(GtkWidget* widget, GdkEventConfigure*
config,
On 2008/10/28 18:04:21, Evan Martin wrote:
> Since these are in the anonymous namespace anyway, they're already static and
> the "static" keyword isn't necessary.
> 
> It's a bit strange to have mixed webkitStyle and GoogleStyle function names in
> this file -- I think it should all be GoogleStyle.

ack and ack.

Powered by Google App Engine
This is Rietveld 408576698