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

Unified Diff: webkit/api/public/WebKit.h

Issue 275026: Move scripting / v8 related methods out of WebKit.h, second try (Closed)
Patch Set: rebase Created 11 years, 2 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 | « chrome/test/render_view_test.cc ('k') | webkit/api/public/WebScriptController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/api/public/WebKit.h
diff --git a/webkit/api/public/WebKit.h b/webkit/api/public/WebKit.h
index 93c86257e05b45cb8c61d172aa5ca368b01f0804..d6d3e1116f35176ff9cab5fd28c20b7c5acbd446 100644
--- a/webkit/api/public/WebKit.h
+++ b/webkit/api/public/WebKit.h
@@ -34,10 +34,6 @@
#include "WebCommon.h"
#include "WebURL.h"
-namespace v8 {
- class Extension;
-}
-
namespace WebKit {
class WebKitClient;
class WebString;
@@ -70,28 +66,6 @@ namespace WebKit {
// any other URL scheme.
WEBKIT_API void registerURLSchemeAsNoAccess(const WebString&);
- // Registers a v8 extension to be available on webpages. The three forms
- // offer various restrictions on what types of contexts the extension is
- // loaded into. If a scheme is provided, only pages whose URL has the given
- // scheme will match. If extensionGroup is provided, the extension will only
- // be loaded into scripts run via WebFrame::ExecuteInNewWorld with the
- // matching group.
- // Will only affect v8 contexts initialized after this call. Takes ownership
- // of the v8::Extension object passed.
- WEBKIT_API void registerExtension(v8::Extension*);
- WEBKIT_API void registerExtension(v8::Extension*,
- const WebString& schemeRestriction);
- WEBKIT_API void registerExtension(v8::Extension*, int extensionGroup);
-
- // Enables special settings which are only applicable if V8 is executed
- // in the single thread which must be the main thread.
- // FIXME: make a try to dynamically detect when this condition is broken
- // and automatically switch off single thread mode.
- WEBKIT_API void enableV8SingleThreadMode();
-
- // Process any pending JavaScript console messages.
- WEBKIT_API void flushConsoleMessages();
-
// Enables HTML5 media support.
WEBKIT_API void enableMediaPlayer();
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | webkit/api/public/WebScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698