OSDN Git Service

Continue with JSC errors.
authorBen Murdoch <benm@google.com>
Wed, 19 Aug 2009 11:15:58 +0000 (12:15 +0100)
committerBen Murdoch <benm@google.com>
Wed, 19 Aug 2009 11:26:02 +0000 (12:26 +0100)
WebCore/Android.derived.mk
WebCore/Android.mk
WebCore/bindings/js/JSDOMWindowCustom.cpp
WebCore/bindings/js/JSEventCustom.cpp

index 0af323f..319ba86 100755 (executable)
@@ -207,7 +207,7 @@ js_binding_scripts := $(addprefix $(LOCAL_PATH)/,\
                        bindings/scripts/generate-bindings.pl \
                )
 
-FEATURE_DEFINES := ANDROID_ORIENTATION_SUPPORT ENABLE_TOUCH_EVENTS=1 ENABLE_DATABASE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_VIDEO=1 ENABLE_WORKERS=1 ENABLE_GEOLOCATION=1
+FEATURE_DEFINES := ANDROID_ORIENTATION_SUPPORT ENABLE_TOUCH_EVENTS=1 ENABLE_DATABASE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_VIDEO=1 ENABLE_WORKERS=1 ENABLE_GEOLOCATION=1 
 
 GEN := \
     $(intermediates)/css/JSCSSCharsetRule.h \
@@ -257,8 +257,8 @@ GEN := \
     $(intermediates)/dom/JSAttr.h \
     $(intermediates)/dom/JSCDATASection.h \
     $(intermediates)/dom/JSCharacterData.h \
-       $(intermediates)/dom/JSClientRect.h \
-       $(intermediates)/dom/JSClientRectList.h \
+    $(intermediates)/dom/JSClientRect.h \
+    $(intermediates)/dom/JSClientRectList.h \
     $(intermediates)/dom/JSClipboard.h \
     $(intermediates)/dom/JSComment.h \
     $(intermediates)/dom/JSDOMCoreException.h \
@@ -269,6 +269,7 @@ GEN := \
     $(intermediates)/dom/JSElement.h \
     $(intermediates)/dom/JSEntity.h \
     $(intermediates)/dom/JSEntityReference.h \
+    $(intermediates)/dom/JSErrorEvent.h \
     $(intermediates)/dom/JSEvent.h \
     $(intermediates)/dom/JSEventException.h \
     $(intermediates)/dom/JSKeyboardEvent.h \
@@ -395,19 +396,21 @@ $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/html/%.cpp : $(intermediates)/htm
 GEN := \
     $(intermediates)/html/canvas/JSCanvasGradient.h \
     $(intermediates)/html/canvas/JSCanvasPixelArray.h \
+    $(intermediates)/html/canvas/JSCanvasPattern.h \
     $(intermediates)/html/canvas/JSCanvasRenderingContext2D.h
 
 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
 $(GEN): PRIVATE_CUSTOM_TOOL = perl -I$(PRIVATE_PATH)/bindings/scripts $(PRIVATE_PATH)/bindings/scripts/generate-bindings.pl --defines "$(FEATURE_DEFINES) LANGUAGE_JAVASCRIPT" --generator JS --include dom --include html --outputdir $(dir $@) $<
 $(GEN): $(intermediates)/html/canvas/JS%.h : $(LOCAL_PATH)/html/canvas/%.idl $(js_binding_scripts)
-        $(transform-generated-source)
+       $(transform-generated-source)
 LOCAL_GENERATED_SOURCES += $(GEN) $(GEN:%.h=%.cpp)
 
 # We also need the .cpp files, which are generated as side effects of the
-# above rules.  Specifying this explicitly makes -j2 work.
+# above rules.  Specifying this explicitly makes -j2 work.
 $(patsubst %.h,%.cpp,$(GEN)): $(intermediates)/html/canvas/%.cpp : $(intermediates)/html/canvas/%.h
 
 GEN := \
