Remove Java bridge
https://bugs.webkit.org/show_bug.cgi?id=97954

Reviewed by Sam Weinig.

The Java bridge is not used by any port; Mac now has a NPAPI Java plug-in.

Source/WebCore:

* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::ScriptController):
* bindings/js/ScriptController.h:
(ScriptController):
* bindings/js/ScriptControllerMac.mm:
(WebCore::ScriptController::createScriptInstanceForWidget):
* bridge/jni/JNIUtility.cpp: Removed.
* bridge/jni/JNIUtility.h: Removed.
* bridge/jni/JavaType.h: Removed.
* bridge/jni/JobjectWrapper.cpp: Removed.
* bridge/jni/JobjectWrapper.h: Removed.
* bridge/jni/jni_jsobject.h: Removed.
* bridge/jni/jni_jsobject.mm: Removed.
* bridge/jni/jni_objc.mm: Removed.
* bridge/jni/jsc/JNIUtilityPrivate.cpp: Removed.
* bridge/jni/jsc/JNIUtilityPrivate.h: Removed.
* bridge/jni/jsc/JavaArrayJSC.cpp: Removed.
* bridge/jni/jsc/JavaArrayJSC.h: Removed.
* bridge/jni/jsc/JavaClassJSC.cpp: Removed.
* bridge/jni/jsc/JavaClassJSC.h: Removed.
* bridge/jni/jsc/JavaFieldJSC.cpp: Removed.
* bridge/jni/jsc/JavaFieldJSC.h: Removed.
* bridge/jni/jsc/JavaInstanceJSC.cpp: Removed.
* bridge/jni/jsc/JavaInstanceJSC.h: Removed.
* bridge/jni/jsc/JavaMethodJSC.cpp: Removed.
* bridge/jni/jsc/JavaMethodJSC.h: Removed.
* bridge/jni/jsc/JavaRuntimeObject.cpp: Removed.
* bridge/jni/jsc/JavaRuntimeObject.h: Removed.
* bridge/jni/jsc/JavaStringJSC.h: Removed.
* bridge/runtime_root.h:
* loader/FrameLoaderClient.h:
(FrameLoaderClient):

Source/WebKit/mac:

* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebFrameLoaderClient.mm:
Make sure that we try to load the NPAPI Java plug-in.

Source/WebKit2:

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient):

Source/WTF:

* wtf/Platform.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove V8DOMWindowShell::getEntered
https://bugs.webkit.org/show_bug.cgi?id=96637

Patch by Dan Carney <dcarney@google.com> on 2012-09-28
Reviewed by Adam Barth.

V8DOMWindowShell::getEntered was refactored so that the window shell
no longer has to be kept alive by a v8 context but rather a smaller
object.

No new tests. No change in functionality.

* bindings/v8/DOMData.cpp:
(WebCore::DOMData::getCurrentStore):
* bindings/v8/ScopedPersistent.h:
(WebCore::ScopedPersistent::leakHandle):
(ScopedPersistent):
* bindings/v8/ScriptController.cpp:
(WebCore::ScriptController::resetIsolatedWorlds):
(WebCore::ScriptController::evaluateInIsolatedWorld):
(WebCore::ScriptController::currentWorldContext):
* bindings/v8/V8Binding.cpp:
(WebCore::perContextDataForCurrentWorld):
* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::setIsolatedWorldField):
(WebCore::V8DOMWindowShell::toIsolatedContextData):
(WebCore::isolatedContextWeakCallback):
(WebCore::V8DOMWindowShell::disposeContext):
(WebCore::V8DOMWindowShell::clearIsolatedShell):
(WebCore):
(WebCore::V8DOMWindowShell::initializeIfNeeded):
(WebCore::V8DOMWindowShell::setIsolatedWorldSecurityOrigin):
* bindings/v8/V8DOMWindowShell.h:
(V8DOMWindowShell):
(IsolatedContextData):
(WebCore::V8DOMWindowShell::IsolatedContextData::create):
(WebCore::V8DOMWindowShell::IsolatedContextData::world):
(WebCore::V8DOMWindowShell::IsolatedContextData::perContextData):
(WebCore::V8DOMWindowShell::IsolatedContextData::setSecurityOrigin):
(WebCore::V8DOMWindowShell::IsolatedContextData::securityOrigin):
(WebCore::V8DOMWindowShell::IsolatedContextData::IsolatedContextData):
(WebCore::V8DOMWindowShell::enteredIsolatedContext):
(WebCore::V8DOMWindowShell::enteredIsolatedContextData):
* bindings/v8/V8DOMWrapper.h:
(WebCore::V8DOMWrapper::getCachedWrapper):
* bindings/v8/WorldContextHandle.cpp:
(WebCore::WorldContextHandle::WorldContextHandle):
* bindings/v8/custom/V8DocumentCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8HTMLDocumentCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8SVGDocumentCustom.cpp:
(WebCore::toV8):
* bindings/v8/custom/V8XMLHttpRequestConstructor.cpp:
(WebCore::V8XMLHttpRequest::constructorCallback):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129965 268f45cc-cd09-0410-ab3c-d52691b4dbfc