Changeset 177739 in webkit


Ignore:
Timestamp:
Dec 25, 2014 1:25:15 PM (9 years ago)
Author:
mitz@apple.com
Message:

Bring the state of WEBCORE_EXPORT annotations closer to what the exports file specifies.
https://bugs.webkit.org/show_bug.cgi?id=136172

Reviewed by Darin Adler.

  • bridge/NP_jsobject.cpp: Give functions from npruntime_impl.h defined in this file default

using a compiler pragma, in lieu of introducing WebCore-specific macros into that header.

  • bridge/npruntime.cpp: Ditto.
  • platform/mac/WebCoreSystemInterface.mm: Similarly for WebCoreSystemInterface.h.

Added or removed WEBCORE_EXPORT in these files as necessary to match what is currently in
the exports file:

  • Modules/mediasource/SourceBuffer.h:
  • bindings/js/JSDOMBinding.h:
  • css/CSSComputedStyleDeclaration.h:
  • dom/ContainerNode.h:
  • dom/Document.h:
  • dom/MouseEvent.h:
  • dom/Range.h:
  • dom/SecurityContext.h:
  • editing/Editor.h:
  • editing/mac/DictionaryLookup.h:
  • loader/FrameLoaderClient.h:
  • loader/LoaderStrategy.h:
  • loader/icon/IconDatabaseBase.h:
  • page/ChromeClient.h:
  • page/EventHandler.h:
  • page/FrameSnapshotting.h:
  • page/Page.h:
  • page/PageOverlay.h:
  • page/PageOverlayController.h:
  • page/TextIndicator.h:
  • page/UserContentController.h:
  • page/WheelEventDeltaTracker.h:
  • page/mac/TextIndicatorWindow.h:
  • platform/DatabaseStrategy.h:
  • platform/ScrollableArea.h:
  • platform/SuddenTermination.h:
  • platform/URL.h:
  • platform/animation/Animation.h:
  • platform/cocoa/MachSendRight.h:
  • platform/graphics/FloatRoundedRect.h:
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/GraphicsLayer.h:
  • platform/graphics/Path.h:
  • platform/graphics/TextRun.h:
  • platform/graphics/ca/TileController.h:
  • platform/graphics/cocoa/IOSurface.h:
  • platform/graphics/mac/ColorMac.h:
  • platform/mac/SoftLinking.h:
  • platform/mac/WebCoreNSStringExtras.h:
  • platform/mock/mediasource/MockMediaPlayerMediaSource.h:
  • platform/network/BlobRegistry.h:
  • platform/network/ResourceRequestBase.h:
  • platform/network/ResourceResponseBase.h:
  • rendering/HitTestResult.h:
  • rendering/RenderInline.h:
  • rendering/RenderLayerBacking.h:
  • rendering/RenderLayerCompositor.cpp:
  • rendering/RenderView.h:
  • storage/StorageNamespaceImpl.h:
  • storage/StorageNamespaceProvider.h:
  • testing/Internals.h:
