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

Issue 40132: Refactor v8 extensions to make registration avoid having to use ChromiumBridg... (Closed)

Created:
11 years, 9 months ago by asargent_no_longer_on_chrome
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Refactor v8 extensions so that they aren't in the WebCore namespace, and can call functions in the rest of Chromium code without having to go through ChromiumBridge (which now lives upstream in the WebKit repository). R=darin,mbelshe Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=11040

Patch Set 1 #

Total comments: 13

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -452 lines) Patch
M chrome/renderer/render_process.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M webkit/build/V8Bindings/SConscript View 1 2 chunks +5 lines, -4 lines 0 comments Download
M webkit/build/V8Bindings/V8Bindings.vcproj View 1 1 chunk +8 lines, -8 lines 0 comments Download
A + webkit/extensions/v8/gc_extension.h View 1 chunk +6 lines, -6 lines 0 comments Download
A + webkit/extensions/v8/gc_extension.cc View 1 chunk +13 lines, -14 lines 0 comments Download
A + webkit/extensions/v8/gears_extension.h View 1 chunk +6 lines, -6 lines 0 comments Download
A + webkit/extensions/v8/gears_extension.cc View 2 chunks +6 lines, -7 lines 0 comments Download
A + webkit/extensions/v8/interval_extension.h View 1 chunk +6 lines, -6 lines 0 comments Download
A + webkit/extensions/v8/interval_extension.cc View 1 chunk +39 lines, -37 lines 1 comment Download
A + webkit/extensions/v8/playback_extension.h View 2 chunks +6 lines, -9 lines 0 comments Download
A + webkit/extensions/v8/playback_extension.cc View 1 chunk +17 lines, -18 lines 0 comments Download
M webkit/glue/webkit_glue.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/glue/webkit_glue.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M webkit/port/bindings/v8/ScriptController.h View 2 chunks +0 lines, -26 lines 0 comments Download
M webkit/port/bindings/v8/ScriptController.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
D webkit/port/bindings/v8/extensions/GCController.h View 1 chunk +0 lines, -23 lines 0 comments Download
D webkit/port/bindings/v8/extensions/GCController.cpp View 1 chunk +0 lines, -26 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Gears.h View 1 chunk +0 lines, -24 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Gears.cpp View 1 chunk +0 lines, -45 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Interval.h View 1 chunk +0 lines, -23 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Interval.cpp View 1 chunk +0 lines, -57 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Playback.h View 1 chunk +0 lines, -34 lines 0 comments Download
D webkit/port/bindings/v8/extensions/Playback.cpp View 1 chunk +0 lines, -31 lines 0 comments Download
M webkit/port/bindings/v8/v8_proxy.cpp View 2 chunks +0 lines, -13 lines 0 comments Download
M webkit/tools/test_shell/node_leak_test.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/tools/test_shell/test_shell_main.cc View 1 4 chunks +11 lines, -4 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/webkit.gyp View 1 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
asargent_no_longer_on_chrome
11 years, 9 months ago (2009-03-04 22:32:34 UTC) #1
Mike Belshe
Wow this looks great - better than I expected! LGTM
11 years, 9 months ago (2009-03-04 22:45:04 UTC) #2
darin (slow to review)
nice work... just some simple cleanup suggestions: http://codereview.chromium.org/40132/diff/1/29 File chrome/renderer/render_process.cc (right): http://codereview.chromium.org/40132/diff/1/29#newcode139 Line 139: WebKit::registerExtension(v8_extension::PlaybackExtension::Get()); ...
11 years, 9 months ago (2009-03-04 22:51:28 UTC) #3
asargent_no_longer_on_chrome
http://codereview.chromium.org/40132/diff/1/29 File chrome/renderer/render_process.cc (right): http://codereview.chromium.org/40132/diff/1/29#newcode139 Line 139: WebKit::registerExtension(v8_extension::PlaybackExtension::Get()); On 2009/03/04 22:51:28, darin wrote: > unfortunately, ...
11 years, 9 months ago (2009-03-05 15:30:19 UTC) #4
darin (slow to review)
11 years, 9 months ago (2009-03-05 17:42:25 UTC) #5
LGTM !

http://codereview.chromium.org/40132/diff/36/60
File webkit/extensions/v8/interval_extension.cc (right):

http://codereview.chromium.org/40132/diff/36/60#newcode6
Line 6: #include "webkit/extensions/v8/interval_extension.h"
minor style nit: foo.cc should list the foo.h include first.

Powered by Google App Engine
This is Rietveld 408576698