Update WEBCORE_EXPORT to prepare to start using it.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Feb 2015 01:21:38 +0000 (01:21 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Feb 2015 01:21:38 +0000 (01:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141409

Patch by Alex Christensen <achristensen@webkit.org> on 2015-02-09
Reviewed by Tim Horton.

* bindings/js/JSDOMGlobalObject.h:
* bindings/objc/DOMInternal.h:
* bindings/objc/ExceptionHandlers.mm:
* bindings/objc/WebScriptObjectPrivate.h:
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
* bindings/scripts/test/JS/JSTestActiveDOMObject.h:
* bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
* bindings/scripts/test/JS/JSTestEventConstructor.h:
* bindings/scripts/test/JS/JSTestEventTarget.h:
* bindings/scripts/test/JS/JSTestException.h:
* bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
* bindings/scripts/test/JS/JSTestInterface.h:
* bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
* bindings/scripts/test/JS/JSTestNamedConstructor.h:
* bindings/scripts/test/JS/JSTestNondeterministic.h:
* bindings/scripts/test/JS/JSTestObj.h:
* bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
* bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
* bindings/scripts/test/JS/JSTestTypedefs.h:
* bindings/scripts/test/JS/JSattribute.h:
* bindings/scripts/test/JS/JSreadonly.h:
* css/StyleProperties.h:
* dom/DeviceMotionData.h:
* dom/Node.h:
* dom/Position.h:
* dom/ScriptExecutionContext.h:
* editing/Editor.h:
* editing/htmlediting.h:
* html/HTMLInputElement.h:
* html/TimeRanges.h:
* loader/FrameLoader.h:
* loader/cache/CacheValidation.h:
* loader/cache/MemoryCache.h:
* loader/icon/IconDatabase.h:
* page/DatabaseProvider.h:
* page/DiagnosticLoggingKeys.h:
* page/EventHandler.h:
* page/FrameSnapshotting.h:
* page/MainFrame.h:
* page/PageConsoleClient.h:
* page/PageOverlay.h:
* platform/CrossThreadCopier.h:
* platform/FileSystem.h:
* platform/PlatformSpeechSynthesizer.h:
* platform/RemoteCommandListener.h:
* platform/RuntimeApplicationChecks.h:
* platform/graphics/Font.h:
* platform/graphics/FontCache.h:
* platform/graphics/FontGlyphs.h:
* platform/graphics/FontRanges.h:
* platform/graphics/GeometryUtilities.h:
* platform/graphics/GlyphPage.h:
* platform/graphics/Region.h:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/TileController.h:
* platform/graphics/transforms/TransformationMatrix.h:
* platform/mac/WebCoreFullScreenWarningView.h:
* platform/network/BlobDataFileReference.h:
* platform/network/ResourceRequestBase.h:
* platform/network/ResourceResponseBase.h:
* platform/network/create-http-header-name-table:
* platform/network/mac/WebCoreURLResponse.h:
* platform/sql/SQLiteDatabaseTracker.h:
* platform/sql/SQLiteStatement.h:
* rendering/HitTestLocation.h:
* rendering/HitTestResult.h:
* storage/StorageEventDispatcher.h:
Added WEBCORE_EXPORT macros.

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

68 files changed:
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMGlobalObject.h
Source/WebCore/bindings/objc/DOMInternal.h
Source/WebCore/bindings/objc/ExceptionHandlers.mm
Source/WebCore/bindings/objc/WebScriptObjectPrivate.h
Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h
Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h
Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h
Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h
Source/WebCore/bindings/scripts/test/JS/JSTestException.h
Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h
Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h
Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h
Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h
Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h
Source/WebCore/bindings/scripts/test/JS/JSTestObj.h
Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h
Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h
Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h
Source/WebCore/bindings/scripts/test/JS/JSattribute.h
Source/WebCore/bindings/scripts/test/JS/JSreadonly.h
Source/WebCore/css/StyleProperties.h
Source/WebCore/dom/DeviceMotionData.h
Source/WebCore/dom/Node.h
Source/WebCore/dom/Position.h
Source/WebCore/dom/ScriptExecutionContext.h
Source/WebCore/editing/Editor.h
Source/WebCore/editing/htmlediting.h
Source/WebCore/html/HTMLInputElement.h
Source/WebCore/html/TimeRanges.h
Source/WebCore/loader/FrameLoader.h
Source/WebCore/loader/cache/CacheValidation.h
Source/WebCore/loader/cache/MemoryCache.h
Source/WebCore/loader/icon/IconDatabase.h
Source/WebCore/page/DatabaseProvider.h
Source/WebCore/page/DiagnosticLoggingKeys.h
Source/WebCore/page/EventHandler.h
Source/WebCore/page/FrameSnapshotting.h
Source/WebCore/page/MainFrame.h
Source/WebCore/page/PageConsoleClient.h
Source/WebCore/page/PageOverlay.h
Source/WebCore/platform/CrossThreadCopier.h
Source/WebCore/platform/FileSystem.h
Source/WebCore/platform/PlatformSpeechSynthesizer.h
Source/WebCore/platform/RemoteCommandListener.h
Source/WebCore/platform/RuntimeApplicationChecks.h
Source/WebCore/platform/graphics/Font.h
Source/WebCore/platform/graphics/FontCache.h
Source/WebCore/platform/graphics/FontGlyphs.h
Source/WebCore/platform/graphics/FontRanges.h
Source/WebCore/platform/graphics/GeometryUtilities.h
Source/WebCore/platform/graphics/GlyphPage.h
Source/WebCore/platform/graphics/Region.h
Source/WebCore/platform/graphics/ca/PlatformCALayer.h
Source/WebCore/platform/graphics/ca/TileController.h
Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
Source/WebCore/platform/mac/WebCoreFullScreenWarningView.h
Source/WebCore/platform/network/BlobDataFileReference.h
Source/WebCore/platform/network/ResourceRequestBase.h
Source/WebCore/platform/network/ResourceResponseBase.h
Source/WebCore/platform/network/create-http-header-name-table
Source/WebCore/platform/network/mac/WebCoreURLResponse.h
Source/WebCore/platform/sql/SQLiteDatabaseTracker.h
Source/WebCore/platform/sql/SQLiteStatement.h
Source/WebCore/rendering/HitTestLocation.h
Source/WebCore/rendering/HitTestResult.h
Source/WebCore/storage/StorageEventDispatcher.h

index 2da2cc0..65dc44e 100644 (file)
@@ -1,3 +1,80 @@
+2015-02-09  Alex Christensen  <achristensen@webkit.org>
+
+        Update WEBCORE_EXPORT to prepare to start using it.
+        https://bugs.webkit.org/show_bug.cgi?id=141409
+
+        Reviewed by Tim Horton.
+
+        * bindings/js/JSDOMGlobalObject.h:
+        * bindings/objc/DOMInternal.h:
+        * bindings/objc/ExceptionHandlers.mm:
+        * bindings/objc/WebScriptObjectPrivate.h:
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateHeader):
+        * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
+        * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
+        * bindings/scripts/test/JS/JSTestEventConstructor.h:
+        * bindings/scripts/test/JS/JSTestEventTarget.h:
+        * bindings/scripts/test/JS/JSTestException.h:
+        * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
+        * bindings/scripts/test/JS/JSTestInterface.h:
+        * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
+        * bindings/scripts/test/JS/JSTestNamedConstructor.h:
+        * bindings/scripts/test/JS/JSTestNondeterministic.h:
+        * bindings/scripts/test/JS/JSTestObj.h:
+        * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
+        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
+        * bindings/scripts/test/JS/JSTestTypedefs.h:
+        * bindings/scripts/test/JS/JSattribute.h:
+        * bindings/scripts/test/JS/JSreadonly.h:
+        * css/StyleProperties.h:
+        * dom/DeviceMotionData.h:
+        * dom/Node.h:
+        * dom/Position.h:
+        * dom/ScriptExecutionContext.h:
+        * editing/Editor.h:
+        * editing/htmlediting.h:
+        * html/HTMLInputElement.h:
+        * html/TimeRanges.h:
+        * loader/FrameLoader.h:
+        * loader/cache/CacheValidation.h:
+        * loader/cache/MemoryCache.h:
+        * loader/icon/IconDatabase.h:
+        * page/DatabaseProvider.h:
+        * page/DiagnosticLoggingKeys.h:
+        * page/EventHandler.h:
+        * page/FrameSnapshotting.h:
+        * page/MainFrame.h:
+        * page/PageConsoleClient.h:
+        * page/PageOverlay.h:
+        * platform/CrossThreadCopier.h:
+        * platform/FileSystem.h:
+        * platform/PlatformSpeechSynthesizer.h:
+        * platform/RemoteCommandListener.h:
+        * platform/RuntimeApplicationChecks.h:
+        * platform/graphics/Font.h:
+        * platform/graphics/FontCache.h:
+        * platform/graphics/FontGlyphs.h:
+        * platform/graphics/FontRanges.h:
+        * platform/graphics/GeometryUtilities.h:
+        * platform/graphics/GlyphPage.h:
+        * platform/graphics/Region.h:
+        * platform/graphics/ca/PlatformCALayer.h:
+        * platform/graphics/ca/TileController.h:
+        * platform/graphics/transforms/TransformationMatrix.h:
+        * platform/mac/WebCoreFullScreenWarningView.h:
+        * platform/network/BlobDataFileReference.h:
+        * platform/network/ResourceRequestBase.h:
+        * platform/network/ResourceResponseBase.h:
+        * platform/network/create-http-header-name-table:
+        * platform/network/mac/WebCoreURLResponse.h:
+        * platform/sql/SQLiteDatabaseTracker.h:
+        * platform/sql/SQLiteStatement.h:
+        * rendering/HitTestLocation.h:
+        * rendering/HitTestResult.h:
+        * storage/StorageEventDispatcher.h:
+        Added WEBCORE_EXPORT macros.
+
 2015-02-09  Chris Dumez  <cdumez@apple.com>
 
         Check for self-assignment in Length::operator=(const Length&)
index e93c974..d891e0e 100644 (file)
@@ -68,7 +68,7 @@ namespace WebCore {
         bool worldIsNormal() const { return m_worldIsNormal; }
 
     protected:
-        static WEBKIT_EXPORTDATA const JSC::ClassInfo s_info;
+        WEBCORE_EXPORT static const JSC::ClassInfo s_info;
 
     public:
         static const JSC::ClassInfo* info() { return &s_info; }
index 0822a65..7741b89 100644 (file)
@@ -50,7 +50,7 @@ namespace WebCore {
 #endif
 }
 
-@interface DOMNodeFilter : DOMObject <DOMNodeFilter>
+WEBCORE_EXPORT @interface DOMNodeFilter : DOMObject <DOMNodeFilter>
 @end
 
 @interface DOMNativeXPathNSResolver : DOMObject <DOMXPathNSResolver>
index 9ff2043..ec54cf5 100644 (file)
 #include "ExceptionCode.h"
 #include "ExceptionCodeDescription.h"
 
-NSString *DOMException = @"DOMException";
-NSString *DOMRangeException = @"DOMRangeException";
-NSString *DOMEventException = @"DOMEventException";
-NSString *DOMXPathException = @"DOMXPathException";
+WEBCORE_EXPORT NSString *DOMException = @"DOMException";
+WEBCORE_EXPORT NSString *DOMRangeException = @"DOMRangeException";
+WEBCORE_EXPORT NSString *DOMEventException = @"DOMEventException";
+WEBCORE_EXPORT NSString *DOMXPathException = @"DOMXPathException";
 
 namespace WebCore {
 
index e7913a5..424b415 100644 (file)
@@ -70,7 +70,7 @@ namespace WebCore {
 - (BOOL)hasWebScriptKey:(NSString *)name;
 @end
 
-@interface WebScriptObjectPrivate : NSObject
+WEBCORE_EXPORT @interface WebScriptObjectPrivate : NSObject
 {
 @public
     JSC::JSObject *imp;
index b98f33d..6450b49 100644 (file)
@@ -858,7 +858,7 @@ sub GenerateHeader
         } elsif ($interfaceName eq "DOMStringList") {
             push(@headerContent, "    static PassRefPtr<DOMStringList> toWrapped(JSC::ExecState*, JSC::JSValue);\n");
         } else {
-            push(@headerContent, "    static $implType* toWrapped(JSC::JSValue);\n");
+            push(@headerContent, "    WEBCORE_EXPORT static $implType* toWrapped(JSC::JSValue);\n");
         }
     }
 
@@ -915,7 +915,7 @@ sub GenerateHeader
     if ($interfaceName eq "Node") {
         push(@headerContent, "\n");
         push(@headerContent, "protected:\n");
-        push(@headerContent, "    static WEBKIT_EXPORTDATA const JSC::ClassInfo s_info;\n");
+        push(@headerContent, "    WEBCORE_EXPORT static const JSC::ClassInfo s_info;\n");
         push(@headerContent, "public:\n");
         push(@headerContent, "    static const JSC::ClassInfo* info() { return &s_info; }\n\n");
     } else {
index 0bb68ce..953f131 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestActiveDOMObject* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestActiveDOMObject* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestActiveDOMObject();
index 51101b7..050f581 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestCustomNamedGetter* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestCustomNamedGetter* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
index 340bed7..d2ac10c 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestEventConstructor* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestEventConstructor* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestEventConstructor();
 
index eff1a62..9604024 100644 (file)
@@ -39,7 +39,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestEventTarget* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestEventTarget* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
index 23ea872..3e696b9 100644 (file)
@@ -39,7 +39,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestException* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestException* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestException();
index cc18187..3b6ead2 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestGenerateIsReachable* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestGenerateIsReachable* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestGenerateIsReachable();
 
index 6bc56c4..de24941 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestInterface* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestInterface* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
     static void putByIndex(JSC::JSCell*, JSC::ExecState*, unsigned propertyName, JSC::JSValue, bool shouldThrow);
index 4cf5dc1..df40b9e 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestMediaQueryListListener* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestMediaQueryListListener* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestMediaQueryListListener();
 
index d0c259b..a73c9da 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestNamedConstructor* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestNamedConstructor* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestNamedConstructor();
 
index 5dca5d8..b3954fa 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestNondeterministic* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestNondeterministic* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestNondeterministic();
 
index b19737c..959d6c9 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestObj* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestObj* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestObj();
index 3d7bdfa..5e062ac 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestOverloadedConstructors* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestOverloadedConstructors* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestOverloadedConstructors();
 
index 35ddcf3..5cc0ef3 100644 (file)
@@ -40,7 +40,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSTestSerializedScriptValueInterface();
 
index 768383d..0cf2520 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static TestTypedefs* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static TestTypedefs* toWrapped(JSC::JSValue);
     static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
     static void destroy(JSC::JSCell*);
     ~JSTestTypedefs();
index 1b5b28d..2ea5ac4 100644 (file)
@@ -39,7 +39,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static attribute* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static attribute* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSattribute();
 
index 12f3684..8c313ef 100644 (file)
@@ -38,7 +38,7 @@ public:
 
     static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
     static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
-    static readonly* toWrapped(JSC::JSValue);
+    WEBCORE_EXPORT static readonly* toWrapped(JSC::JSValue);
     static void destroy(JSC::JSCell*);
     ~JSreadonly();
 
index 8d31f39..d86f957 100644 (file)
@@ -87,7 +87,7 @@ public:
     PropertyReference propertyAt(unsigned) const;
 
     PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
-    String getPropertyValue(CSSPropertyID) const;
+    WEBCORE_EXPORT String getPropertyValue(CSSPropertyID) const;
     bool propertyIsImportant(CSSPropertyID) const;
     String getPropertyShorthand(CSSPropertyID) const;
     bool isPropertyImplicit(CSSPropertyID) const;
index fded74f..d5f2773 100644 (file)
@@ -83,7 +83,7 @@ public:
     };
 
     WEBCORE_EXPORT static Ref<DeviceMotionData> create();
-    static Ref<DeviceMotionData> create(PassRefPtr<Acceleration> acceleration, PassRefPtr<Acceleration> accelerationIncludingGravity,
+    WEBCORE_EXPORT static Ref<DeviceMotionData> create(PassRefPtr<Acceleration>, PassRefPtr<Acceleration> accelerationIncludingGravity,
                                         PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval);
 
     const Acceleration* acceleration() const { return m_acceleration.get(); }
index cc18cd7..5525e4a 100644 (file)
@@ -278,7 +278,7 @@ public:
     void setHasSyntheticAttrChildNodes(bool flag) { setFlag(flag, HasSyntheticAttrChildNodesFlag); }
 
     // If this node is in a shadow tree, returns its shadow host. Otherwise, returns null.
-    Element* shadowHost() const;
+    WEBCORE_EXPORT Element* shadowHost() const;
     // If this node is in a shadow tree, returns its shadow host. Otherwise, returns this.
     // Deprecated. Should use shadowHost() and check the return value.
     WEBCORE_EXPORT Node* deprecatedShadowAncestorNode() const;
index aec1ea4..c324c24 100644 (file)
@@ -150,7 +150,7 @@ public:
     // Offsets are computed using render text for nodes that have renderers - but note that even when
     // using composed characters, the result may be inside a single user-visible character if a ligature is formed.
     WEBCORE_EXPORT Position previous(PositionMoveType = CodePoint) const;
-    Position next(PositionMoveType = CodePoint) const;
+    WEBCORE_EXPORT Position next(PositionMoveType = CodePoint) const;
     static int uncheckedPreviousOffset(const Node*, int current);
     static int uncheckedPreviousOffsetForBackwardDeletion(const Node*, int current);
     static int uncheckedNextOffset(const Node*, int current);
index cf71114..1146612 100644 (file)
@@ -86,7 +86,7 @@ public:
     PublicURLManager& publicURLManager();
 
     // Active objects are not garbage collected even if inaccessible, e.g. because their activity may result in callbacks being invoked.
-    bool canSuspendActiveDOMObjects(Vector<ActiveDOMObject*>* unsuspendableObjects = nullptr);
+    WEBCORE_EXPORT bool canSuspendActiveDOMObjects(Vector<ActiveDOMObject*>* unsuspendableObjects = nullptr);
 
     // Active objects can be asked to suspend even if canSuspendActiveDOMObjects() returns 'false' -
     // step-by-step JS debugging is one example.
index 274fbf8..3702d39 100644 (file)
@@ -129,7 +129,7 @@ public:
     WEBCORE_EXPORT void copy();
     WEBCORE_EXPORT void paste();
     void paste(Pasteboard&);
-    void pasteAsPlainText();
+    WEBCORE_EXPORT void pasteAsPlainText();
     WEBCORE_EXPORT void performDelete();
 
     WEBCORE_EXPORT void copyURL(const URL&, const String& title);
index 47b91f6..ed41576 100644 (file)
@@ -120,7 +120,7 @@ bool isRenderedAsNonInlineTableImageOrHR(const Node*);
 bool areIdenticalElements(const Node*, const Node*);
 bool isNonTableCellHTMLBlockElement(const Node*);
 
-TextDirection directionOfEnclosingBlock(const Position&);
+WEBCORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&);
 
 // -------------------------------------------------------------------------
 // Position
index 639973f..b6a2551 100644 (file)
@@ -169,7 +169,7 @@ public:
 
     void setType(const AtomicString&);
 
-    virtual String value() const override final;
+    WEBCORE_EXPORT virtual String value() const override final;
     void setValue(const String&, ExceptionCode&, TextFieldEventBehavior = DispatchNoEvent);
     WEBCORE_EXPORT void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent);
     WEBCORE_EXPORT void setValueForUser(const String&);
index a2eb829..3db6145 100644 (file)
@@ -64,7 +64,7 @@ public:
 
 private:
     WEBCORE_EXPORT explicit TimeRanges();
-    TimeRanges(double start, double end);
+    WEBCORE_EXPORT TimeRanges(double start, double end);
     TimeRanges(const PlatformTimeRanges&);
 
 
index 06fa8f0..619c7c4 100644 (file)
@@ -133,7 +133,7 @@ public:
     static void reportLocalLoadFailed(Frame*, const String& url);
 
     // FIXME: These are all functions which stop loads. We have too many.
-    void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem);
+    WEBCORE_EXPORT void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem);
     WEBCORE_EXPORT void stopForUserCancel(bool deferCheckLoadComplete = false);
     void stop();
     void stopLoading(UnloadEventPolicy);
