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

Issue 147124: Add notifications for when V8Proxy creates or destroys a V8 Context. (Closed)

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

Description

Add notifications for when V8Proxy creates or destroys a V8 Context. BUG=no TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19424

Patch Set 1 #

Patch Set 2 : revert accidental change #

Total comments: 5

Patch Set 3 : use frameloaderclient instead #

Total comments: 6

Patch Set 4 : GetScriptContext #

Patch Set 5 : call order #

Patch Set 6 : indent #

Patch Set 7 : roll deps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -1 line) Patch
M DEPS View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/event_bindings.h View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.cc View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M webkit/glue/webframe.h View 3 4 5 6 3 chunks +14 lines, -0 lines 0 comments Download
M webkit/glue/webframe_impl.h View 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/glue/webframe_impl.cc View 3 4 5 6 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/glue/webframeloaderclient_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webframeloaderclient_impl.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M webkit/glue/webview_delegate.h View 1 chunk +10 lines, -0 lines 0 comments Download
M webkit/port/bindings/v8/v8_proxy.cpp View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Matt Perry
11 years, 6 months ago (2009-06-25 01:07:33 UTC) #1
Matt Perry
I didn't realize ChromiumBridge.h was in third_party. I need to whip up a webkit CL ...
11 years, 6 months ago (2009-06-25 01:28:00 UTC) #2
darin (slow to review)
http://codereview.chromium.org/147124/diff/22/1007 File webkit/api/src/ChromiumBridge.cpp (right): http://codereview.chromium.org/147124/diff/22/1007#newcode168 Line 168: return webKitClient()->didCreateScriptContext(context); This seems like it should be ...
11 years, 6 months ago (2009-06-25 05:28:51 UTC) #3
Matt Perry
http://codereview.chromium.org/147124/diff/22/1007 File webkit/api/src/ChromiumBridge.cpp (right): http://codereview.chromium.org/147124/diff/22/1007#newcode168 Line 168: return webKitClient()->didCreateScriptContext(context); On 2009/06/25 05:28:51, darin wrote: > ...
11 years, 6 months ago (2009-06-25 18:25:14 UTC) #4
darin (slow to review)
http://codereview.chromium.org/147124/diff/22/1009 File webkit/port/bindings/v8/v8_proxy.cpp (right): http://codereview.chromium.org/147124/diff/22/1009#newcode2279 Line 2279: m_frame->loader()->dispatchWindowObjectAvailable(); So, this call to dispatchWindowObjectAvailable leads to ...
11 years, 6 months ago (2009-06-25 18:41:35 UTC) #5
Matt Perry
http://codereview.chromium.org/147124/diff/22/1009 File webkit/port/bindings/v8/v8_proxy.cpp (right): http://codereview.chromium.org/147124/diff/22/1009#newcode2279 Line 2279: m_frame->loader()->dispatchWindowObjectAvailable(); On 2009/06/25 18:41:35, darin wrote: > So, ...
11 years, 6 months ago (2009-06-25 19:09:27 UTC) #6
darin (slow to review)
http://codereview.chromium.org/147124/diff/22/1009 File webkit/port/bindings/v8/v8_proxy.cpp (right): http://codereview.chromium.org/147124/diff/22/1009#newcode2279 Line 2279: m_frame->loader()->dispatchWindowObjectAvailable(); > That gets called at other times ...
11 years, 6 months ago (2009-06-25 19:49:02 UTC) #7
Matt Perry
OK, I rearranged it to use FrameLoaderClient. There's a corresponding webkit change to FrameLoaderClient.h that ...
11 years, 6 months ago (2009-06-25 21:28:30 UTC) #8
darin (slow to review)
Looks good... just a few small things: http://codereview.chromium.org/147124/diff/29/2008 File webkit/glue/webframe.h (right): http://codereview.chromium.org/147124/diff/29/2008#newcode36 Line 36: template ...
11 years, 6 months ago (2009-06-25 22:13:11 UTC) #9
Matt Perry
http://codereview.chromium.org/147124/diff/29/2008 File webkit/glue/webframe.h (right): http://codereview.chromium.org/147124/diff/29/2008#newcode36 Line 36: template <class T> class Local; On 2009/06/25 22:13:11, ...
11 years, 6 months ago (2009-06-25 22:25:15 UTC) #10
darin (slow to review)
11 years, 6 months ago (2009-06-25 22:26:33 UTC) #11
> There's no real convention that I can tell.  There are methods like
> dispatchDidCommitLoad, didChangeTitle, and frameLoadCompleted.

Yeah, it's true... I'm happy with or without the dispatch prefix.

Powered by Google App Engine
This is Rietveld 408576698