+    $(intermediates)/inspector/JSInspectorBackend.h  \
     $(intermediates)/inspector/JSJavaScriptCallFrame.h 
     
 $(GEN): PRIVATE_PATH := $(LOCAL_PATH)
index fc7471c..e9b11dd 100644 (file)
@@ -238,11 +238,6 @@ LOCAL_SRC_FILES := \
        bindings/js/ScriptCallStack.cpp \
        bindings/js/ScriptController.cpp \
        bindings/js/ScriptControllerAndroid.cpp \
-       bindings/js/ScriptControllerGtk.cpp \
-       bindings/js/ScriptControllerHaiku.cpp \
-       bindings/js/ScriptControllerQt.cpp \
-       bindings/js/ScriptControllerWin.cpp \
-       bindings/js/ScriptControllerWx.cpp \
        bindings/js/ScriptEventListener.cpp \
        bindings/js/ScriptFunctionCall.cpp \
        bindings/js/ScriptObject.cpp \
@@ -267,8 +262,6 @@ LOCAL_SRC_FILES := \
        bridge/runtime_method.cpp \
        bridge/runtime_object.cpp \
        bridge/runtime_root.cpp \
-       bridge/testbindings.cpp \
-       bridge/testqtbindings.cpp \
        \
        css/CSSBorderImageValue.cpp \
        css/CSSCanvasValue.cpp \
@@ -424,7 +417,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
        dom/WheelEvent.cpp \
        dom/XMLTokenizer.cpp \
        dom/XMLTokenizerLibxml2.cpp \
-       dom/XMLTokenizerQt.cpp \
        dom/XMLTokenizerScope.cpp \
        dom/default/PlatformMessagePortChannel.cpp \
        \
@@ -462,7 +454,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
        editing/SelectionController.cpp \
        editing/SetNodeAttributeCommand.cpp \
        editing/SmartReplace.cpp \
-       editing/SmartReplaceCF.cpp \
        editing/SmartReplaceICU.cpp \
        editing/SplitElementCommand.cpp \
        editing/SplitTextNodeCommand.cpp \
@@ -480,7 +471,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
        editing/visible_units.cpp \
        \
        history/BackForwardList.cpp \
-       history/BackForwardListChromium.cpp \
        history/CachedFrame.cpp \
        history/CachedPage.cpp \
        history/HistoryItem.cpp \
@@ -952,12 +942,6 @@ LOCAL_SRC_FILES := $(LOCAL_SRC_FILES) \
        rendering/RenderTextControlSingleLine.cpp \
        rendering/RenderTextFragment.cpp \
        rendering/RenderTheme.cpp \
-       rendering/RenderThemeChromiumLinux.cpp \
-       rendering/RenderThemeChromiumSkia.cpp \
-       rendering/RenderThemeChromiumWin.cpp \
-       rendering/RenderThemeSafari.cpp \
-       rendering/RenderThemeWin.cpp \
-       rendering/RenderThemeWince.cpp \
        rendering/RenderTreeAsText.cpp \
        rendering/RenderVideo.cpp \
        rendering/RenderView.cpp \
index 44a11e4..c8e5db6 100644 (file)
@@ -55,7 +55,6 @@
 #include "Location.h"
 #include "MediaPlayer.h"
 #include "MessagePort.h"
-#include "NotificationCenter.h"
 #include "Page.h"
 #include "PlatformScreen.h"
 #include "RegisteredEventListener.h"
 #include <runtime/JSObject.h>
 #include <runtime/PrototypeFunction.h>
 
+#if ENABLE(NOTIFICATIONS)
+#include "NotificationCenter.h"
+#endif
+
 using namespace JSC;
 
 namespace WebCore {
index 7f9030e..804c529 100644 (file)
@@ -110,7 +110,7 @@ JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event)
 #endif
 #if ENABLE(TOUCH_EVENTS) // Android
         else if (event->isTouchEvent())
-            wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, TouchEvent, event);
+            wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event);
 #endif
         else
             wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEvent, event);