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

Unified Diff: webkit/glue/webview_delegate.h

Issue 155309: Chrome-side of fixes for content-script messaging. (Closed)
Patch Set: temporary webkit hack Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_delegate.h
diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h
index eafd3830376f524862bf38cad77f5a962fdfb40a..1ccc761c6eef98fffd9f4ec15767956d20e70e76 100644
--- a/webkit/glue/webview_delegate.h
+++ b/webkit/glue/webview_delegate.h
@@ -231,11 +231,15 @@ class WebViewDelegate : virtual public WebWidgetDelegate {
// Notifies that a new script context has been created for this frame.
// This is similar to WindowObjectCleared but only called once per frame
// context.
- virtual void DidCreateScriptContext(WebFrame* webframe) {
+ virtual void DidCreateScriptContextForFrame(WebFrame* webframe) {
}
// Notifies that this frame's script context has been destroyed.
- virtual void DidDestroyScriptContext(WebFrame* webframe) {
+ virtual void DidDestroyScriptContextForFrame(WebFrame* webframe) {
+ }
+
+ // Notifies that a garbage-collected context was created - content scripts.
+ virtual void DidCreateIsolatedScriptContext(WebFrame* webframe) {
}
// PolicyDelegate ----------------------------------------------------------
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698