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

Issue 3219002: FBTF: Move code from headers into cc files. (Closed)

Created:
10 years, 3 months ago by Elliot Glaysher
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

FBTF: Move code from headers into cc files. BUG=none TEST=compiles Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57732

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+219 lines, -101 lines) Patch
M webkit/glue/context_menu.h View 1 chunk +3 lines, -28 lines 0 comments Download
A webkit/glue/context_menu.cc View 1 chunk +38 lines, -0 lines 0 comments Download
M webkit/glue/cpp_bound_class.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/cpp_bound_class.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/glue/form_data.h View 1 chunk +4 lines, -9 lines 0 comments Download
A webkit/glue/form_data.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M webkit/glue/form_field.h View 1 chunk +1 line, -0 lines 4 comments Download
M webkit/glue/form_field.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/ftp_directory_listing_response_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/password_form.h View 2 chunks +6 lines, -26 lines 0 comments Download
A webkit/glue/password_form.cc View 1 chunk +36 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibility.h View 1 chunk +2 lines, -0 lines 0 comments Download
M webkit/glue/webaccessibility.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webclipboard_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webclipboard_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webcookie.h View 1 chunk +4 lines, -30 lines 0 comments Download
A webkit/glue/webcookie.cc View 1 chunk +43 lines, -0 lines 0 comments Download
M webkit/glue/webdropdata.h View 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/glue/webdropdata.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M webkit/glue/webfileutilities_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webfileutilities_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 4 chunks +4 lines, -0 lines 0 comments Download
M webkit/glue/webkitclient_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/webkitclient_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webpasswordautocompletelistener_impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M webkit/glue/webpasswordautocompletelistener_impl.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Elliot Glaysher
Moving several of the bigger constructors really does help, but half this patch is me ...
10 years, 3 months ago (2010-08-27 19:40:32 UTC) #1
jamesr
Yes! (assuming it blends on the trybots). LGTM+++
10 years, 3 months ago (2010-08-27 19:50:26 UTC) #2
tony
LGTM2 http://codereview.chromium.org/3219002/diff/1/9 File webkit/glue/form_field.h (right): http://codereview.chromium.org/3219002/diff/1/9#newcode25 webkit/glue/form_field.h:25: ~FormField(); Nit: In the case of a non-virtual ...
10 years, 3 months ago (2010-08-27 20:24:48 UTC) #3
jamesr
http://codereview.chromium.org/3219002/diff/1/9 File webkit/glue/form_field.h (right): http://codereview.chromium.org/3219002/diff/1/9#newcode25 webkit/glue/form_field.h:25: ~FormField(); On 2010/08/27 20:24:48, tony wrote: > Nit: In ...
10 years, 3 months ago (2010-08-27 20:28:44 UTC) #4
Elliot Glaysher
http://codereview.chromium.org/3219002/diff/1/9 File webkit/glue/form_field.h (right): http://codereview.chromium.org/3219002/diff/1/9#newcode25 webkit/glue/form_field.h:25: ~FormField(); This is not an empty destructor. The destructor, ...
10 years, 3 months ago (2010-08-27 21:02:45 UTC) #5
darin (slow to review)
10 years, 3 months ago (2010-08-27 21:28:35 UTC) #6
Thank you for doing this!  LGTM

http://codereview.chromium.org/3219002/diff/1/9
File webkit/glue/form_field.h (right):

http://codereview.chromium.org/3219002/diff/1/9#newcode25
webkit/glue/form_field.h:25: ~FormField();
On 2010/08/27 21:02:45, Elliot Glaysher wrote:
> This is not an empty destructor. The destructor, even though declared as {},
> will make five function calls minimum.

Agreed.  This is a good case to move into the .cc file.  Just look at the member
vars!

Powered by Google App Engine
This is Rietveld 408576698