index 30c8025..0f1affd 100644 (file)
@@ -44,13 +44,13 @@ struct RedirectChainCacheStatus {
     double endOfValidity;
 };
 
-double computeCurrentAge(const ResourceResponse&, double responseTimestamp);
-double computeFreshnessLifetimeForHTTPFamily(const ResourceResponse&, double responseTimestamp);
-void updateResponseHeadersAfterRevalidation(ResourceResponse&, const ResourceResponse& validatingResponse);
-void updateRedirectChainStatus(RedirectChainCacheStatus&, const ResourceResponse&);
+WEBCORE_EXPORT double computeCurrentAge(const ResourceResponse&, double responseTimestamp);
+WEBCORE_EXPORT double computeFreshnessLifetimeForHTTPFamily(const ResourceResponse&, double responseTimestamp);
+WEBCORE_EXPORT void updateResponseHeadersAfterRevalidation(ResourceResponse&, const ResourceResponse& validatingResponse);
+WEBCORE_EXPORT void updateRedirectChainStatus(RedirectChainCacheStatus&, const ResourceResponse&);
 
 enum ReuseExpiredRedirectionOrNot { DoNotReuseExpiredRedirection, ReuseExpiredRedirection };
-bool redirectChainAllowsReuse(RedirectChainCacheStatus, ReuseExpiredRedirectionOrNot);
+WEBCORE_EXPORT bool redirectChainAllowsReuse(RedirectChainCacheStatus, ReuseExpiredRedirectionOrNot);
 
 }
 
