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

Unified Diff: webkit/port/bindings/v8/v8_proxy.cpp

Issue 40132: Refactor v8 extensions to make registration avoid having to use ChromiumBridg... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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: webkit/port/bindings/v8/v8_proxy.cpp
===================================================================
--- webkit/port/bindings/v8/v8_proxy.cpp (revision 10914)
+++ webkit/port/bindings/v8/v8_proxy.cpp (working copy)
@@ -205,12 +205,7 @@
#include "XPathEvaluator.h"
#endif
-#include "extensions/GCController.h"
-#include "extensions/Gears.h"
-#include "extensions/Interval.h"
-#include "extensions/Playback.h"
-
namespace WebCore {
@@ -2331,14 +2326,6 @@
v8::V8::SetFailedAccessCheckCallbackFunction(ReportUnsafeJavaScriptAccess);
- // Register known extensions
- RegisterExtension(GearsExtension::Get());
- RegisterExtension(IntervalExtension::Get());
- if (ScriptController::shouldExposeGCController())
- RegisterExtension(GCExtension::Get());
- if (ScriptController::RecordPlaybackMode())
- RegisterExtension(PlaybackExtension::Get());
-
v8_initialized = true;
}

Powered by Google App Engine
This is Rietveld 408576698