Location:
trunk/Source/WebCore
Files:
55 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r177738 r177739  
     12014-12-25  Dan Bernstein  <mitz@apple.com>
     2
     3        Bring the state of WEBCORE_EXPORT annotations closer to what the exports file specifies.
     4        https://bugs.webkit.org/show_bug.cgi?id=136172
     5
     6        Reviewed by Darin Adler.
     7
     8        * bridge/NP_jsobject.cpp: Give functions from npruntime_impl.h defined in this file default
     9        using a compiler pragma, in lieu of introducing WebCore-specific macros into that header.
     10        * bridge/npruntime.cpp: Ditto.
     11
     12        * platform/mac/WebCoreSystemInterface.mm: Similarly for WebCoreSystemInterface.h.
     13
     14        Added or removed WEBCORE_EXPORT in these files as necessary to match what is currently in
     15        the exports file:
     16
     17        * Modules/mediasource/SourceBuffer.h:
     18        * bindings/js/JSDOMBinding.h:
     19        * css/CSSComputedStyleDeclaration.h:
     20        * dom/ContainerNode.h:
     21        * dom/Document.h:
     22        * dom/MouseEvent.h:
     23        * dom/Range.h:
     24        * dom/SecurityContext.h:
     25        * editing/Editor.h:
     26        * editing/mac/DictionaryLookup.h:
     27        * loader/FrameLoaderClient.h:
     28        * loader/LoaderStrategy.h:
     29        * loader/icon/IconDatabaseBase.h:
     30        * page/ChromeClient.h:
     31        * page/EventHandler.h:
     32        * page/FrameSnapshotting.h:
     33        * page/Page.h:
     34        * page/PageOverlay.h:
     35        * page/PageOverlayController.h:
     36        * page/TextIndicator.h:
     37        * page/UserContentController.h:
     38        * page/WheelEventDeltaTracker.h:
     39        * page/mac/TextIndicatorWindow.h:
     40        * platform/DatabaseStrategy.h:
     41        * platform/ScrollableArea.h:
     42        * platform/SuddenTermination.h:
     43        * platform/URL.h:
     44        * platform/animation/Animation.h:
     45        * platform/cocoa/MachSendRight.h:
     46        * platform/graphics/FloatRoundedRect.h:
     47        * platform/graphics/GraphicsContext.h:
     48        * platform/graphics/GraphicsLayer.h:
     49        * platform/graphics/Path.h:
     50        * platform/graphics/TextRun.h:
     51        * platform/graphics/ca/TileController.h:
     52        * platform/graphics/cocoa/IOSurface.h:
     53        * platform/graphics/mac/ColorMac.h:
     54        * platform/mac/SoftLinking.h:
     55        * platform/mac/WebCoreNSStringExtras.h:
     56        * platform/mock/mediasource/MockMediaPlayerMediaSource.h:
     57        * platform/network/BlobRegistry.h:
     58        * platform/network/ResourceRequestBase.h:
     59        * platform/network/ResourceResponseBase.h:
     60        * rendering/HitTestResult.h:
     61        * rendering/RenderInline.h:
     62        * rendering/RenderLayerBacking.h:
     63        * rendering/RenderLayerCompositor.cpp:
     64        * rendering/RenderView.h:
     65        * storage/StorageNamespaceImpl.h:
     66        * storage/StorageNamespaceProvider.h:
     67        * testing/Internals.h:
     68
    1692014-12-25  Chris Dumez  <cdumez@apple.com>
    270
  • trunk/Source/WebCore/Modules/mediasource/SourceBuffer.h

    r177259 r177739  
    186186    // Internals
    187187    friend class Internals;
    188     Vector<String> bufferedSamplesForTrackID(const AtomicString&);
     188    WEBCORE_EXPORT Vector<String> bufferedSamplesForTrackID(const AtomicString&);
    189189
    190190    Ref<SourceBufferPrivate> m_private;
  • trunk/Source/WebCore/bindings/js/JSDOMBinding.h

    r176964 r177739  
    7676WEBCORE_EXPORT void throwSetterTypeError(JSC::ExecState&, const char* interfaceName, const char* attributeName);
    7777
    78 JSC::EncodedJSValue throwArgumentMustBeEnumError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName, const char* expectedValues);
     78WEBCORE_EXPORT JSC::EncodedJSValue throwArgumentMustBeEnumError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName, const char* expectedValues);
    7979JSC::EncodedJSValue throwArgumentMustBeFunctionError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName);
    8080JSC::EncodedJSValue throwArgumentTypeError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName, const char* expectedType);
  • trunk/Source/WebCore/bridge/NP_jsobject.cpp

    r166071 r177739  
    3535#include "IdentifierRep.h"
    3636#include "JSDOMBinding.h"
    37 #include "npruntime_impl.h"
    3837#include "npruntime_priv.h"
    3938#include "runtime_root.h"
     
    4645#include <wtf/NeverDestroyed.h>
    4746#include <wtf/text/WTFString.h>
     47
     48#pragma GCC visibility push(default)
     49#include "npruntime_impl.h"
     50#pragma GCC visibility pop
    4851
    4952using namespace JSC;
  • trunk/Source/WebCore/bridge/npruntime.cpp

    r165676 r177739  
    3030#include "IdentifierRep.h"
    3131#include "npruntime_internal.h"
    32 #include "npruntime_impl.h"
    3332#include "npruntime_priv.h"
    3433
     
    3837#include <wtf/Assertions.h>
    3938#include <wtf/HashMap.h>
     39
     40#pragma GCC visibility push(default)
     41#include "npruntime_impl.h"
     42#pragma GCC visibility pop
    4043
    4144using namespace JSC::Bindings;
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h

    r177259 r177739  
    9292    virtual ~CSSComputedStyleDeclaration();
    9393
    94     virtual void ref() override;
    95     virtual void deref() override;
     94    WEBCORE_EXPORT virtual void ref() override;
     95    WEBCORE_EXPORT virtual void deref() override;
    9696
    9797    String getPropertyValue(CSSPropertyID) const;
  • trunk/Source/WebCore/dom/ContainerNode.h

    r177301 r177739  
    7676private:
    7777#ifndef NDEBUG
    78     static unsigned s_count;
     78    WEBCORE_EXPORT static unsigned s_count;
    7979#endif
    8080};
  • trunk/Source/WebCore/dom/Document.h

    r177559 r177739  
    12571257    virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) override final;
    12581258
    1259     virtual SecurityOrigin* topOrigin() const override final;
     1259    WEBCORE_EXPORT virtual SecurityOrigin* topOrigin() const override final;
    12601260
    12611261#if ENABLE(FONT_LOAD_EVENTS)
     
    12761276    void updateViewportUnitsOnResize();
    12771277
    1278     void addAudioProducer(AudioProducer*);
    1279     void removeAudioProducer(AudioProducer*);
     1278    WEBCORE_EXPORT void addAudioProducer(AudioProducer*);
     1279    WEBCORE_EXPORT void removeAudioProducer(AudioProducer*);
    12801280    bool isPlayingAudio() const { return m_isPlayingAudio; }
    1281     void updateIsPlayingAudio();
     1281    WEBCORE_EXPORT void updateIsPlayingAudio();
    12821282    void pageMutedStateDidChange();
    12831283
  • trunk/Source/WebCore/dom/MouseEvent.h

    r177264 r177739  
    5454    }
    5555
    56     WEBCORE_EXPORT static Ref<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
     56    static Ref<MouseEvent> create(const AtomicString& type, bool canBubble, bool cancelable, double timestamp, PassRefPtr<AbstractView>,
    5757        int detail, int screenX, int screenY, int pageX, int pageY,
    5858#if ENABLE(POINTER_LOCK)
  • trunk/Source/WebCore/dom/Range.h

    r177513 r177739  
    184184};
    185185
    186 Ref<Range> rangeOfContents(Node&);
     186WEBCORE_EXPORT Ref<Range> rangeOfContents(Node&);
    187187
    188188WEBCORE_EXPORT bool areRangesEqual(const Range*, const Range*);
  • trunk/Source/WebCore/dom/SecurityContext.h

    r177661 r177739  
    7474    void setSecurityOriginPolicy(RefPtr<SecurityOriginPolicy>&&);
    7575
    76     SecurityOrigin* securityOrigin() const;
     76    WEBCORE_EXPORT SecurityOrigin* securityOrigin() const;
    7777
    7878    static SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensErrorMessage);
  • trunk/Source/WebCore/editing/Editor.h

    r176459 r177739  
    102102
    103103    WEBCORE_EXPORT EditorClient* client() const;
    104     TextCheckerClient* textChecker() const;
     104    WEBCORE_EXPORT TextCheckerClient* textChecker() const;
    105105
    106106    CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); }
     
    136136    void copyURL(const URL&, const String& title, Pasteboard&);
    137137#if !PLATFORM(IOS)
    138     void copyImage(const HitTestResult&);
     138    WEBCORE_EXPORT void copyImage(const HitTestResult&);
    139139#endif
    140140
  • trunk/Source/WebCore/editing/mac/DictionaryLookup.h

    r176137 r177739  
    4646
    4747PassRefPtr<Range> rangeExpandedAroundPositionByCharacters(const VisiblePosition&, int numberOfCharactersToExpand);
    48 PassRefPtr<Range> rangeForDictionaryLookupForSelection(const VisibleSelection&, NSDictionary **options);
    49 PassRefPtr<Range> rangeForDictionaryLookupAtHitTestResult(const HitTestResult&, NSDictionary **options);
     48WEBCORE_EXPORT PassRefPtr<Range> rangeForDictionaryLookupForSelection(const VisibleSelection&, NSDictionary **options);
     49WEBCORE_EXPORT PassRefPtr<Range> rangeForDictionaryLookupAtHitTestResult(const HitTestResult&, NSDictionary **options);
    5050
    5151} // namespace WebCore
  • trunk/Source/WebCore/loader/FrameLoaderClient.h

    r176772 r177739  
    105105    typedef std::function<void (PolicyAction)> FramePolicyFunction;
    106106
    107     class FrameLoaderClient {
     107    class WEBCORE_EXPORT FrameLoaderClient {
    108108    public:
    109109        // An inline function cannot be the first non-abstract virtual function declared
  • trunk/Source/WebCore/loader/LoaderStrategy.h

    r172862 r177739  
    3939class ResourceResponse;
    4040
    41 class LoaderStrategy {
     41class WEBCORE_EXPORT LoaderStrategy {
    4242public:
    4343    WEBCORE_EXPORT virtual ResourceLoadScheduler* resourceLoadScheduler();
  • trunk/Source/WebCore/loader/icon/IconDatabaseBase.h

    r177733 r177739  
    156156typedef ObjectCallback<SharedBuffer*> IconDataCallback;
    157157
    158 class IconDatabaseBase {
     158class WEBCORE_EXPORT IconDatabaseBase {
    159159    WTF_MAKE_NONCOPYABLE(IconDatabaseBase);
    160160
  • trunk/Source/WebCore/page/ChromeClient.h

    r177396 r177739  
    9494struct WindowFeatures;
    9595
    96 class ChromeClient {
     96class WEBCORE_EXPORT ChromeClient {
    9797public:
    9898    virtual void chromeDestroyed() = 0;
  • trunk/Source/WebCore/page/EventHandler.h

    r176904 r177739  
    145145    bool panScrollInProgress() const;
    146146
    147     void dispatchFakeMouseMoveEventSoon();
     147    WEBCORE_EXPORT void dispatchFakeMouseMoveEventSoon();
    148148    void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&);
    149149
  • trunk/Source/WebCore/page/FrameSnapshotting.h

    r160152 r177739  
    5151std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
    5252std::unique_ptr<ImageBuffer> snapshotNode(Frame&, Node&);
    53 std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);
     53WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);
    5454
    5555} // namespace WebCore
  • trunk/Source/WebCore/page/Page.h

    r177513 r177739  
    407407
    408408    UserContentController* userContentController() { return m_userContentController.get(); }
    409     void setUserContentController(UserContentController*);
     409    WEBCORE_EXPORT void setUserContentController(UserContentController*);
    410410
    411411    VisitedLinkStore& visitedLinkStore();
    412     void setVisitedLinkStore(Ref<VisitedLinkStore>&&);
     412    WEBCORE_EXPORT void setVisitedLinkStore(Ref<VisitedLinkStore>&&);
    413413
    414414    WEBCORE_EXPORT SessionID sessionID() const;
  • trunk/Source/WebCore/page/PageOverlay.h

    r176459 r177739  
    7070    };
    7171
    72     static PassRefPtr<PageOverlay> create(Client&, OverlayType = OverlayType::View);
     72    WEBCORE_EXPORT static PassRefPtr<PageOverlay> create(Client&, OverlayType = OverlayType::View);
    7373    virtual ~PageOverlay();
    7474
    75     PageOverlayController* controller() const;
     75    WEBCORE_EXPORT PageOverlayController* controller() const;
    7676
    7777    typedef uint64_t PageOverlayID;
     
    7979
    8080    void setPage(Page*);
    81     void setNeedsDisplay(const IntRect& dirtyRect);
    82     void setNeedsDisplay();
     81    WEBCORE_EXPORT void setNeedsDisplay(const IntRect& dirtyRect);
     82    WEBCORE_EXPORT void setNeedsDisplay();
    8383
    8484    void drawRect(GraphicsContext&, const IntRect& dirtyRect);
     
    9292    void startFadeInAnimation();
    9393    void startFadeOutAnimation();
    94     void stopFadeOutAnimation();
     94    WEBCORE_EXPORT void stopFadeOutAnimation();
    9595
    96     void clear();
     96    WEBCORE_EXPORT void clear();
    9797
    9898    Client& client() const { return m_client; }
     
    102102    OverlayType overlayType() { return m_overlayType; }
    103103
    104     IntRect bounds() const;
     104    WEBCORE_EXPORT IntRect bounds() const;
    105105    IntRect frame() const;
    106106    void setFrame(IntRect);
     
    110110
    111111    // FIXME: PageOverlay should own its layer, instead of PageOverlayController.
    112     GraphicsLayer& layer();
     112    WEBCORE_EXPORT GraphicsLayer& layer();
    113113
    114114private:
  • trunk/Source/WebCore/page/PageOverlayController.h

    r175597 r177739  
    4747    virtual ~PageOverlayController();
    4848
    49     GraphicsLayer& documentOverlayRootLayer();
    50     GraphicsLayer& viewOverlayRootLayer();
     49    WEBCORE_EXPORT GraphicsLayer& documentOverlayRootLayer();
     50    WEBCORE_EXPORT GraphicsLayer& viewOverlayRootLayer();
    5151
    5252    const Vector<RefPtr<PageOverlay>>& pageOverlays() const { return m_pageOverlays; }
    5353
    54     void installPageOverlay(PassRefPtr<PageOverlay>, PageOverlay::FadeMode);
    55     void uninstallPageOverlay(PageOverlay*, PageOverlay::FadeMode);
     54    WEBCORE_EXPORT void installPageOverlay(PassRefPtr<PageOverlay>, PageOverlay::FadeMode);
     55    WEBCORE_EXPORT void uninstallPageOverlay(PageOverlay*, PageOverlay::FadeMode);
    5656
    5757    void setPageOverlayNeedsDisplay(PageOverlay&, const IntRect&);
     
    7676    bool handleMouseEvent(const PlatformMouseEvent&);
    7777
    78     bool copyAccessibilityAttributeStringValueForPoint(String attribute, FloatPoint, String& value);
    79     bool copyAccessibilityAttributeBoolValueForPoint(String attribute, FloatPoint, bool& value);
    80     Vector<String> copyAccessibilityAttributesNames(bool parameterizedNames);
     78    WEBCORE_EXPORT bool copyAccessibilityAttributeStringValueForPoint(String attribute, FloatPoint, String& value);
     79    WEBCORE_EXPORT bool copyAccessibilityAttributeBoolValueForPoint(String attribute, FloatPoint, bool& value);
     80    WEBCORE_EXPORT Vector<String> copyAccessibilityAttributesNames(bool parameterizedNames);
    8181
    8282private:
  • trunk/Source/WebCore/page/TextIndicator.h

    r177656 r177739  
    6565class TextIndicator : public RefCounted<TextIndicator> {
    6666public:
    67     static PassRefPtr<TextIndicator> create(const TextIndicatorData&);
    68     static PassRefPtr<TextIndicator> createWithSelectionInFrame(Frame&, TextIndicatorPresentationTransition);
    69     static PassRefPtr<TextIndicator> createWithRange(const Range&, TextIndicatorPresentationTransition);
     67    WEBCORE_EXPORT static PassRefPtr<TextIndicator> create(const TextIndicatorData&);
     68    WEBCORE_EXPORT static PassRefPtr<TextIndicator> createWithSelectionInFrame(Frame&, TextIndicatorPresentationTransition);
     69    WEBCORE_EXPORT static PassRefPtr<TextIndicator> createWithRange(const Range&, TextIndicatorPresentationTransition);
    7070
    71     ~TextIndicator();
     71    WEBCORE_EXPORT ~TextIndicator();
    7272
    7373    FloatRect selectionRectInWindowCoordinates() const { return m_data.selectionRectInWindowCoordinates; }
  • trunk/Source/WebCore/page/UserContentController.h

    r172849 r177739  
    5757
    5858    WEBCORE_EXPORT void addUserScript(DOMWrapperWorld&, std::unique_ptr<UserScript>);
    59     void removeUserScript(DOMWrapperWorld&, const URL&);
     59    WEBCORE_EXPORT void removeUserScript(DOMWrapperWorld&, const URL&);
    6060    WEBCORE_EXPORT void removeUserScripts(DOMWrapperWorld&);
    6161
     
    6363
    6464    WEBCORE_EXPORT void addUserStyleSheet(DOMWrapperWorld&, std::unique_ptr<UserStyleSheet>, UserStyleInjectionTime);
    65     void removeUserStyleSheet(DOMWrapperWorld&, const URL&);
     65    WEBCORE_EXPORT void removeUserStyleSheet(DOMWrapperWorld&, const URL&);
    6666    WEBCORE_EXPORT void removeUserStyleSheets(DOMWrapperWorld&);
    6767
    68     void removeAllUserContent();
     68    WEBCORE_EXPORT void removeAllUserContent();
    6969
    7070#if ENABLE(USER_MESSAGE_HANDLERS)
  • trunk/Source/WebCore/page/WheelEventDeltaTracker.h

    r175149 r177739  
    4646public:
    4747    WEBCORE_EXPORT WheelEventDeltaTracker();
    48     ~WheelEventDeltaTracker();
     48    WEBCORE_EXPORT ~WheelEventDeltaTracker();
    4949
    5050    WEBCORE_EXPORT void beginTrackingDeltas();
  • trunk/Source/WebCore/page/mac/TextIndicatorWindow.h

    r177427 r177739  
    4545
    4646public:
    47     explicit TextIndicatorWindow(NSView *);
    48     ~TextIndicatorWindow();
     47    WEBCORE_EXPORT explicit TextIndicatorWindow(NSView *);
     48    WEBCORE_EXPORT ~TextIndicatorWindow();
    4949
    50     void setTextIndicator(PassRefPtr<TextIndicator>, CGRect contentRect, bool fadeOut);
     50    WEBCORE_EXPORT void setTextIndicator(PassRefPtr<TextIndicator>, CGRect contentRect, bool fadeOut);
    5151
    52     void setAnimationProgress(float);
     52    WEBCORE_EXPORT void setAnimationProgress(float);
    5353
    5454private:
  • trunk/Source/WebCore/platform/DatabaseStrategy.h

    r172814 r177739  
    3535class IDBFactoryBackendInterface;
    3636
    37 class DatabaseStrategy {
     37class WEBCORE_EXPORT DatabaseStrategy {
    3838public:
    3939#if ENABLE(SQL_DATABASE)
  • trunk/Source/WebCore/platform/ScrollableArea.h

    r173320 r177739  
    263263    void resetScrollOriginChanged() { m_scrollOriginChanged = false; }
    264264
    265     virtual float adjustScrollStepForFixedContent(float step, ScrollbarOrientation, ScrollGranularity);
     265    WEBCORE_EXPORT virtual float adjustScrollStepForFixedContent(float step, ScrollbarOrientation, ScrollGranularity);
    266266    virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0;
    267267    virtual void invalidateScrollCornerRect(const IntRect&) = 0;
  • trunk/Source/WebCore/platform/SuddenTermination.h

    r164358 r177739  
    3434    // is not valid until enableSuddenTermination() has been called an equal number of times.
    3535    // On Mac, these are thin wrappers around Mac OS X functions of the same name.
    36     void disableSuddenTermination();
    37     void enableSuddenTermination();
     36    WEBCORE_EXPORT void disableSuddenTermination();
     37    WEBCORE_EXPORT void enableSuddenTermination();
    3838
    3939#if !PLATFORM(MAC)
  • trunk/Source/WebCore/platform/URL.h

    r175792 r177739  
    236236// This is especially important because valid javascript URLs are not necessarily considered valid by URL.
    237237
    238 bool protocolIs(const String& url, const char* protocol);
     238WEBCORE_EXPORT bool protocolIs(const String& url, const char* protocol);
    239239WEBCORE_EXPORT bool protocolIsJavaScript(const String& url);
    240 bool protocolIsInHTTPFamily(const String& url);
     240WEBCORE_EXPORT bool protocolIsInHTTPFamily(const String& url);
    241241
    242242bool isDefaultPortForProtocol(unsigned short port, const String& protocol);
  • trunk/Source/WebCore/platform/animation/Animation.h

    r177733 r177739  
    3737class Animation : public RefCounted<Animation> {
    3838public:
    39     ~Animation();
     39    WEBCORE_EXPORT ~Animation();
    4040
    4141    static Ref<Animation> create() { return adoptRef(*new Animation); }
     
    148148
    149149private:
    150     Animation();
     150    WEBCORE_EXPORT Animation();
    151151    Animation(const Animation& o);
    152152   
  • trunk/Source/WebCore/platform/cocoa/MachSendRight.h

    r177543 r177739  
    3333class MachSendRight {
    3434public:
    35     static MachSendRight adopt(mach_port_t);
    36     static MachSendRight create(mach_port_t);
     35    WEBCORE_EXPORT static MachSendRight adopt(mach_port_t);
     36    WEBCORE_EXPORT static MachSendRight create(mach_port_t);
    3737
    3838    MachSendRight()
     
    4242
    4343    MachSendRight(MachSendRight&&);
    44     ~MachSendRight();
     44    WEBCORE_EXPORT ~MachSendRight();
    4545
    46     MachSendRight& operator=(MachSendRight&&);
     46    WEBCORE_EXPORT MachSendRight& operator=(MachSendRight&&);
    4747
    4848    mach_port_t sendRight() const { return m_port; }
    4949
    50     MachSendRight copySendRight() const;
    51     mach_port_t leakSendRight() WARN_UNUSED_RETURN;
     50    WEBCORE_EXPORT MachSendRight copySendRight() const;
     51    WEBCORE_EXPORT mach_port_t leakSendRight() WARN_UNUSED_RETURN;
    5252
    5353private:
  • trunk/Source/WebCore/platform/graphics/FloatRoundedRect.h

    r175794 r177739  
    8484    };
    8585
    86     explicit FloatRoundedRect(const FloatRect& = FloatRect(), const Radii& = Radii());
     86    WEBCORE_EXPORT explicit FloatRoundedRect(const FloatRect& = FloatRect(), const Radii& = Radii());
    8787    explicit FloatRoundedRect(const RoundedRect&);
    8888    FloatRoundedRect(float x, float y, float width, float height);
  • trunk/Source/WebCore/platform/graphics/GraphicsContext.h

    r177259 r177739  
    330330            Image::TileRule, Image::TileRule, const ImagePaintingOptions& = ImagePaintingOptions());
    331331
    332         void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatPoint& destination, const ImagePaintingOptions& = ImagePaintingOptions());
     332        WEBCORE_EXPORT void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatPoint& destination, const ImagePaintingOptions& = ImagePaintingOptions());
    333333        void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatRect& destination, const ImagePaintingOptions& = ImagePaintingOptions());
    334334        void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatRect& destination, const FloatRect& source, const ImagePaintingOptions& = ImagePaintingOptions());
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.h

    r176173 r177739  
    184184   
    185185    // Insert, sorted by keyTime.
    186     void insert(std::unique_ptr<const AnimationValue>);
     186    WEBCORE_EXPORT void insert(std::unique_ptr<const AnimationValue>);
    187187   
    188188protected:
     
    463463    // Return a string with a human readable form of the layer tree, If debug is true
    464464    // pointers for the layers and timing data will be included in the returned string.
    465     String layerTreeAsText(LayerTreeAsTextBehavior = LayerTreeAsTextBehaviorNormal) const;
     465    WEBCORE_EXPORT String layerTreeAsText(LayerTreeAsTextBehavior = LayerTreeAsTextBehaviorNormal) const;
    466466
    467467    // Return an estimate of the backing store memory cost (in bytes). May be incorrect for tiled layers.
  • trunk/Source/WebCore/platform/graphics/Path.h

    r172862 r177739  
    131131
    132132        WEBCORE_EXPORT void addRoundedRect(const FloatRect&, const FloatSize& roundingRadii, RoundedRectStrategy = PreferNativeRoundedRect);
    133         void addRoundedRect(const FloatRoundedRect&, RoundedRectStrategy = PreferNativeRoundedRect);
     133        WEBCORE_EXPORT void addRoundedRect(const FloatRoundedRect&, RoundedRectStrategy = PreferNativeRoundedRect);
    134134        void addRoundedRect(const RoundedRect&);
    135135
  • trunk/Source/WebCore/platform/graphics/TextRun.h

    r174269 r177739  
    213213
    214214private:
    215     static bool s_allowsRoundingHacks;
     215    WEBCORE_EXPORT static bool s_allowsRoundingHacks;
    216216   
    217217    RefPtr<RenderingContext> m_renderingContext;
  • trunk/Source/WebCore/platform/graphics/ca/TileController.h

    r176459 r177739  
    5454    friend class TileGrid;
    5555public:
    56     explicit TileController(PlatformCALayer*);
     56    WEBCORE_EXPORT explicit TileController(PlatformCALayer*);
    5757    ~TileController();
    5858
  • trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h

    r177543 r177739  
    4747    static IntSize maximumSize();
    4848
    49     MachSendRight createSendRight() const;
     49    WEBCORE_EXPORT MachSendRight createSendRight() const;
    5050
    5151    // Any images created from a surface need to be released before releasing
  • trunk/Source/WebCore/platform/graphics/mac/ColorMac.h

    r172849 r177739  
    4040#if USE(APPKIT)
    4141    // These functions assume NSColors are in DeviceRGB colorspace
    42     Color colorFromNSColor(NSColor *);
     42    WEBCORE_EXPORT Color colorFromNSColor(NSColor *);
    4343    WEBCORE_EXPORT NSColor *nsColor(const Color&);
    4444#endif
  • trunk/Source/WebCore/platform/mac/SoftLinking.h

    r176924 r177739  
    127127    } \
    128128    \
    129     resultType functionName parameterDeclarations \
     129    __attribute__((visibility("hidden"))) resultType functionName parameterDeclarations \
    130130    { \
    131131        ASSERT(softLink##functionName); \
  • trunk/Source/WebCore/platform/mac/WebCoreNSStringExtras.h

    r173176 r177739  
    4949#endif
    5050
    51 NSString *preferredBundleLocalizationName();
     51WEBCORE_EXPORT NSString *preferredBundleLocalizationName();
    5252NSString *canonicalLocaleName(NSString *);
    5353
  • trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm

    r176164 r177739  
    2525
    2626#import "config.h"
     27#pragma GCC visibility push(default)
    2728#import "WebCoreSystemInterface.h"
     29#pragma GCC visibility pop
     30
    2831#import <Foundation/Foundation.h>
    2932
  • trunk/Source/WebCore/platform/mock/mediasource/MockMediaPlayerMediaSource.h

    r173318 r177739  
    4040public:
    4141    // MediaPlayer Engine Support
    42     static void registerMediaEngine(MediaEngineRegistrar);
     42    WEBCORE_EXPORT static void registerMediaEngine(MediaEngineRegistrar);
    4343    static PassOwnPtr<MediaPlayerPrivateInterface> create(MediaPlayer*);
    4444    static void getSupportedTypes(HashSet<String>& types);
  • trunk/Source/WebCore/platform/network/BlobRegistry.h

    r172849 r177739  
    4545
    4646// BlobRegistry is not thread-safe. It should only be called from main thread.
    47 class BlobRegistry {
     47class WEBCORE_EXPORT BlobRegistry {
    4848public:
    4949
  • trunk/Source/WebCore/platform/network/ResourceRequestBase.h

    r172849 r177739  
    125125        void setAllowCookies(bool allowCookies);
    126126
    127         ResourceLoadPriority priority() const;
    128         void setPriority(ResourceLoadPriority);
     127        WEBCORE_EXPORT ResourceLoadPriority priority() const;
     128        WEBCORE_EXPORT void setPriority(ResourceLoadPriority);
    129129
    130130        bool isConditional() const;
  • trunk/Source/WebCore/platform/network/ResourceResponseBase.h

    r177294 r177739  
    9494    WEBCORE_EXPORT String suggestedFilename() const;
    9595
    96     void includeCertificateInfo() const;
     96    WEBCORE_EXPORT void includeCertificateInfo() const;
    9797    bool containsCertificateInfo() const { return m_includesCertificateInfo; }
    98     CertificateInfo certificateInfo() const;
     98    WEBCORE_EXPORT CertificateInfo certificateInfo() const;
    9999   
    100100    // These functions return parsed values of the corresponding response headers.
     
    117117
    118118    enum class Source { Unknown, Network, DiskCache, DiskCacheAfterValidation };
    119     Source source() const;
    120     void setSource(Source);
     119    WEBCORE_EXPORT Source source() const;
     120    WEBCORE_EXPORT void setSource(Source);
    121121
    122122    ResourceLoadTiming& resourceLoadTiming() const { return m_resourceLoadTiming; }
     
    144144    ResourceResponseBase(const URL&, const String& mimeType, long long expectedLength, const String& textEncodingName);
    145145
    146     void lazyInit(InitLevel) const;
     146    WEBCORE_EXPORT void lazyInit(InitLevel) const;
    147147
    148148    // The ResourceResponse subclass should shadow these functions to lazily initialize platform specific fields
  • trunk/Source/WebCore/rendering/HitTestResult.h

    r176999 r177739  
    5050    typedef ListHashSet<RefPtr<Node>> NodeSet;
    5151
    52     HitTestResult();
     52    WEBCORE_EXPORT HitTestResult();
    5353    WEBCORE_EXPORT explicit HitTestResult(const LayoutPoint&);
    5454    // Pass non-negative padding values to perform a rect-based hit test.
     
    5757    WEBCORE_EXPORT HitTestResult(const HitTestResult&);
    5858    WEBCORE_EXPORT ~HitTestResult();
    59     HitTestResult& operator=(const HitTestResult&);
     59    WEBCORE_EXPORT HitTestResult& operator=(const HitTestResult&);
    6060
    6161    Node* innerNode() const { return m_innerNode.get(); }
     
    125125    bool mediaMuted() const;
    126126    void toggleMediaMuteState() const;
    127     bool isDownloadableMedia() const;
    128     bool isOverTextInsideFormControlElement() const;
    129     bool allowsCopy() const;
     127    WEBCORE_EXPORT bool isDownloadableMedia() const;
     128    WEBCORE_EXPORT bool isOverTextInsideFormControlElement() const;
     129    WEBCORE_EXPORT bool allowsCopy() const;
    130130
    131131    // Returns true if it is rect-based hit test and needs to continue until the rect is fully
  • trunk/Source/WebCore/rendering/RenderInline.h

    r177259 r177739  
    6060    }
    6161
    62     IntRect linesBoundingBox() const;
     62    WEBCORE_EXPORT IntRect linesBoundingBox() const;
    6363    LayoutRect linesVisualOverflowBoundingBox() const;
    6464    LayoutRect linesVisualOverflowBoundingBoxInRegion(const RenderRegion*) const;
  • trunk/Source/WebCore/rendering/RenderLayerBacking.h

    r175818 r177739  
    238238
    239239    // Return an estimate of the backing store area (in pixels) allocated by this object's GraphicsLayers.
    240     double backingStoreMemoryEstimate() const;
     240    WEBCORE_EXPORT double backingStoreMemoryEstimate() const;
    241241
    242242    LayoutSize devicePixelFractionFromRenderer() const { return m_devicePixelFractionFromRenderer; }
  • trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp

    r177200 r177739  
    8080#if ENABLE(3D_RENDERING)
    8181// This symbol is used to determine from a script whether 3D rendering is enabled (via 'nm').
    82 bool WebCoreHas3DRendering = true;
     82WEBCORE_EXPORT bool WebCoreHas3DRendering = true;
    8383#endif
    8484
  • trunk/Source/WebCore/rendering/RenderView.h

    r177259 r177739  
    225225    void didDestroyRenderer() { --m_rendererCount; }
    226226
    227     WEBCORE_EXPORT void resumePausedImageAnimationsIfNeeded();
     227    void resumePausedImageAnimationsIfNeeded();
    228228    void addRendererWithPausedImageAnimations(RenderElement&);
    229229    void removeRendererWithPausedImageAnimations(RenderElement&);
  • trunk/Source/WebCore/storage/StorageNamespaceImpl.h

    r177153 r177739  
    4040class StorageNamespaceImpl : public StorageNamespace {
    4141public:
    42     static RefPtr<StorageNamespaceImpl> createSessionStorageNamespace(unsigned quota);
    43     static RefPtr<StorageNamespaceImpl> getOrCreateLocalStorageNamespace(const String& databasePath, unsigned quota);
     42    WEBCORE_EXPORT static RefPtr<StorageNamespaceImpl> createSessionStorageNamespace(unsigned quota);
     43    WEBCORE_EXPORT static RefPtr<StorageNamespaceImpl> getOrCreateLocalStorageNamespace(const String& databasePath, unsigned quota);
    4444    virtual ~StorageNamespaceImpl();
    4545
  • trunk/Source/WebCore/storage/StorageNamespaceProvider.h

    r177365 r177739  
    4343class StorageNamespaceProvider : public RefCounted<StorageNamespaceProvider> {
    4444public:
    45     StorageNamespaceProvider();
    46     virtual ~StorageNamespaceProvider();
     45    WEBCORE_EXPORT StorageNamespaceProvider();
     46    WEBCORE_EXPORT virtual ~StorageNamespaceProvider();
    4747
    4848    virtual RefPtr<StorageNamespace> createSessionStorageNamespace(Page&, unsigned quota) = 0;
  • trunk/Source/WebCore/testing/Internals.h

    r177513 r177739  
    266266#endif
    267267
    268     void setApplicationCacheOriginQuota(unsigned long long);
     268    WEBCORE_EXPORT void setApplicationCacheOriginQuota(unsigned long long);
    269269
    270270    void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme);
     
    334334
    335335#if ENABLE(MEDIA_SOURCE)
    336     void initializeMockMediaSource();
     336    WEBCORE_EXPORT void initializeMockMediaSource();
    337337    Vector<String> bufferedSamplesForTrackID(SourceBuffer*, const AtomicString&);
    338338#endif
Note: See TracChangeset for help on using the changeset viewer.