index ff94f48..3e25907 100644 (file)
@@ -172,8 +172,8 @@ private:
         CachedResource* m_tail {nullptr};
     };
 
-    void pruneDeadResourcesToSize(unsigned targetSize);
-    void pruneLiveResourcesToSize(unsigned targetSize, bool shouldDestroyDecodedDataForAllLiveResources = false);
+    WEBCORE_EXPORT void pruneDeadResourcesToSize(unsigned targetSize);
+    WEBCORE_EXPORT void pruneLiveResourcesToSize(unsigned targetSize, bool shouldDestroyDecodedDataForAllLiveResources = false);
 
     MemoryCache();
     ~MemoryCache(); // Not implemented to make sure nobody accidentally calls delete -- WebCore does not delete singletons.
index 60fe9c5..1e60c3a 100644 (file)
@@ -93,7 +93,7 @@ public:
     WEBCORE_EXPORT virtual IconLoadDecision synchronousLoadDecisionForIconURL(const String&, DocumentLoader*) override;
 
     WEBCORE_EXPORT virtual void setEnabled(bool) override;
-    virtual bool isEnabled() const override;
+    WEBCORE_EXPORT virtual bool isEnabled() const override;
 
     WEBCORE_EXPORT virtual void setPrivateBrowsingEnabled(bool flag) override;
     bool isPrivateBrowsingEnabled() const;
