Changeset 177739 in webkit
- Timestamp:
- Dec 25, 2014, 1:25:15 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 55 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r177738 r177739 1 2014-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 1 69 2014-12-25 Chris Dumez <cdumez@apple.com> 2 70 -
trunk/Source/WebCore/Modules/mediasource/SourceBuffer.h
r177259 r177739 186 186 // Internals 187 187 friend class Internals; 188 Vector<String> bufferedSamplesForTrackID(const AtomicString&);188 WEBCORE_EXPORT Vector<String> bufferedSamplesForTrackID(const AtomicString&); 189 189 190 190 Ref<SourceBufferPrivate> m_private; -
trunk/Source/WebCore/bindings/js/JSDOMBinding.h
r176964 r177739 76 76 WEBCORE_EXPORT void throwSetterTypeError(JSC::ExecState&, const char* interfaceName, const char* attributeName); 77 77 78 JSC::EncodedJSValue throwArgumentMustBeEnumError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName, const char* expectedValues);78 WEBCORE_EXPORT JSC::EncodedJSValue throwArgumentMustBeEnumError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName, const char* expectedValues); 79 79 JSC::EncodedJSValue throwArgumentMustBeFunctionError(JSC::ExecState&, unsigned argumentIndex, const char* argumentName, const char* functionInterfaceName, const char* functionName); 80 80 JSC::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 35 35 #include "IdentifierRep.h" 36 36 #include "JSDOMBinding.h" 37 #include "npruntime_impl.h"38 37 #include "npruntime_priv.h" 39 38 #include "runtime_root.h" … … 46 45 #include <wtf/NeverDestroyed.h> 47 46 #include <wtf/text/WTFString.h> 47 48 #pragma GCC visibility push(default) 49 #include "npruntime_impl.h" 50 #pragma GCC visibility pop 48 51 49 52 using namespace JSC; -
trunk/Source/WebCore/bridge/npruntime.cpp
r165676 r177739 30 30 #include "IdentifierRep.h" 31 31 #include "npruntime_internal.h" 32 #include "npruntime_impl.h"33 32 #include "npruntime_priv.h" 34 33 … … 38 37 #include <wtf/Assertions.h> 39 38 #include <wtf/HashMap.h> 39 40 #pragma GCC visibility push(default) 41 #include "npruntime_impl.h" 42 #pragma GCC visibility pop 40 43 41 44 using namespace JSC::Bindings; -
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.h
r177259 r177739 92 92 virtual ~CSSComputedStyleDeclaration(); 93 93 94 virtual void ref() override;95 virtual void deref() override;94 WEBCORE_EXPORT virtual void ref() override; 95 WEBCORE_EXPORT virtual void deref() override; 96 96 97 97 String getPropertyValue(CSSPropertyID) const; -
trunk/Source/WebCore/dom/ContainerNode.h
r177301 r177739 76 76 private: 77 77 #ifndef NDEBUG 78 static unsigned s_count;78 WEBCORE_EXPORT static unsigned s_count; 79 79 #endif 80 80 }; -
trunk/Source/WebCore/dom/Document.h
r177559 r177739 1257 1257 virtual void addConsoleMessage(MessageSource, MessageLevel, const String& message, unsigned long requestIdentifier = 0) override final; 1258 1258 1259 virtual SecurityOrigin* topOrigin() const override final;1259 WEBCORE_EXPORT virtual SecurityOrigin* topOrigin() const override final; 1260 1260 1261 1261 #if ENABLE(FONT_LOAD_EVENTS) … … 1276 1276 void updateViewportUnitsOnResize(); 1277 1277 1278 void addAudioProducer(AudioProducer*);1279 void removeAudioProducer(AudioProducer*);1278 WEBCORE_EXPORT void addAudioProducer(AudioProducer*); 1279 WEBCORE_EXPORT void removeAudioProducer(AudioProducer*); 1280 1280 bool isPlayingAudio() const { return m_isPlayingAudio; } 1281 void updateIsPlayingAudio();1281 WEBCORE_EXPORT void updateIsPlayingAudio(); 1282 1282 void pageMutedStateDidChange(); 1283 1283 -
trunk/Source/WebCore/dom/MouseEvent.h
r177264 r177739 54 54 } 55 55 56 WEBCORE_EXPORTstatic 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>, 57 57 int detail, int screenX, int screenY, int pageX, int pageY, 58 58 #if ENABLE(POINTER_LOCK) -
trunk/Source/WebCore/dom/Range.h
r177513 r177739 184 184 }; 185 185 186 Ref<Range> rangeOfContents(Node&);186 WEBCORE_EXPORT Ref<Range> rangeOfContents(Node&); 187 187 188 188 WEBCORE_EXPORT bool areRangesEqual(const Range*, const Range*); -
trunk/Source/WebCore/dom/SecurityContext.h
r177661 r177739 74 74 void setSecurityOriginPolicy(RefPtr<SecurityOriginPolicy>&&); 75 75 76 SecurityOrigin* securityOrigin() const;76 WEBCORE_EXPORT SecurityOrigin* securityOrigin() const; 77 77 78 78 static SandboxFlags parseSandboxPolicy(const String& policy, String& invalidTokensErrorMessage); -
trunk/Source/WebCore/editing/Editor.h
r176459 r177739 102 102 103 103 WEBCORE_EXPORT EditorClient* client() const; 104 TextCheckerClient* textChecker() const;104 WEBCORE_EXPORT TextCheckerClient* textChecker() const; 105 105 106 106 CompositeEditCommand* lastEditCommand() { return m_lastEditCommand.get(); } … … 136 136 void copyURL(const URL&, const String& title, Pasteboard&); 137 137 #if !PLATFORM(IOS) 138 void copyImage(const HitTestResult&);138 WEBCORE_EXPORT void copyImage(const HitTestResult&); 139 139 #endif 140 140 -
trunk/Source/WebCore/editing/mac/DictionaryLookup.h
r176137 r177739 46 46 47 47 PassRefPtr<Range> rangeExpandedAroundPositionByCharacters(const VisiblePosition&, int numberOfCharactersToExpand); 48 PassRefPtr<Range> rangeForDictionaryLookupForSelection(const VisibleSelection&, NSDictionary **options);49 PassRefPtr<Range> rangeForDictionaryLookupAtHitTestResult(const HitTestResult&, NSDictionary **options);48 WEBCORE_EXPORT PassRefPtr<Range> rangeForDictionaryLookupForSelection(const VisibleSelection&, NSDictionary **options); 49 WEBCORE_EXPORT PassRefPtr<Range> rangeForDictionaryLookupAtHitTestResult(const HitTestResult&, NSDictionary **options); 50 50 51 51 } // namespace WebCore -
trunk/Source/WebCore/loader/FrameLoaderClient.h
r176772 r177739 105 105 typedef std::function<void (PolicyAction)> FramePolicyFunction; 106 106 107 class FrameLoaderClient {107 class WEBCORE_EXPORT FrameLoaderClient { 108 108 public: 109 109 // An inline function cannot be the first non-abstract virtual function declared -
trunk/Source/WebCore/loader/LoaderStrategy.h
r172862 r177739 39 39 class ResourceResponse; 40 40 41 class LoaderStrategy {41 class WEBCORE_EXPORT LoaderStrategy { 42 42 public: 43 43 WEBCORE_EXPORT virtual ResourceLoadScheduler* resourceLoadScheduler(); -
trunk/Source/WebCore/loader/icon/IconDatabaseBase.h
r177733 r177739 156 156 typedef ObjectCallback<SharedBuffer*> IconDataCallback; 157 157 158 class IconDatabaseBase {158 class WEBCORE_EXPORT IconDatabaseBase { 159 159 WTF_MAKE_NONCOPYABLE(IconDatabaseBase); 160 160 -
trunk/Source/WebCore/page/ChromeClient.h
r177396 r177739 94 94 struct WindowFeatures; 95 95 96 class ChromeClient {96 class WEBCORE_EXPORT ChromeClient { 97 97 public: 98 98 virtual void chromeDestroyed() = 0; -
trunk/Source/WebCore/page/EventHandler.h
r176904 r177739 145 145 bool panScrollInProgress() const; 146 146 147 void dispatchFakeMouseMoveEventSoon();147 WEBCORE_EXPORT void dispatchFakeMouseMoveEventSoon(); 148 148 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); 149 149 -
trunk/Source/WebCore/page/FrameSnapshotting.h
r160152 r177739 51 51 std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone); 52 52 std::unique_ptr<ImageBuffer> snapshotNode(Frame&, Node&); 53 std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);53 WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone); 54 54 55 55 } // namespace WebCore -
trunk/Source/WebCore/page/Page.h
r177513 r177739 407 407 408 408 UserContentController* userContentController() { return m_userContentController.get(); } 409 void setUserContentController(UserContentController*);409 WEBCORE_EXPORT void setUserContentController(UserContentController*); 410 410 411 411 VisitedLinkStore& visitedLinkStore(); 412 void setVisitedLinkStore(Ref<VisitedLinkStore>&&);412 WEBCORE_EXPORT void setVisitedLinkStore(Ref<VisitedLinkStore>&&); 413 413 414 414 WEBCORE_EXPORT SessionID sessionID() const; -
trunk/Source/WebCore/page/PageOverlay.h
r176459 r177739 70 70 }; 71 71 72 static PassRefPtr<PageOverlay> create(Client&, OverlayType = OverlayType::View);72 WEBCORE_EXPORT static PassRefPtr<PageOverlay> create(Client&, OverlayType = OverlayType::View); 73 73 virtual ~PageOverlay(); 74 74 75 PageOverlayController* controller() const;75 WEBCORE_EXPORT PageOverlayController* controller() const; 76 76 77 77 typedef uint64_t PageOverlayID; … … 79 79 80 80 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(); 83 83 84 84 void drawRect(GraphicsContext&, const IntRect& dirtyRect); … … 92 92 void startFadeInAnimation(); 93 93 void startFadeOutAnimation(); 94 void stopFadeOutAnimation();94 WEBCORE_EXPORT void stopFadeOutAnimation(); 95 95 96 void clear();96 WEBCORE_EXPORT void clear(); 97 97 98 98 Client& client() const { return m_client; } … … 102 102 OverlayType overlayType() { return m_overlayType; } 103 103 104 IntRect bounds() const;104 WEBCORE_EXPORT IntRect bounds() const; 105 105 IntRect frame() const; 106 106 void setFrame(IntRect); … … 110 110 111 111 // FIXME: PageOverlay should own its layer, instead of PageOverlayController. 112 GraphicsLayer& layer();112 WEBCORE_EXPORT GraphicsLayer& layer(); 113 113 114 114 private: -
trunk/Source/WebCore/page/PageOverlayController.h
r175597 r177739 47 47 virtual ~PageOverlayController(); 48 48 49 GraphicsLayer& documentOverlayRootLayer();50 GraphicsLayer& viewOverlayRootLayer();49 WEBCORE_EXPORT GraphicsLayer& documentOverlayRootLayer(); 50 WEBCORE_EXPORT GraphicsLayer& viewOverlayRootLayer(); 51 51 52 52 const Vector<RefPtr<PageOverlay>>& pageOverlays() const { return m_pageOverlays; } 53 53 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); 56 56 57 57 void setPageOverlayNeedsDisplay(PageOverlay&, const IntRect&); … … 76 76 bool handleMouseEvent(const PlatformMouseEvent&); 77 77 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); 81 81 82 82 private: -
trunk/Source/WebCore/page/TextIndicator.h
r177656 r177739 65 65 class TextIndicator : public RefCounted<TextIndicator> { 66 66 public: 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); 70 70 71 ~TextIndicator();71 WEBCORE_EXPORT ~TextIndicator(); 72 72 73 73 FloatRect selectionRectInWindowCoordinates() const { return m_data.selectionRectInWindowCoordinates; } -
trunk/Source/WebCore/page/UserContentController.h
r172849 r177739 57 57 58 58 WEBCORE_EXPORT void addUserScript(DOMWrapperWorld&, std::unique_ptr<UserScript>); 59 void removeUserScript(DOMWrapperWorld&, const URL&);59 WEBCORE_EXPORT void removeUserScript(DOMWrapperWorld&, const URL&); 60 60 WEBCORE_EXPORT void removeUserScripts(DOMWrapperWorld&); 61 61 … … 63 63 64 64 WEBCORE_EXPORT void addUserStyleSheet(DOMWrapperWorld&, std::unique_ptr<UserStyleSheet>, UserStyleInjectionTime); 65 void removeUserStyleSheet(DOMWrapperWorld&, const URL&);65 WEBCORE_EXPORT void removeUserStyleSheet(DOMWrapperWorld&, const URL&); 66 66 WEBCORE_EXPORT void removeUserStyleSheets(DOMWrapperWorld&); 67 67 68 void removeAllUserContent();68 WEBCORE_EXPORT void removeAllUserContent(); 69 69 70 70 #if ENABLE(USER_MESSAGE_HANDLERS) -
trunk/Source/WebCore/page/WheelEventDeltaTracker.h
r175149 r177739 46 46 public: 47 47 WEBCORE_EXPORT WheelEventDeltaTracker(); 48 ~WheelEventDeltaTracker();48 WEBCORE_EXPORT ~WheelEventDeltaTracker(); 49 49 50 50 WEBCORE_EXPORT void beginTrackingDeltas(); -
trunk/Source/WebCore/page/mac/TextIndicatorWindow.h
r177427 r177739 45 45 46 46 public: 47 explicit TextIndicatorWindow(NSView *);48 ~TextIndicatorWindow();47 WEBCORE_EXPORT explicit TextIndicatorWindow(NSView *); 48 WEBCORE_EXPORT ~TextIndicatorWindow(); 49 49 50 void setTextIndicator(PassRefPtr<TextIndicator>, CGRect contentRect, bool fadeOut);50 WEBCORE_EXPORT void setTextIndicator(PassRefPtr<TextIndicator>, CGRect contentRect, bool fadeOut); 51 51 52 void setAnimationProgress(float);52 WEBCORE_EXPORT void setAnimationProgress(float); 53 53 54 54 private: -
trunk/Source/WebCore/platform/DatabaseStrategy.h
r172814 r177739 35 35 class IDBFactoryBackendInterface; 36 36 37 class DatabaseStrategy {37 class WEBCORE_EXPORT DatabaseStrategy { 38 38 public: 39 39 #if ENABLE(SQL_DATABASE) -
trunk/Source/WebCore/platform/ScrollableArea.h
r173320 r177739 263 263 void resetScrollOriginChanged() { m_scrollOriginChanged = false; } 264 264 265 virtual float adjustScrollStepForFixedContent(float step, ScrollbarOrientation, ScrollGranularity);265 WEBCORE_EXPORT virtual float adjustScrollStepForFixedContent(float step, ScrollbarOrientation, ScrollGranularity); 266 266 virtual void invalidateScrollbarRect(Scrollbar*, const IntRect&) = 0; 267 267 virtual void invalidateScrollCornerRect(const IntRect&) = 0; -
trunk/Source/WebCore/platform/SuddenTermination.h
r164358 r177739 34 34 // is not valid until enableSuddenTermination() has been called an equal number of times. 35 35 // 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(); 38 38 39 39 #if !PLATFORM(MAC) -
trunk/Source/WebCore/platform/URL.h
r175792 r177739 236 236 // This is especially important because valid javascript URLs are not necessarily considered valid by URL. 237 237 238 bool protocolIs(const String& url, const char* protocol);238 WEBCORE_EXPORT bool protocolIs(const String& url, const char* protocol); 239 239 WEBCORE_EXPORT bool protocolIsJavaScript(const String& url); 240 bool protocolIsInHTTPFamily(const String& url);240 WEBCORE_EXPORT bool protocolIsInHTTPFamily(const String& url); 241 241 242 242 bool isDefaultPortForProtocol(unsigned short port, const String& protocol); -
trunk/Source/WebCore/platform/animation/Animation.h
r177733 r177739 37 37 class Animation : public RefCounted<Animation> { 38 38 public: 39 ~Animation();39 WEBCORE_EXPORT ~Animation(); 40 40 41 41 static Ref<Animation> create() { return adoptRef(*new Animation); } … … 148 148 149 149 private: 150 Animation();150 WEBCORE_EXPORT Animation(); 151 151 Animation(const Animation& o); 152 152 -
trunk/Source/WebCore/platform/cocoa/MachSendRight.h
r177543 r177739 33 33 class MachSendRight { 34 34 public: 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); 37 37 38 38 MachSendRight() … … 42 42 43 43 MachSendRight(MachSendRight&&); 44 ~MachSendRight();44 WEBCORE_EXPORT ~MachSendRight(); 45 45 46 MachSendRight& operator=(MachSendRight&&);46 WEBCORE_EXPORT MachSendRight& operator=(MachSendRight&&); 47 47 48 48 mach_port_t sendRight() const { return m_port; } 49 49 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; 52 52 53 53 private: -
trunk/Source/WebCore/platform/graphics/FloatRoundedRect.h
r175794 r177739 84 84 }; 85 85 86 explicit FloatRoundedRect(const FloatRect& = FloatRect(), const Radii& = Radii());86 WEBCORE_EXPORT explicit FloatRoundedRect(const FloatRect& = FloatRect(), const Radii& = Radii()); 87 87 explicit FloatRoundedRect(const RoundedRect&); 88 88 FloatRoundedRect(float x, float y, float width, float height); -
trunk/Source/WebCore/platform/graphics/GraphicsContext.h
r177259 r177739 330 330 Image::TileRule, Image::TileRule, const ImagePaintingOptions& = ImagePaintingOptions()); 331 331 332 void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatPoint& destination, const ImagePaintingOptions& = ImagePaintingOptions());332 WEBCORE_EXPORT void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatPoint& destination, const ImagePaintingOptions& = ImagePaintingOptions()); 333 333 void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatRect& destination, const ImagePaintingOptions& = ImagePaintingOptions()); 334 334 void drawImageBuffer(ImageBuffer*, ColorSpace, const FloatRect& destination, const FloatRect& source, const ImagePaintingOptions& = ImagePaintingOptions()); -
trunk/Source/WebCore/platform/graphics/GraphicsLayer.h
r176173 r177739 184 184 185 185 // Insert, sorted by keyTime. 186 void insert(std::unique_ptr<const AnimationValue>);186 WEBCORE_EXPORT void insert(std::unique_ptr<const AnimationValue>); 187 187 188 188 protected: … … 463 463 // Return a string with a human readable form of the layer tree, If debug is true 464 464 // 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; 466 466 467 467 // 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 131 131 132 132 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); 134 134 void addRoundedRect(const RoundedRect&); 135 135 -
trunk/Source/WebCore/platform/graphics/TextRun.h
r174269 r177739 213 213 214 214 private: 215 static bool s_allowsRoundingHacks;215 WEBCORE_EXPORT static bool s_allowsRoundingHacks; 216 216 217 217 RefPtr<RenderingContext> m_renderingContext; -
trunk/Source/WebCore/platform/graphics/ca/TileController.h
r176459 r177739 54 54 friend class TileGrid; 55 55 public: 56 explicit TileController(PlatformCALayer*);56 WEBCORE_EXPORT explicit TileController(PlatformCALayer*); 57 57 ~TileController(); 58 58 -
trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h
r177543 r177739 47 47 static IntSize maximumSize(); 48 48 49 MachSendRight createSendRight() const;49 WEBCORE_EXPORT MachSendRight createSendRight() const; 50 50 51 51 // Any images created from a surface need to be released before releasing -
trunk/Source/WebCore/platform/graphics/mac/ColorMac.h
r172849 r177739 40 40 #if USE(APPKIT) 41 41 // These functions assume NSColors are in DeviceRGB colorspace 42 Color colorFromNSColor(NSColor *);42 WEBCORE_EXPORT Color colorFromNSColor(NSColor *); 43 43 WEBCORE_EXPORT NSColor *nsColor(const Color&); 44 44 #endif -
trunk/Source/WebCore/platform/mac/SoftLinking.h
r176924 r177739 127 127 } \ 128 128 \ 129 resultType functionName parameterDeclarations \129 __attribute__((visibility("hidden"))) resultType functionName parameterDeclarations \ 130 130 { \ 131 131 ASSERT(softLink##functionName); \ -
trunk/Source/WebCore/platform/mac/WebCoreNSStringExtras.h
r173176 r177739 49 49 #endif 50 50 51 NSString *preferredBundleLocalizationName();51 WEBCORE_EXPORT NSString *preferredBundleLocalizationName(); 52 52 NSString *canonicalLocaleName(NSString *); 53 53 -
trunk/Source/WebCore/platform/mac/WebCoreSystemInterface.mm
r176164 r177739 25 25 26 26 #import "config.h" 27 #pragma GCC visibility push(default) 27 28 #import "WebCoreSystemInterface.h" 29 #pragma GCC visibility pop 30 28 31 #import <Foundation/Foundation.h> 29 32 -
trunk/Source/WebCore/platform/mock/mediasource/MockMediaPlayerMediaSource.h
r173318 r177739 40 40 public: 41 41 // MediaPlayer Engine Support 42 static void registerMediaEngine(MediaEngineRegistrar);42 WEBCORE_EXPORT static void registerMediaEngine(MediaEngineRegistrar); 43 43 static PassOwnPtr<MediaPlayerPrivateInterface> create(MediaPlayer*); 44 44 static void getSupportedTypes(HashSet<String>& types); -
trunk/Source/WebCore/platform/network/BlobRegistry.h
r172849 r177739 45 45 46 46 // BlobRegistry is not thread-safe. It should only be called from main thread. 47 class BlobRegistry {47 class WEBCORE_EXPORT BlobRegistry { 48 48 public: 49 49 -
trunk/Source/WebCore/platform/network/ResourceRequestBase.h
r172849 r177739 125 125 void setAllowCookies(bool allowCookies); 126 126 127 ResourceLoadPriority priority() const;128 void setPriority(ResourceLoadPriority);127 WEBCORE_EXPORT ResourceLoadPriority priority() const; 128 WEBCORE_EXPORT void setPriority(ResourceLoadPriority); 129 129 130 130 bool isConditional() const; -
trunk/Source/WebCore/platform/network/ResourceResponseBase.h
r177294 r177739 94 94 WEBCORE_EXPORT String suggestedFilename() const; 95 95 96 void includeCertificateInfo() const;96 WEBCORE_EXPORT void includeCertificateInfo() const; 97 97 bool containsCertificateInfo() const { return m_includesCertificateInfo; } 98 CertificateInfo certificateInfo() const;98 WEBCORE_EXPORT CertificateInfo certificateInfo() const; 99 99 100 100 // These functions return parsed values of the corresponding response headers. … … 117 117 118 118 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); 121 121 122 122 ResourceLoadTiming& resourceLoadTiming() const { return m_resourceLoadTiming; } … … 144 144 ResourceResponseBase(const URL&, const String& mimeType, long long expectedLength, const String& textEncodingName); 145 145 146 void lazyInit(InitLevel) const;146 WEBCORE_EXPORT void lazyInit(InitLevel) const; 147 147 148 148 // The ResourceResponse subclass should shadow these functions to lazily initialize platform specific fields -
trunk/Source/WebCore/rendering/HitTestResult.h
r176999 r177739 50 50 typedef ListHashSet<RefPtr<Node>> NodeSet; 51 51 52 HitTestResult();52 WEBCORE_EXPORT HitTestResult(); 53 53 WEBCORE_EXPORT explicit HitTestResult(const LayoutPoint&); 54 54 // Pass non-negative padding values to perform a rect-based hit test. … … 57 57 WEBCORE_EXPORT HitTestResult(const HitTestResult&); 58 58 WEBCORE_EXPORT ~HitTestResult(); 59 HitTestResult& operator=(const HitTestResult&);59 WEBCORE_EXPORT HitTestResult& operator=(const HitTestResult&); 60 60 61 61 Node* innerNode() const { return m_innerNode.get(); } … … 125 125 bool mediaMuted() const; 126 126 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; 130 130 131 131 // 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 60 60 } 61 61 62 IntRect linesBoundingBox() const;62 WEBCORE_EXPORT IntRect linesBoundingBox() const; 63 63 LayoutRect linesVisualOverflowBoundingBox() const; 64 64 LayoutRect linesVisualOverflowBoundingBoxInRegion(const RenderRegion*) const; -
trunk/Source/WebCore/rendering/RenderLayerBacking.h
r175818 r177739 238 238 239 239 // 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; 241 241 242 242 LayoutSize devicePixelFractionFromRenderer() const { return m_devicePixelFractionFromRenderer; } -
trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp
r177200 r177739 80 80 #if ENABLE(3D_RENDERING) 81 81 // This symbol is used to determine from a script whether 3D rendering is enabled (via 'nm'). 82 bool WebCoreHas3DRendering = true;82 WEBCORE_EXPORT bool WebCoreHas3DRendering = true; 83 83 #endif 84 84 -
trunk/Source/WebCore/rendering/RenderView.h
r177259 r177739 225 225 void didDestroyRenderer() { --m_rendererCount; } 226 226 227 WEBCORE_EXPORTvoid resumePausedImageAnimationsIfNeeded();227 void resumePausedImageAnimationsIfNeeded(); 228 228 void addRendererWithPausedImageAnimations(RenderElement&); 229 229 void removeRendererWithPausedImageAnimations(RenderElement&); -
trunk/Source/WebCore/storage/StorageNamespaceImpl.h
r177153 r177739 40 40 class StorageNamespaceImpl : public StorageNamespace { 41 41 public: 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); 44 44 virtual ~StorageNamespaceImpl(); 45 45 -
trunk/Source/WebCore/storage/StorageNamespaceProvider.h
r177365 r177739 43 43 class StorageNamespaceProvider : public RefCounted<StorageNamespaceProvider> { 44 44 public: 45 StorageNamespaceProvider();46 virtual ~StorageNamespaceProvider();45 WEBCORE_EXPORT StorageNamespaceProvider(); 46 WEBCORE_EXPORT virtual ~StorageNamespaceProvider(); 47 47 48 48 virtual RefPtr<StorageNamespace> createSessionStorageNamespace(Page&, unsigned quota) = 0; -
trunk/Source/WebCore/testing/Internals.h
r177513 r177739 266 266 #endif 267 267 268 void setApplicationCacheOriginQuota(unsigned long long);268 WEBCORE_EXPORT void setApplicationCacheOriginQuota(unsigned long long); 269 269 270 270 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme); … … 334 334 335 335 #if ENABLE(MEDIA_SOURCE) 336 void initializeMockMediaSource();336 WEBCORE_EXPORT void initializeMockMediaSource(); 337 337 Vector<String> bufferedSamplesForTrackID(SourceBuffer*, const AtomicString&); 338 338 #endif
Note:
See TracChangeset
for help on using the changeset viewer.