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

Unified Diff: content/renderer/content_renderer_client.h

Issue 7650027: Update Chromium to use new signature for (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more stuff Created 9 years, 4 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
Index: content/renderer/content_renderer_client.h
diff --git a/content/renderer/content_renderer_client.h b/content/renderer/content_renderer_client.h
index 953fdf58386f5790c3b09c53af86654a6e3ba53a..2bf6477147d2ce2d2fe38bb768b96bc3c132f8fd 100644
--- a/content/renderer/content_renderer_client.h
+++ b/content/renderer/content_renderer_client.h
@@ -25,6 +25,11 @@ struct WebPluginParams;
struct WebURLError;
}
+namespace v8 {
+class Context;
+template<class T> class Handle;
+}
+
namespace content {
// Embedder API for participating in renderer logic.
@@ -90,7 +95,10 @@ class ContentRendererClient {
// See the corresponding functions in WebKit::WebFrameClient.
virtual void DidCreateScriptContext(WebKit::WebFrame* frame) = 0;
virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) = 0;
- virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame) = 0;
+ virtual void DidCreateIsolatedScriptContext(
+ WebKit::WebFrame* frame,
+ int world_id,
+ v8::Handle<v8::Context> context) = 0;
// See WebKit::WebKitClient.
virtual unsigned long long VisitedLinkHash(const char* canonical_url,

Powered by Google App Engine
This is Rietveld 408576698