index a073ba9..b50623c 100644 (file)
@@ -33,9 +33,9 @@ namespace WebCore {
 
 class IDBFactoryBackendInterface;
 
-class DatabaseProvider : public RefCounted<DatabaseProvider> {
+class WEBCORE_EXPORT DatabaseProvider : public RefCounted<DatabaseProvider> {
 public:
-    virtual ~DatabaseProvider();
+    WEBCORE_EXPORT virtual ~DatabaseProvider();
 
 #if ENABLE(INDEXED_DATABASE)
     IDBFactoryBackendInterface* idbFactoryBackend();
index 7d63744..92b2d3e 100644 (file)
@@ -105,10 +105,10 @@ public:
     static String unusedReasonReloadKey();
     static String unusedReasonTypeMismatchKey();
     static String usedKey();
-    static String userKey();
+    WEBCORE_EXPORT static String userKey();
     static String videoKey();
-    static String webViewKey();
-    static String zoomedKey();
+    WEBCORE_EXPORT static String webViewKey();
+    WEBCORE_EXPORT static String zoomedKey();
 
     // Success / Failure keys.
     static String successKey();
index d8ea748..4fc432b 100644 (file)
@@ -184,14 +184,14 @@ public:
     bool tabsToLinks(KeyboardEvent*) const;
     bool tabsToAllFormControls(KeyboardEvent*) const;
 
-    bool mouseMoved(const PlatformMouseEvent&);
+    WEBCORE_EXPORT bool mouseMoved(const PlatformMouseEvent&);
     WEBCORE_EXPORT bool passMouseMovedEventToScrollbars(const PlatformMouseEvent&);
 
     void lostMouseCapture();
 
-    bool handleMousePressEvent(const PlatformMouseEvent&);
+    WEBCORE_EXPORT bool handleMousePressEvent(const PlatformMouseEvent&);
     bool handleMouseMoveEvent(const PlatformMouseEvent&, HitTestResult* hoveredNode = 0, bool onlyUpdateScrollbars = false);
-    bool handleMouseReleaseEvent(const PlatformMouseEvent&);
+    WEBCORE_EXPORT bool handleMouseReleaseEvent(const PlatformMouseEvent&);
     WEBCORE_EXPORT bool handleWheelEvent(const PlatformWheelEvent&);
     void defaultWheelEventHandler(Node*, WheelEvent*);
     bool handlePasteGlobalSelection(const PlatformMouseEvent&);
index ecb1a8b..7d3230c 100644 (file)
@@ -48,7 +48,7 @@ enum {
 };
 typedef unsigned SnapshotOptions;
 
-std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
+WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
 std::unique_ptr<ImageBuffer> snapshotNode(Frame&, Node&);
 WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);
 
index ec77446..5da3a24 100644 (file)
@@ -61,7 +61,7 @@ public:
     void resetLatchingState();
 #endif // PLATFORM(MAC)
 
-    DiagnosticLoggingClient& diagnosticLoggingClient() const;
+    WEBCORE_EXPORT DiagnosticLoggingClient& diagnosticLoggingClient() const;
 
 private:
     MainFrame(Page&, PageConfiguration&);
index b2d47ea..a3ec4af 100644 (file)
@@ -45,7 +45,7 @@ class Page;
 
 typedef Vector<RefPtr<JSC::Profile>> ProfilesArray;
 
-class PageConsoleClient final : public JSC::ConsoleClient {
+class WEBCORE_EXPORT PageConsoleClient final : public JSC::ConsoleClient {
 public:
     explicit PageConsoleClient(Page&);
     virtual ~PageConsoleClient();
index ce39c0d..f1e7b97 100644 (file)
@@ -102,8 +102,8 @@ public:
     OverlayType overlayType() { return m_overlayType; }
 
     WEBCORE_EXPORT IntRect bounds() const;
-    IntRect frame() const;
-    void setFrame(IntRect);
+    WEBCORE_EXPORT IntRect frame() const;
+    WEBCORE_EXPORT void setFrame(IntRect);
 
     RGBA32 backgroundColor() const { return m_backgroundColor; }
     void setBackgroundColor(RGBA32);
index 53163f4..a1cbb7e 100644 (file)
@@ -158,13 +158,13 @@ namespace WebCore {
         enum class CursorType;
     }
     template<> struct CrossThreadCopierBase<false, false, IndexedDB::TransactionMode> {
-        static IndexedDB::TransactionMode copy(const IndexedDB::TransactionMode&);
+        WEBCORE_EXPORT static IndexedDB::TransactionMode copy(const IndexedDB::TransactionMode&);
     };
     template<> struct CrossThreadCopierBase<false, false, IndexedDB::CursorDirection> {
-        static IndexedDB::CursorDirection copy(const IndexedDB::CursorDirection&);
+        WEBCORE_EXPORT static IndexedDB::CursorDirection copy(const IndexedDB::CursorDirection&);
     };
     template<> struct CrossThreadCopierBase<false, false, IndexedDB::CursorType> {
-        static IndexedDB::CursorType copy(const IndexedDB::CursorType&);
+        WEBCORE_EXPORT static IndexedDB::CursorType copy(const IndexedDB::CursorType&);
     };
 
     struct IDBDatabaseMetadata;
index a813867..291deac 100644 (file)
@@ -137,7 +137,7 @@ struct FileMetadata;
 WEBCORE_EXPORT bool fileExists(const String&);
 WEBCORE_EXPORT bool deleteFile(const String&);
 WEBCORE_EXPORT bool deleteEmptyDirectory(const String&);
-bool getFileSize(const String&, long long& result);
+WEBCORE_EXPORT bool getFileSize(const String&, long long& result);
 WEBCORE_EXPORT bool getFileModificationTime(const String&, time_t& result);
 WEBCORE_EXPORT bool getFileCreationTime(const String&, time_t& result); // Not all platforms store file creation time.
 bool getFileMetadata(const String&, FileMetadata&);
index ce8f7e4..b5d1860 100644 (file)
@@ -64,7 +64,7 @@ protected:
     virtual ~PlatformSpeechSynthesizerClient() { }
 };
 
-class PlatformSpeechSynthesizer {
+class WEBCORE_EXPORT PlatformSpeechSynthesizer {
 public:
     WEBCORE_EXPORT explicit PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient*);
 
index be083d4..9799c75 100644 (file)
@@ -38,7 +38,7 @@ public:
 
 class RemoteCommandListener {
 public:
-    static std::unique_ptr<RemoteCommandListener> create(RemoteCommandListenerClient&);
+    WEBCORE_EXPORT static std::unique_ptr<RemoteCommandListener> create(RemoteCommandListenerClient&);
     RemoteCommandListener(RemoteCommandListenerClient& client) : m_client(client) { }
     virtual ~RemoteCommandListener() { }
 
index cc12513..c38274e 100644 (file)
@@ -33,7 +33,7 @@ WEBCORE_EXPORT bool applicationIsAdobeInstaller();
 WEBCORE_EXPORT bool applicationIsAperture();
 WEBCORE_EXPORT bool applicationIsAppleMail();
 WEBCORE_EXPORT bool applicationIsIBooks();
-bool applicationIsITunes();
+WEBCORE_EXPORT bool applicationIsITunes();
 WEBCORE_EXPORT bool applicationIsMicrosoftMessenger();
 WEBCORE_EXPORT bool applicationIsMicrosoftMyDay();
 WEBCORE_EXPORT bool applicationIsMicrosoftOutlook();
index 7da7705..dca5b51 100644 (file)
@@ -91,7 +91,7 @@ public:
         return adoptRef(*new Font(WTF::move(svgData), fontSize, syntheticBold, syntheticItalic));
     }
 
-    ~Font();
+    WEBCORE_EXPORT ~Font();
 
     static const Font* systemFallback() { return reinterpret_cast<const Font*>(-1); }
 
index dcc3e59..2dfc9fb 100644 (file)
@@ -164,7 +164,7 @@ private:
 
     void purgeTimerFired();
 
-    void purgeInactiveFontDataIfNeeded();
+    WEBCORE_EXPORT void purgeInactiveFontDataIfNeeded();
 
     // FIXME: This method should eventually be removed.
     FontPlatformData* getCachedFontPlatformData(const FontDescription&, const AtomicString& family, bool checkingAlternateName = false);
index 06f9781..ac99d14 100644 (file)
@@ -47,7 +47,7 @@ public:
     static Ref<FontGlyphs> create(PassRefPtr<FontSelector> fontSelector) { return adoptRef(*new FontGlyphs(fontSelector)); }
     static Ref<FontGlyphs> createForPlatformFont(const FontPlatformData& platformData) { return adoptRef(*new FontGlyphs(platformData)); }
 
-    ~FontGlyphs();
+    WEBCORE_EXPORT ~FontGlyphs();
 
     bool isForPlatformFont() const { return m_isForPlatformFont; }
 
index f1b6350..0f1461f 100644 (file)
@@ -62,8 +62,8 @@ public:
     unsigned size() const { return m_ranges.size(); }
     const Range& rangeAt(unsigned i) const { return m_ranges[i]; }
 
-    const Font* fontForCharacter(UChar32) const;
-    const Font& fontForFirstRange() const;
+    WEBCORE_EXPORT const Font* fontForCharacter(UChar32) const;
+    WEBCORE_EXPORT const Font& fontForFirstRange() const;
     bool isLoading() const;
 
 private:
index 42ac139..35df8f5 100644 (file)
@@ -43,7 +43,7 @@ WEBCORE_EXPORT FloatRect unionRect(const Vector<FloatRect>&);
 // Map rect r from srcRect to an equivalent rect in destRect.
 FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, const FloatRect& destRect);
 
-FloatRect largestRectWithAspectRatioInsideRect(float aspectRatio, const FloatRect&);
+WEBCORE_EXPORT FloatRect largestRectWithAspectRatioInsideRect(float aspectRatio, const FloatRect&);
 
 }
 
index 1843eec..36d8fe0 100644 (file)
@@ -182,7 +182,7 @@ private:
     // NOTE: This array has (GlyphPage::size) elements if m_fontForAllGlyphs is null.
     const Font* m_perGlyphFontData[0];
 
-    static unsigned s_count;
+    WEBCORE_EXPORT static unsigned s_count;
 };
 
 #if COMPILER(MSVC)
index 9f80c0d..545e764 100644 (file)
@@ -48,7 +48,7 @@ public:
     WEBCORE_EXPORT void intersect(const Region&);
     WEBCORE_EXPORT void subtract(const Region&);
 
-    void translate(const IntSize&);
+    WEBCORE_EXPORT void translate(const IntSize&);
 
     // Returns true if the query region is a subset of this region.
     WEBCORE_EXPORT bool contains(const Region&) const;
index 8845b7c..445a837 100644 (file)
@@ -54,7 +54,7 @@ class PlatformCAAnimation;
 
 typedef Vector<RefPtr<PlatformCALayer>> PlatformCALayerList;
 
-class PlatformCALayer : public RefCounted<PlatformCALayer> {
+class WEBCORE_EXPORT PlatformCALayer : public RefCounted<PlatformCALayer> {
 #if PLATFORM(COCOA)
     friend class PlatformCALayerMac;
 #elif PLATFORM(WIN)
index fd6f0b6..52e0ef2 100644 (file)
@@ -55,7 +55,7 @@ public:
     WEBCORE_EXPORT explicit TileController(PlatformCALayer*);
     ~TileController();
     
-    static String tileGridContainerLayerName();
+    WEBCORE_EXPORT static String tileGridContainerLayerName();
     static String zoomedOutTileGridContainerLayerName();
 
     WEBCORE_EXPORT void tileCacheLayerBoundsChanged();
index 69a6b51..03f9cd0 100644 (file)
@@ -148,7 +148,7 @@ public:
 
     // Rounds the resulting mapped rectangle out. This is helpful for bounding
     // box computations but may not be what is wanted in other contexts.
-    IntRect mapRect(const IntRect&) const;
+    WEBCORE_EXPORT IntRect mapRect(const IntRect&) const;
     LayoutRect mapRect(const LayoutRect&) const;
 
     // If the matrix has 3D components, the z component of the result is
index e2a37fb..95bb033 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <wtf/RetainPtr.h>
 
-@interface  WebCoreFullScreenWarningView : NSBox {
+WEBCORE_EXPORT @interface  WebCoreFullScreenWarningView : NSBox {
     RetainPtr<NSTextField> _textField;
 }
 - (id)initWithTitle:(NSString*)title;
index 817d7d7..94c83b7 100644 (file)
@@ -32,7 +32,7 @@
 
 namespace WebCore {
 
-class BlobDataFileReference : public RefCounted<BlobDataFileReference> {
+class WEBCORE_EXPORT BlobDataFileReference : public RefCounted<BlobDataFileReference> {
 public:
     static Ref<BlobDataFileReference> create(const String& path)
     {
index 3920d2b..b640eb6 100644 (file)
@@ -67,7 +67,7 @@ namespace WebCore {
 
         void removeCredentials();
 
-        ResourceRequestCachePolicy cachePolicy() const;
+        WEBCORE_EXPORT ResourceRequestCachePolicy cachePolicy() const;
         WEBCORE_EXPORT void setCachePolicy(ResourceRequestCachePolicy cachePolicy);
         
         double timeoutInterval() const; // May return 0 when using platform default.
@@ -82,10 +82,10 @@ namespace WebCore {
         const HTTPHeaderMap& httpHeaderFields() const;
         WEBCORE_EXPORT void setHTTPHeaderFields(HTTPHeaderMap);
 
-        String httpHeaderField(const String& name) const;
-        String httpHeaderField(HTTPHeaderName) const;
-        void setHTTPHeaderField(const String& name, const String& value);
-        void setHTTPHeaderField(HTTPHeaderName, const String& value);
+        WEBCORE_EXPORT String httpHeaderField(const String& name) const;
+        WEBCORE_EXPORT String httpHeaderField(HTTPHeaderName) const;
+        WEBCORE_EXPORT void setHTTPHeaderField(const String& name, const String& value);
+        WEBCORE_EXPORT void setHTTPHeaderField(HTTPHeaderName, const String& value);
         void addHTTPHeaderField(const String& name, const String& value);
 
         // Instead of passing a string literal to any of these functions, just use a HTTPHeaderName instead.
@@ -127,7 +127,7 @@ namespace WebCore {
         WEBCORE_EXPORT ResourceLoadPriority priority() const;
         WEBCORE_EXPORT void setPriority(ResourceLoadPriority);
 
-        bool isConditional() const;
+        WEBCORE_EXPORT bool isConditional() const;
         void makeUnconditional();
 
         // Whether the associated ResourceHandleClient needs to be notified of
index 8bf72e1..2350a4a 100644 (file)
@@ -99,10 +99,10 @@ public:
     
     // These functions return parsed values of the corresponding response headers.
     // NaN means that the header was not present or had invalid value.
-    bool cacheControlContainsNoCache() const;
-    bool cacheControlContainsNoStore() const;
-    bool cacheControlContainsMustRevalidate() const;
-    bool hasCacheValidatorFields() const;
+    WEBCORE_EXPORT bool cacheControlContainsNoCache() const;
+    WEBCORE_EXPORT bool cacheControlContainsNoStore() const;
+    WEBCORE_EXPORT bool cacheControlContainsMustRevalidate() const;
+    WEBCORE_EXPORT bool hasCacheValidatorFields() const;
     double cacheControlMaxAge() const;
     double date() const;
     double age() const;
index c2ee224..330d644 100755 (executable)
@@ -230,7 +230,7 @@ header_file.write('const size_t minHTTPHeaderNameLength = %u;\n' % len(min(http_
 header_file.write('const size_t maxHTTPHeaderNameLength = %u;\n' % len(max(http_header_names, key=len)));
 header_file.write('''
 bool findHTTPHeaderName(StringView, HTTPHeaderName&);
-StringView httpHeaderNameString(HTTPHeaderName);
+WEBCORE_EXPORT StringView httpHeaderNameString(HTTPHeaderName);
 
 } // namespace WebCore
 
index 18d222b..2be0ae3 100644 (file)
@@ -39,7 +39,7 @@ typedef struct _CFURLResponse* CFURLResponseRef;
 @class NSURLResponse;
 
 namespace WebCore {
-NSURLResponse *synthesizeRedirectResponseIfNecessary(NSURLConnection *, NSURLRequest *newRequest, NSURLResponse *redirectResponse);
+WEBCORE_EXPORT NSURLResponse *synthesizeRedirectResponseIfNecessary(NSURLConnection *, NSURLRequest *newRequest, NSURLResponse *redirectResponse);
 }
 #endif // __OBJC__
 
index b378ecd..1e4392f 100644 (file)
@@ -32,8 +32,8 @@ namespace WebCore {
 
 namespace SQLiteDatabaseTracker {
 
-void decrementTransactionInProgressCount();
-void incrementTransactionInProgressCount();
+WEBCORE_EXPORT void decrementTransactionInProgressCount();
+WEBCORE_EXPORT void incrementTransactionInProgressCount();
 
 WEBCORE_EXPORT void setClient(SQLiteDatabaseTrackerClient*);
 
index 4cbdd77..645a043 100644 (file)
@@ -52,7 +52,7 @@ public:
     WEBCORE_EXPORT unsigned bindParameterCount() const;
 
     WEBCORE_EXPORT int step();
-    int finalize();
+    WEBCORE_EXPORT int finalize();
     WEBCORE_EXPORT int reset();
     
     int prepareAndStep() { if (int error = prepare()) return error; return step(); }
index a0c5375..d075e97 100644 (file)
@@ -49,13 +49,13 @@ public:
 
     WEBCORE_EXPORT HitTestLocation();
     HitTestLocation(const LayoutPoint&);
-    HitTestLocation(const FloatPoint&);
+    WEBCORE_EXPORT HitTestLocation(const FloatPoint&);
     HitTestLocation(const FloatPoint&, const FloatQuad&);
     // Pass non-zero padding values to perform a rect-based hit test.
     HitTestLocation(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
     // Make a copy the HitTestLocation in a new region by applying given offset to internal point and area.
     HitTestLocation(const HitTestLocation&, const LayoutSize& offset);
-    HitTestLocation(const HitTestLocation&);
+    WEBCORE_EXPORT HitTestLocation(const HitTestLocation&);
     WEBCORE_EXPORT ~HitTestLocation();
     HitTestLocation& operator=(const HitTestLocation&);
 
index e8b733f..7e507c1 100644 (file)
@@ -53,7 +53,7 @@ public:
     WEBCORE_EXPORT explicit HitTestResult(const LayoutPoint&);
     // Pass non-negative padding values to perform a rect-based hit test.
     WEBCORE_EXPORT HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
-    explicit HitTestResult(const HitTestLocation&);
+    WEBCORE_EXPORT explicit HitTestResult(const HitTestLocation&);
     WEBCORE_EXPORT HitTestResult(const HitTestResult&);
     WEBCORE_EXPORT ~HitTestResult();
     WEBCORE_EXPORT HitTestResult& operator=(const HitTestResult&);
@@ -82,7 +82,7 @@ public:
     const LayoutPoint& localPoint() const { return m_localPoint; }
     void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; }
 
-    void setToNonShadowAncestor();
+    WEBCORE_EXPORT void setToNonShadowAncestor();
 
     const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; }
 
index 43e26c9..0a5b998 100644 (file)
@@ -42,10 +42,10 @@ class SecurityOrigin;
 
 class StorageEventDispatcher {
 public:
-    static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
-    static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
+    WEBCORE_EXPORT static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
+    WEBCORE_EXPORT static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
 
-    static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
+    WEBCORE_EXPORT static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
     WEBCORE_EXPORT static void dispatchLocalStorageEventsToFrames(PageGroup&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
 private:
     // Do not instantiate.