⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 179861 in webkit


Ignore:
Timestamp:
Feb 9, 2015, 5:21:38 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Update WEBCORE_EXPORT to prepare to start using it.
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.

Location:
trunk/Source/WebCore
Files:
68 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r179860 r179861  
     12015-02-09  Alex Christensen  <achristensen@webkit.org>
     2
     3        Update WEBCORE_EXPORT to prepare to start using it.
     4        https://bugs.webkit.org/show_bug.cgi?id=141409
     5
     6        Reviewed by Tim Horton.
     7
     8        * bindings/js/JSDOMGlobalObject.h:
     9        * bindings/objc/DOMInternal.h:
     10        * bindings/objc/ExceptionHandlers.mm:
     11        * bindings/objc/WebScriptObjectPrivate.h:
     12        * bindings/scripts/CodeGeneratorJS.pm:
     13        (GenerateHeader):
     14        * bindings/scripts/test/JS/JSTestActiveDOMObject.h:
     15        * bindings/scripts/test/JS/JSTestCustomNamedGetter.h:
     16        * bindings/scripts/test/JS/JSTestEventConstructor.h:
     17        * bindings/scripts/test/JS/JSTestEventTarget.h:
     18        * bindings/scripts/test/JS/JSTestException.h:
     19        * bindings/scripts/test/JS/JSTestGenerateIsReachable.h:
     20        * bindings/scripts/test/JS/JSTestInterface.h:
     21        * bindings/scripts/test/JS/JSTestMediaQueryListListener.h:
     22        * bindings/scripts/test/JS/JSTestNamedConstructor.h:
     23        * bindings/scripts/test/JS/JSTestNondeterministic.h:
     24        * bindings/scripts/test/JS/JSTestObj.h:
     25        * bindings/scripts/test/JS/JSTestOverloadedConstructors.h:
     26        * bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h:
     27        * bindings/scripts/test/JS/JSTestTypedefs.h:
     28        * bindings/scripts/test/JS/JSattribute.h:
     29        * bindings/scripts/test/JS/JSreadonly.h:
     30        * css/StyleProperties.h:
     31        * dom/DeviceMotionData.h:
     32        * dom/Node.h:
     33        * dom/Position.h:
     34        * dom/ScriptExecutionContext.h:
     35        * editing/Editor.h:
     36        * editing/htmlediting.h:
     37        * html/HTMLInputElement.h:
     38        * html/TimeRanges.h:
     39        * loader/FrameLoader.h:
     40        * loader/cache/CacheValidation.h:
     41        * loader/cache/MemoryCache.h:
     42        * loader/icon/IconDatabase.h:
     43        * page/DatabaseProvider.h:
     44        * page/DiagnosticLoggingKeys.h:
     45        * page/EventHandler.h:
     46        * page/FrameSnapshotting.h:
     47        * page/MainFrame.h:
     48        * page/PageConsoleClient.h:
     49        * page/PageOverlay.h:
     50        * platform/CrossThreadCopier.h:
     51        * platform/FileSystem.h:
     52        * platform/PlatformSpeechSynthesizer.h:
     53        * platform/RemoteCommandListener.h:
     54        * platform/RuntimeApplicationChecks.h:
     55        * platform/graphics/Font.h:
     56        * platform/graphics/FontCache.h:
     57        * platform/graphics/FontGlyphs.h:
     58        * platform/graphics/FontRanges.h:
     59        * platform/graphics/GeometryUtilities.h:
     60        * platform/graphics/GlyphPage.h:
     61        * platform/graphics/Region.h:
     62        * platform/graphics/ca/PlatformCALayer.h:
     63        * platform/graphics/ca/TileController.h:
     64        * platform/graphics/transforms/TransformationMatrix.h:
     65        * platform/mac/WebCoreFullScreenWarningView.h:
     66        * platform/network/BlobDataFileReference.h:
     67        * platform/network/ResourceRequestBase.h:
     68        * platform/network/ResourceResponseBase.h:
     69        * platform/network/create-http-header-name-table:
     70        * platform/network/mac/WebCoreURLResponse.h:
     71        * platform/sql/SQLiteDatabaseTracker.h:
     72        * platform/sql/SQLiteStatement.h:
     73        * rendering/HitTestLocation.h:
     74        * rendering/HitTestResult.h:
     75        * storage/StorageEventDispatcher.h:
     76        Added WEBCORE_EXPORT macros.
     77
    1782015-02-09  Chris Dumez  <cdumez@apple.com>
    279
  • trunk/Source/WebCore/bindings/js/JSDOMGlobalObject.h

    r173176 r179861  
    6969
    7070    protected:
    71         static WEBKIT_EXPORTDATA const JSC::ClassInfo s_info;
     71        WEBCORE_EXPORT static const JSC::ClassInfo s_info;
    7272
    7373    public:
  • trunk/Source/WebCore/bindings/objc/DOMInternal.h

    r165676 r179861  
    5151}
    5252
    53 @interface DOMNodeFilter : DOMObject <DOMNodeFilter>
     53WEBCORE_EXPORT @interface DOMNodeFilter : DOMObject <DOMNodeFilter>
    5454@end
    5555
  • trunk/Source/WebCore/bindings/objc/ExceptionHandlers.mm

    r171285 r179861  
    3030#include "ExceptionCodeDescription.h"
    3131
    32 NSString *DOMException = @"DOMException";
    33 NSString *DOMRangeException = @"DOMRangeException";
    34 NSString *DOMEventException = @"DOMEventException";
    35 NSString *DOMXPathException = @"DOMXPathException";
     32WEBCORE_EXPORT NSString *DOMException = @"DOMException";
     33WEBCORE_EXPORT NSString *DOMRangeException = @"DOMRangeException";
     34WEBCORE_EXPORT NSString *DOMEventException = @"DOMEventException";
     35WEBCORE_EXPORT NSString *DOMXPathException = @"DOMXPathException";
    3636
    3737namespace WebCore {
  • trunk/Source/WebCore/bindings/objc/WebScriptObjectPrivate.h

    r143637 r179861  
    7171@end
    7272
    73 @interface WebScriptObjectPrivate : NSObject
     73WEBCORE_EXPORT @interface WebScriptObjectPrivate : NSObject
    7474{
    7575@public
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm

    r179406 r179861  
    859859            push(@headerContent, "    static PassRefPtr<DOMStringList> toWrapped(JSC::ExecState*, JSC::JSValue);\n");
    860860        } else {
    861             push(@headerContent, "    static $implType* toWrapped(JSC::JSValue);\n");
     861            push(@headerContent, "    WEBCORE_EXPORT static $implType* toWrapped(JSC::JSValue);\n");
    862862        }
    863863    }
     
    916916        push(@headerContent, "\n");
    917917        push(@headerContent, "protected:\n");
    918         push(@headerContent, "    static WEBKIT_EXPORTDATA const JSC::ClassInfo s_info;\n");
     918        push(@headerContent, "    WEBCORE_EXPORT static const JSC::ClassInfo s_info;\n");
    919919        push(@headerContent, "public:\n");
    920920        push(@headerContent, "    static const JSC::ClassInfo* info() { return &s_info; }\n\n");
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestActiveDOMObject.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestActiveDOMObject* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestActiveDOMObject* toWrapped(JSC::JSValue);
    4242    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4343    static void destroy(JSC::JSCell*);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestCustomNamedGetter.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestCustomNamedGetter* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestCustomNamedGetter* toWrapped(JSC::JSValue);
    4242    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4343    static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventConstructor.h

    r179353 r179861  
    4141    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4242    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    43     static TestEventConstructor* toWrapped(JSC::JSValue);
     43    WEBCORE_EXPORT static TestEventConstructor* toWrapped(JSC::JSValue);
    4444    static void destroy(JSC::JSCell*);
    4545    ~JSTestEventConstructor();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestEventTarget.h

    r179353 r179861  
    4040    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4141    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    42     static TestEventTarget* toWrapped(JSC::JSValue);
     42    WEBCORE_EXPORT static TestEventTarget* toWrapped(JSC::JSValue);
    4343    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4444    static bool getOwnPropertySlotByIndex(JSC::JSObject*, JSC::ExecState*, unsigned propertyName, JSC::PropertySlot&);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestException.h

    r179353 r179861  
    4040    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4141    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    42     static TestException* toWrapped(JSC::JSValue);
     42    WEBCORE_EXPORT static TestException* toWrapped(JSC::JSValue);
    4343    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4444    static void destroy(JSC::JSCell*);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestGenerateIsReachable.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestGenerateIsReachable* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestGenerateIsReachable* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSTestGenerateIsReachable();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.h

    r179353 r179861  
    4141    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4242    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    43     static TestInterface* toWrapped(JSC::JSValue);
     43    WEBCORE_EXPORT static TestInterface* toWrapped(JSC::JSValue);
    4444    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4545    static void put(JSC::JSCell*, JSC::ExecState*, JSC::PropertyName, JSC::JSValue, JSC::PutPropertySlot&);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestMediaQueryListListener.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestMediaQueryListListener* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestMediaQueryListListener* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSTestMediaQueryListListener();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNamedConstructor.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestNamedConstructor* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestNamedConstructor* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSTestNamedConstructor();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestNondeterministic.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestNondeterministic* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestNondeterministic* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSTestNondeterministic();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestObj* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestObj* toWrapped(JSC::JSValue);
    4242    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4343    static void destroy(JSC::JSCell*);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestOverloadedConstructors.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestOverloadedConstructors* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestOverloadedConstructors* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSTestOverloadedConstructors();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestSerializedScriptValueInterface.h

    r179353 r179861  
    4141    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4242    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    43     static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
     43    WEBCORE_EXPORT static TestSerializedScriptValueInterface* toWrapped(JSC::JSValue);
    4444    static void destroy(JSC::JSCell*);
    4545    ~JSTestSerializedScriptValueInterface();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static TestTypedefs* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static TestTypedefs* toWrapped(JSC::JSValue);
    4242    static bool getOwnPropertySlot(JSC::JSObject*, JSC::ExecState*, JSC::PropertyName, JSC::PropertySlot&);
    4343    static void destroy(JSC::JSCell*);
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSattribute.h

    r179353 r179861  
    4040    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4141    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    42     static attribute* toWrapped(JSC::JSValue);
     42    WEBCORE_EXPORT static attribute* toWrapped(JSC::JSValue);
    4343    static void destroy(JSC::JSCell*);
    4444    ~JSattribute();
  • trunk/Source/WebCore/bindings/scripts/test/JS/JSreadonly.h

    r179353 r179861  
    3939    static JSC::JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*);
    4040    static JSC::JSObject* getPrototype(JSC::VM&, JSC::JSGlobalObject*);
    41     static readonly* toWrapped(JSC::JSValue);
     41    WEBCORE_EXPORT static readonly* toWrapped(JSC::JSValue);
    4242    static void destroy(JSC::JSCell*);
    4343    ~JSreadonly();
  • trunk/Source/WebCore/css/StyleProperties.h

    r177259 r179861  
    8888
    8989    PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const;
    90     String getPropertyValue(CSSPropertyID) const;
     90    WEBCORE_EXPORT String getPropertyValue(CSSPropertyID) const;
    9191    bool propertyIsImportant(CSSPropertyID) const;
    9292    String getPropertyShorthand(CSSPropertyID) const;
  • trunk/Source/WebCore/dom/DeviceMotionData.h

    r177733 r179861  
    8484
    8585    WEBCORE_EXPORT static Ref<DeviceMotionData> create();
    86     static Ref<DeviceMotionData> create(PassRefPtr<Acceleration> acceleration, PassRefPtr<Acceleration> accelerationIncludingGravity,
     86    WEBCORE_EXPORT static Ref<DeviceMotionData> create(PassRefPtr<Acceleration>, PassRefPtr<Acceleration> accelerationIncludingGravity,
    8787                                        PassRefPtr<RotationRate> rotationRate, bool canProvideInterval, double interval);
    8888
  • trunk/Source/WebCore/dom/Node.h

    r177372 r179861  
    279279
    280280    // If this node is in a shadow tree, returns its shadow host. Otherwise, returns null.
    281     Element* shadowHost() const;
     281    WEBCORE_EXPORT Element* shadowHost() const;
    282282    // If this node is in a shadow tree, returns its shadow host. Otherwise, returns this.
    283283    // Deprecated. Should use shadowHost() and check the return value.
  • trunk/Source/WebCore/dom/Position.h

    r173665 r179861  
    151151    // using composed characters, the result may be inside a single user-visible character if a ligature is formed.
    152152    WEBCORE_EXPORT Position previous(PositionMoveType = CodePoint) const;
    153     Position next(PositionMoveType = CodePoint) const;
     153    WEBCORE_EXPORT Position next(PositionMoveType = CodePoint) const;
    154154    static int uncheckedPreviousOffset(const Node*, int current);
    155155    static int uncheckedPreviousOffsetForBackwardDeletion(const Node*, int current);
  • trunk/Source/WebCore/dom/ScriptExecutionContext.h

    r178575 r179861  
    8787
    8888    // Active objects are not garbage collected even if inaccessible, e.g. because their activity may result in callbacks being invoked.
    89     bool canSuspendActiveDOMObjects(Vector<ActiveDOMObject*>* unsuspendableObjects = nullptr);
     89    WEBCORE_EXPORT bool canSuspendActiveDOMObjects(Vector<ActiveDOMObject*>* unsuspendableObjects = nullptr);
    9090
    9191    // Active objects can be asked to suspend even if canSuspendActiveDOMObjects() returns 'false' -
  • trunk/Source/WebCore/editing/Editor.h

    r178940 r179861  
    130130    WEBCORE_EXPORT void paste();
    131131    void paste(Pasteboard&);
    132     void pasteAsPlainText();
     132    WEBCORE_EXPORT void pasteAsPlainText();
    133133    WEBCORE_EXPORT void performDelete();
    134134
  • trunk/Source/WebCore/editing/htmlediting.h

    r177996 r179861  
    121121bool isNonTableCellHTMLBlockElement(const Node*);
    122122
    123 TextDirection directionOfEnclosingBlock(const Position&);
     123WEBCORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&);
    124124
    125125// -------------------------------------------------------------------------
  • trunk/Source/WebCore/html/HTMLInputElement.h

    r177996 r179861  
    170170    void setType(const AtomicString&);
    171171
    172     virtual String value() const override final;
     172    WEBCORE_EXPORT virtual String value() const override final;
    173173    void setValue(const String&, ExceptionCode&, TextFieldEventBehavior = DispatchNoEvent);
    174174    WEBCORE_EXPORT void setValue(const String&, TextFieldEventBehavior = DispatchNoEvent);
  • trunk/Source/WebCore/html/TimeRanges.h

    r173318 r179861  
    6565private:
    6666    WEBCORE_EXPORT explicit TimeRanges();
    67     TimeRanges(double start, double end);
     67    WEBCORE_EXPORT TimeRanges(double start, double end);
    6868    TimeRanges(const PlatformTimeRanges&);
    6969
  • trunk/Source/WebCore/loader/FrameLoader.h

    r179347 r179861  
    134134
    135135    // FIXME: These are all functions which stop loads. We have too many.
    136     void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem);
     136    WEBCORE_EXPORT void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem);
    137137    WEBCORE_EXPORT void stopForUserCancel(bool deferCheckLoadComplete = false);
    138138    void stop();
  • trunk/Source/WebCore/loader/cache/CacheValidation.h

    r178012 r179861  
    4545};
    4646
    47 double computeCurrentAge(const ResourceResponse&, double responseTimestamp);
    48 double computeFreshnessLifetimeForHTTPFamily(const ResourceResponse&, double responseTimestamp);
    49 void updateResponseHeadersAfterRevalidation(ResourceResponse&, const ResourceResponse& validatingResponse);
    50 void updateRedirectChainStatus(RedirectChainCacheStatus&, const ResourceResponse&);
     47WEBCORE_EXPORT double computeCurrentAge(const ResourceResponse&, double responseTimestamp);
     48WEBCORE_EXPORT double computeFreshnessLifetimeForHTTPFamily(const ResourceResponse&, double responseTimestamp);
     49WEBCORE_EXPORT void updateResponseHeadersAfterRevalidation(ResourceResponse&, const ResourceResponse& validatingResponse);
     50WEBCORE_EXPORT void updateRedirectChainStatus(RedirectChainCacheStatus&, const ResourceResponse&);
    5151
    5252enum ReuseExpiredRedirectionOrNot { DoNotReuseExpiredRedirection, ReuseExpiredRedirection };
    53 bool redirectChainAllowsReuse(RedirectChainCacheStatus, ReuseExpiredRedirectionOrNot);
     53WEBCORE_EXPORT bool redirectChainAllowsReuse(RedirectChainCacheStatus, ReuseExpiredRedirectionOrNot);
    5454
    5555}
  • trunk/Source/WebCore/loader/cache/MemoryCache.h

    r179702 r179861  
    173173    };
    174174
    175     void pruneDeadResourcesToSize(unsigned targetSize);
    176     void pruneLiveResourcesToSize(unsigned targetSize, bool shouldDestroyDecodedDataForAllLiveResources = false);
     175    WEBCORE_EXPORT void pruneDeadResourcesToSize(unsigned targetSize);
     176    WEBCORE_EXPORT void pruneLiveResourcesToSize(unsigned targetSize, bool shouldDestroyDecodedDataForAllLiveResources = false);
    177177
    178178    MemoryCache();
  • trunk/Source/WebCore/loader/icon/IconDatabase.h

    r179236 r179861  
    9494
    9595    WEBCORE_EXPORT virtual void setEnabled(bool) override;
    96     virtual bool isEnabled() const override;
     96    WEBCORE_EXPORT virtual bool isEnabled() const override;
    9797
    9898    WEBCORE_EXPORT virtual void setPrivateBrowsingEnabled(bool flag) override;
  • trunk/Source/WebCore/page/DatabaseProvider.h

    r177960 r179861  
    3434class IDBFactoryBackendInterface;
    3535
    36 class DatabaseProvider : public RefCounted<DatabaseProvider> {
     36class WEBCORE_EXPORT DatabaseProvider : public RefCounted<DatabaseProvider> {
    3737public:
    38     virtual ~DatabaseProvider();
     38    WEBCORE_EXPORT virtual ~DatabaseProvider();
    3939
    4040#if ENABLE(INDEXED_DATABASE)
  • trunk/Source/WebCore/page/DiagnosticLoggingKeys.h

    r179533 r179861  
    106106    static String unusedReasonTypeMismatchKey();
    107107    static String usedKey();
    108     static String userKey();
     108    WEBCORE_EXPORT static String userKey();
    109109    static String videoKey();
    110     static String webViewKey();
    111     static String zoomedKey();
     110    WEBCORE_EXPORT static String webViewKey();
     111    WEBCORE_EXPORT static String zoomedKey();
    112112
    113113    // Success / Failure keys.
  • trunk/Source/WebCore/page/EventHandler.h

    r179260 r179861  
    185185    bool tabsToAllFormControls(KeyboardEvent*) const;
    186186
    187     bool mouseMoved(const PlatformMouseEvent&);
     187    WEBCORE_EXPORT bool mouseMoved(const PlatformMouseEvent&);
    188188    WEBCORE_EXPORT bool passMouseMovedEventToScrollbars(const PlatformMouseEvent&);
    189189
    190190    void lostMouseCapture();
    191191
    192     bool handleMousePressEvent(const PlatformMouseEvent&);
     192    WEBCORE_EXPORT bool handleMousePressEvent(const PlatformMouseEvent&);
    193193    bool handleMouseMoveEvent(const PlatformMouseEvent&, HitTestResult* hoveredNode = 0, bool onlyUpdateScrollbars = false);
    194     bool handleMouseReleaseEvent(const PlatformMouseEvent&);
     194    WEBCORE_EXPORT bool handleMouseReleaseEvent(const PlatformMouseEvent&);
    195195    WEBCORE_EXPORT bool handleWheelEvent(const PlatformWheelEvent&);
    196196    void defaultWheelEventHandler(Node*, WheelEvent*);
  • trunk/Source/WebCore/page/FrameSnapshotting.h

    r177739 r179861  
    4949typedef unsigned SnapshotOptions;
    5050
    51 std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
     51WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
    5252std::unique_ptr<ImageBuffer> snapshotNode(Frame&, Node&);
    5353WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);
  • trunk/Source/WebCore/page/MainFrame.h

    r178794 r179861  
    6262#endif // PLATFORM(MAC)
    6363
    64     DiagnosticLoggingClient& diagnosticLoggingClient() const;
     64    WEBCORE_EXPORT DiagnosticLoggingClient& diagnosticLoggingClient() const;
    6565
    6666private:
  • trunk/Source/WebCore/page/PageConsoleClient.h

    r178060 r179861  
    4646typedef Vector<RefPtr<JSC::Profile>> ProfilesArray;
    4747
    48 class PageConsoleClient final : public JSC::ConsoleClient {
     48class WEBCORE_EXPORT PageConsoleClient final : public JSC::ConsoleClient {
    4949public:
    5050    explicit PageConsoleClient(Page&);
  • trunk/Source/WebCore/page/PageOverlay.h

    r177739 r179861  
    103103
    104104    WEBCORE_EXPORT IntRect bounds() const;
    105     IntRect frame() const;
    106     void setFrame(IntRect);
     105    WEBCORE_EXPORT IntRect frame() const;
     106    WEBCORE_EXPORT void setFrame(IntRect);
    107107
    108108    RGBA32 backgroundColor() const { return m_backgroundColor; }
  • trunk/Source/WebCore/platform/CrossThreadCopier.h

    r173176 r179861  
    159159    }
    160160    template<> struct CrossThreadCopierBase<false, false, IndexedDB::TransactionMode> {
    161         static IndexedDB::TransactionMode copy(const IndexedDB::TransactionMode&);
     161        WEBCORE_EXPORT static IndexedDB::TransactionMode copy(const IndexedDB::TransactionMode&);
    162162    };
    163163    template<> struct CrossThreadCopierBase<false, false, IndexedDB::CursorDirection> {
    164         static IndexedDB::CursorDirection copy(const IndexedDB::CursorDirection&);
     164        WEBCORE_EXPORT static IndexedDB::CursorDirection copy(const IndexedDB::CursorDirection&);
    165165    };
    166166    template<> struct CrossThreadCopierBase<false, false, IndexedDB::CursorType> {
    167         static IndexedDB::CursorType copy(const IndexedDB::CursorType&);
     167        WEBCORE_EXPORT static IndexedDB::CursorType copy(const IndexedDB::CursorType&);
    168168    };
    169169
  • trunk/Source/WebCore/platform/FileSystem.h

    r173949 r179861  
    138138WEBCORE_EXPORT bool deleteFile(const String&);
    139139WEBCORE_EXPORT bool deleteEmptyDirectory(const String&);
    140 bool getFileSize(const String&, long long& result);
     140WEBCORE_EXPORT bool getFileSize(const String&, long long& result);
    141141WEBCORE_EXPORT bool getFileModificationTime(const String&, time_t& result);
    142142WEBCORE_EXPORT bool getFileCreationTime(const String&, time_t& result); // Not all platforms store file creation time.
  • trunk/Source/WebCore/platform/PlatformSpeechSynthesizer.h

    r172862 r179861  
    6565};
    6666
    67 class PlatformSpeechSynthesizer {
     67class WEBCORE_EXPORT PlatformSpeechSynthesizer {
    6868public:
    6969    WEBCORE_EXPORT explicit PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient*);
  • trunk/Source/WebCore/platform/RemoteCommandListener.h

    r167590 r179861  
    3939class RemoteCommandListener {
    4040public:
    41     static std::unique_ptr<RemoteCommandListener> create(RemoteCommandListenerClient&);
     41    WEBCORE_EXPORT static std::unique_ptr<RemoteCommandListener> create(RemoteCommandListenerClient&);
    4242    RemoteCommandListener(RemoteCommandListenerClient& client) : m_client(client) { }
    4343    virtual ~RemoteCommandListener() { }
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.h

    r179129 r179861  
    3434WEBCORE_EXPORT bool applicationIsAppleMail();
    3535WEBCORE_EXPORT bool applicationIsIBooks();
    36 bool applicationIsITunes();
     36WEBCORE_EXPORT bool applicationIsITunes();
    3737WEBCORE_EXPORT bool applicationIsMicrosoftMessenger();
    3838WEBCORE_EXPORT bool applicationIsMicrosoftMyDay();
  • trunk/Source/WebCore/platform/graphics/Font.h

    r179445 r179861  
    9292    }
    9393
    94     ~Font();
     94    WEBCORE_EXPORT ~Font();
    9595
    9696    static const Font* systemFallback() { return reinterpret_cast<const Font*>(-1); }
  • trunk/Source/WebCore/platform/graphics/FontCache.h

    r179368 r179861  
    165165    void purgeTimerFired();
    166166
    167     void purgeInactiveFontDataIfNeeded();
     167    WEBCORE_EXPORT void purgeInactiveFontDataIfNeeded();
    168168
    169169    // FIXME: This method should eventually be removed.
  • trunk/Source/WebCore/platform/graphics/FontGlyphs.h

    r178940 r179861  
    4848    static Ref<FontGlyphs> createForPlatformFont(const FontPlatformData& platformData) { return adoptRef(*new FontGlyphs(platformData)); }
    4949
    50     ~FontGlyphs();
     50    WEBCORE_EXPORT ~FontGlyphs();
    5151
    5252    bool isForPlatformFont() const { return m_isForPlatformFont; }
  • trunk/Source/WebCore/platform/graphics/FontRanges.h

    r178940 r179861  
    6363    const Range& rangeAt(unsigned i) const { return m_ranges[i]; }
    6464
    65     const Font* fontForCharacter(UChar32) const;
    66     const Font& fontForFirstRange() const;
     65    WEBCORE_EXPORT const Font* fontForCharacter(UChar32) const;
     66    WEBCORE_EXPORT const Font& fontForFirstRange() const;
    6767    bool isLoading() const;
    6868
  • trunk/Source/WebCore/platform/graphics/GeometryUtilities.h

    r172849 r179861  
    4444FloatRect mapRect(const FloatRect&, const FloatRect& srcRect, const FloatRect& destRect);
    4545
    46 FloatRect largestRectWithAspectRatioInsideRect(float aspectRatio, const FloatRect&);
     46WEBCORE_EXPORT FloatRect largestRectWithAspectRatioInsideRect(float aspectRatio, const FloatRect&);
    4747
    4848}
  • trunk/Source/WebCore/platform/graphics/GlyphPage.h

    r178940 r179861  
    183183    const Font* m_perGlyphFontData[0];
    184184
    185     static unsigned s_count;
     185    WEBCORE_EXPORT static unsigned s_count;
    186186};
    187187
  • trunk/Source/WebCore/platform/graphics/Region.h

    r172862 r179861  
    4949    WEBCORE_EXPORT void subtract(const Region&);
    5050
    51     void translate(const IntSize&);
     51    WEBCORE_EXPORT void translate(const IntSize&);
    5252
    5353    // Returns true if the query region is a subset of this region.
  • trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h

    r179604 r179861  
    5555typedef Vector<RefPtr<PlatformCALayer>> PlatformCALayerList;
    5656
    57 class PlatformCALayer : public RefCounted<PlatformCALayer> {
     57class WEBCORE_EXPORT PlatformCALayer : public RefCounted<PlatformCALayer> {
    5858#if PLATFORM(COCOA)
    5959    friend class PlatformCALayerMac;
  • trunk/Source/WebCore/platform/graphics/ca/TileController.h

    r178723 r179861  
    5656    ~TileController();
    5757   
    58     static String tileGridContainerLayerName();
     58    WEBCORE_EXPORT static String tileGridContainerLayerName();
    5959    static String zoomedOutTileGridContainerLayerName();
    6060
  • trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h

    r172849 r179861  
    149149    // Rounds the resulting mapped rectangle out. This is helpful for bounding
    150150    // box computations but may not be what is wanted in other contexts.
    151     IntRect mapRect(const IntRect&) const;
     151    WEBCORE_EXPORT IntRect mapRect(const IntRect&) const;
    152152    LayoutRect mapRect(const LayoutRect&) const;
    153153
  • trunk/Source/WebCore/platform/mac/WebCoreFullScreenWarningView.h

    r161589 r179861  
    3333#include <wtf/RetainPtr.h>
    3434
    35 @interface  WebCoreFullScreenWarningView : NSBox {
     35WEBCORE_EXPORT @interface  WebCoreFullScreenWarningView : NSBox {
    3636    RetainPtr<NSTextField> _textField;
    3737}
  • trunk/Source/WebCore/platform/network/BlobDataFileReference.h

    r177733 r179861  
    3333namespace WebCore {
    3434
    35 class BlobDataFileReference : public RefCounted<BlobDataFileReference> {
     35class WEBCORE_EXPORT BlobDataFileReference : public RefCounted<BlobDataFileReference> {
    3636public:
    3737    static Ref<BlobDataFileReference> create(const String& path)
  • trunk/Source/WebCore/platform/network/ResourceRequestBase.h

    r179584 r179861  
    6868        void removeCredentials();
    6969
    70         ResourceRequestCachePolicy cachePolicy() const;
     70        WEBCORE_EXPORT ResourceRequestCachePolicy cachePolicy() const;
    7171        WEBCORE_EXPORT void setCachePolicy(ResourceRequestCachePolicy cachePolicy);
    7272       
     
    8383        WEBCORE_EXPORT void setHTTPHeaderFields(HTTPHeaderMap);
    8484
    85         String httpHeaderField(const String& name) const;
    86         String httpHeaderField(HTTPHeaderName) const;
    87         void setHTTPHeaderField(const String& name, const String& value);
    88         void setHTTPHeaderField(HTTPHeaderName, const String& value);
     85        WEBCORE_EXPORT String httpHeaderField(const String& name) const;
     86        WEBCORE_EXPORT String httpHeaderField(HTTPHeaderName) const;
     87        WEBCORE_EXPORT void setHTTPHeaderField(const String& name, const String& value);
     88        WEBCORE_EXPORT void setHTTPHeaderField(HTTPHeaderName, const String& value);
    8989        void addHTTPHeaderField(const String& name, const String& value);
    9090
     
    128128        WEBCORE_EXPORT void setPriority(ResourceLoadPriority);
    129129
    130         bool isConditional() const;
     130        WEBCORE_EXPORT bool isConditional() const;
    131131        void makeUnconditional();
    132132
  • trunk/Source/WebCore/platform/network/ResourceResponseBase.h

    r178019 r179861  
    100100    // These functions return parsed values of the corresponding response headers.
    101101    // NaN means that the header was not present or had invalid value.
    102     bool cacheControlContainsNoCache() const;
    103     bool cacheControlContainsNoStore() const;
    104     bool cacheControlContainsMustRevalidate() const;
    105     bool hasCacheValidatorFields() const;
     102    WEBCORE_EXPORT bool cacheControlContainsNoCache() const;
     103    WEBCORE_EXPORT bool cacheControlContainsNoStore() const;
     104    WEBCORE_EXPORT bool cacheControlContainsMustRevalidate() const;
     105    WEBCORE_EXPORT bool hasCacheValidatorFields() const;
    106106    double cacheControlMaxAge() const;
    107107    double date() const;
  • trunk/Source/WebCore/platform/network/create-http-header-name-table

    r169976 r179861  
    231231header_file.write('''
    232232bool findHTTPHeaderName(StringView, HTTPHeaderName&);
    233 StringView httpHeaderNameString(HTTPHeaderName);
     233WEBCORE_EXPORT StringView httpHeaderNameString(HTTPHeaderName);
    234234
    235235} // namespace WebCore
  • trunk/Source/WebCore/platform/network/mac/WebCoreURLResponse.h

    r165676 r179861  
    4040
    4141namespace WebCore {
    42 NSURLResponse *synthesizeRedirectResponseIfNecessary(NSURLConnection *, NSURLRequest *newRequest, NSURLResponse *redirectResponse);
     42WEBCORE_EXPORT NSURLResponse *synthesizeRedirectResponseIfNecessary(NSURLConnection *, NSURLRequest *newRequest, NSURLResponse *redirectResponse);
    4343}
    4444#endif // __OBJC__
  • trunk/Source/WebCore/platform/sql/SQLiteDatabaseTracker.h

    r172814 r179861  
    3333namespace SQLiteDatabaseTracker {
    3434
    35 void decrementTransactionInProgressCount();
    36 void incrementTransactionInProgressCount();
     35WEBCORE_EXPORT void decrementTransactionInProgressCount();
     36WEBCORE_EXPORT void incrementTransactionInProgressCount();
    3737
    3838WEBCORE_EXPORT void setClient(SQLiteDatabaseTrackerClient*);
  • trunk/Source/WebCore/platform/sql/SQLiteStatement.h

    r179774 r179861  
    5353
    5454    WEBCORE_EXPORT int step();
    55     int finalize();
     55    WEBCORE_EXPORT int finalize();
    5656    WEBCORE_EXPORT int reset();
    5757   
  • trunk/Source/WebCore/rendering/HitTestLocation.h

    r172862 r179861  
    5050    WEBCORE_EXPORT HitTestLocation();
    5151    HitTestLocation(const LayoutPoint&);
    52     HitTestLocation(const FloatPoint&);
     52    WEBCORE_EXPORT HitTestLocation(const FloatPoint&);
    5353    HitTestLocation(const FloatPoint&, const FloatQuad&);
    5454    // Pass non-zero padding values to perform a rect-based hit test.
     
    5656    // Make a copy the HitTestLocation in a new region by applying given offset to internal point and area.
    5757    HitTestLocation(const HitTestLocation&, const LayoutSize& offset);
    58     HitTestLocation(const HitTestLocation&);
     58    WEBCORE_EXPORT HitTestLocation(const HitTestLocation&);
    5959    WEBCORE_EXPORT ~HitTestLocation();
    6060    HitTestLocation& operator=(const HitTestLocation&);
  • trunk/Source/WebCore/rendering/HitTestResult.h

    r178459 r179861  
    5454    // Pass non-negative padding values to perform a rect-based hit test.
    5555    WEBCORE_EXPORT HitTestResult(const LayoutPoint& centerPoint, unsigned topPadding, unsigned rightPadding, unsigned bottomPadding, unsigned leftPadding);
    56     explicit HitTestResult(const HitTestLocation&);
     56    WEBCORE_EXPORT explicit HitTestResult(const HitTestLocation&);
    5757    WEBCORE_EXPORT HitTestResult(const HitTestResult&);
    5858    WEBCORE_EXPORT ~HitTestResult();
     
    8383    void setLocalPoint(const LayoutPoint& p) { m_localPoint = p; }
    8484
    85     void setToNonShadowAncestor();
     85    WEBCORE_EXPORT void setToNonShadowAncestor();
    8686
    8787    const HitTestLocation& hitTestLocation() const { return m_hitTestLocation; }
  • trunk/Source/WebCore/storage/StorageEventDispatcher.h

    r172849 r179861  
    4343class StorageEventDispatcher {
    4444public:
    45     static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
    46     static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
     45    WEBCORE_EXPORT static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
     46    WEBCORE_EXPORT static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
    4747
    48     static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
     48    WEBCORE_EXPORT static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
    4949    WEBCORE_EXPORT static void dispatchLocalStorageEventsToFrames(PageGroup&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
    5050private:
Note: See TracChangeset for help on using the changeset viewer.