summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 04:46:30 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 04:46:30 +0000
commita3e81a6be2fbe18f9291d1280eacb88aebe7fbe0 (patch)
treef60189a83a8586ef4a438bb20dba49bed9cfeb2e
parent6514f7f9dda5b9417700d939e8b13af66182fe35 (diff)
downloadchromium_src-a3e81a6be2fbe18f9291d1280eacb88aebe7fbe0.zip
chromium_src-a3e81a6be2fbe18f9291d1280eacb88aebe7fbe0.tar.gz
chromium_src-a3e81a6be2fbe18f9291d1280eacb88aebe7fbe0.tar.bz2
First step towards moving v8 extensions out of WebCore.
Adds a registerExtension function available in our WebKit public API. Once this is in place, another changelist will include actually using it. R=mbelshe,darin Review URL: http://codereview.chromium.org/39070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10868 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/port/bindings/v8/v8_proxy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/port/bindings/v8/v8_proxy.h b/webkit/port/bindings/v8/v8_proxy.h
index 278de12..56ef4c9 100644
--- a/webkit/port/bindings/v8/v8_proxy.h
+++ b/webkit/port/bindings/v8/v8_proxy.h
@@ -440,10 +440,11 @@ class V8Proxy {
return v8::Local<v8::Context>::New(m_context);
}
- private:
// Register extensions before initializing the context. Once the context
// is initialized, extensions cannot be registered.
static void RegisterExtension(v8::Extension* extension);
+
+ private:
void InitContextIfNeeded();
void DisconnectEventListeners();
void SetSecurityToken();