Changeset 179886 in webkit


Ignore:
Timestamp:
Feb 10, 2015, 3:07:47 PM (11 years ago)
Author:
achristensen@apple.com
Message:

Add more WEBCORE_EXPORT macros for iOS.
https://bugs.webkit.org/show_bug.cgi?id=141430

Reviewed by Tim Horton.

  • bindings/objc/WebScriptObject.h:
  • bindings/scripts/CodeGeneratorObjC.pm:

(GenerateHeader):

  • dom/Event.h:
  • dom/Node.h:
  • editing/FrameSelection.h:
  • html/HTMLFormControlElement.h:
  • html/HTMLMediaSession.h:
  • page/Frame.h:
  • page/FrameView.h:
  • platform/ScrollView.h:
  • platform/ios/PasteboardIOS.mm:
  • platform/ios/wak/WAKAppKitStubs.h:
  • platform/ios/wak/WAKClipView.h:
  • platform/ios/wak/WAKScrollView.h:
  • platform/ios/wak/WAKView.h:
  • platform/ios/wak/WAKWindow.h:
  • platform/ios/wak/WAKWindow.mm:
  • platform/ios/wak/WKContentObservation.h:
  • platform/ios/wak/WKGraphics.h:
  • platform/ios/wak/WebCoreThread.h:
  • platform/ios/wak/WebCoreThread.mm:
  • platform/ios/wak/WebCoreThreadRun.h:
  • platform/ios/wak/WebCoreThreadSystemInterface.h:
  • platform/network/ios/QuickLook.h:
  • platform/text/TextBreakIterator.h:
Location:
trunk/Source/WebCore
Files:
26 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r179883 r179886  
     12015-02-10  Alex Christensen  <achristensen@webkit.org>
     2
     3        Add more WEBCORE_EXPORT macros for iOS.
     4        https://bugs.webkit.org/show_bug.cgi?id=141430
     5
     6        Reviewed by Tim Horton.
     7
     8        * bindings/objc/WebScriptObject.h:
     9        * bindings/scripts/CodeGeneratorObjC.pm:
     10        (GenerateHeader):
     11        * dom/Event.h:
     12        * dom/Node.h:
     13        * editing/FrameSelection.h:
     14        * html/HTMLFormControlElement.h:
     15        * html/HTMLMediaSession.h:
     16        * page/Frame.h:
     17        * page/FrameView.h:
     18        * platform/ScrollView.h:
     19        * platform/ios/PasteboardIOS.mm:
     20        * platform/ios/wak/WAKAppKitStubs.h:
     21        * platform/ios/wak/WAKClipView.h:
     22        * platform/ios/wak/WAKScrollView.h:
     23        * platform/ios/wak/WAKView.h:
     24        * platform/ios/wak/WAKWindow.h:
     25        * platform/ios/wak/WAKWindow.mm:
     26        * platform/ios/wak/WKContentObservation.h:
     27        * platform/ios/wak/WKGraphics.h:
     28        * platform/ios/wak/WebCoreThread.h:
     29        * platform/ios/wak/WebCoreThread.mm:
     30        * platform/ios/wak/WebCoreThreadRun.h:
     31        * platform/ios/wak/WebCoreThreadSystemInterface.h:
     32        * platform/network/ios/QuickLook.h:
     33        * platform/text/TextBreakIterator.h:
     34
    1352015-02-09  David Hyatt  <hyatt@apple.com>
    236
  • trunk/Source/WebCore/bindings/objc/WebScriptObject.h

    r161406 r179886  
    220220*/
    221221WEBKIT_CLASS_AVAILABLE_MAC(10_4)
    222 @interface WebScriptObject : NSObject
     222WEBCORE_EXPORT @interface WebScriptObject : NSObject
    223223{
    224224    WebScriptObjectPrivate *_private;
  • trunk/Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm

    r178057 r179886  
    832832
    833833    # - Begin @interface or @protocol
    834     my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "\@interface $className : $parentName");
     834    my $interfaceDeclaration = ($isProtocol ? "\@protocol $className" : "WEBCORE_EXPORT \@interface $className : $parentName");
    835835    $interfaceDeclaration .= " <" . join(", ", @protocolsToImplement) . ">" if @protocolsToImplement > 0;
    836836    $interfaceDeclaration .= "\n";
  • trunk/Source/WebCore/dom/Event.h

    r177264 r179886  
    181181protected:
    182182    Event();
    183     Event(const AtomicString& type, bool canBubble, bool cancelable);
     183    WEBCORE_EXPORT Event(const AtomicString& type, bool canBubble, bool cancelable);
    184184    Event(const AtomicString& type, bool canBubble, bool cancelable, double timestamp);
    185185    Event(const AtomicString& type, const EventInit&);
  • trunk/Source/WebCore/dom/Node.h

    r179861 r179886  
    691691
    692692    enum EditableLevel { Editable, RichlyEditable };
    693     bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllIsAlwaysNonEditable) const;
     693    WEBCORE_EXPORT bool hasEditableStyle(EditableLevel, UserSelectAllTreatment = UserSelectAllIsAlwaysNonEditable) const;
    694694    WEBCORE_EXPORT bool isEditableToAccessibility(EditableLevel) const;
    695695
  • trunk/Source/WebCore/editing/FrameSelection.h

    r176459 r179886  
    138138     
    139139    void moveTo(const Range*);
    140     void moveTo(const VisiblePosition&, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded);
     140    WEBCORE_EXPORT void moveTo(const VisiblePosition&, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded);
    141141    WEBCORE_EXPORT void moveTo(const VisiblePosition&, const VisiblePosition&, EUserTriggered = NotUserTriggered);
    142142    void moveTo(const Position&, EAffinity, EUserTriggered = NotUserTriggered);
  • trunk/Source/WebCore/html/HTMLFormControlElement.h

    r177664 r179886  
    9191
    9292#if ENABLE(IOS_AUTOCORRECT_AND_AUTOCAPITALIZE)
    93     bool autocorrect() const;
     93    WEBCORE_EXPORT bool autocorrect() const;
    9494    void setAutocorrect(bool);
    9595
    96     WebAutocapitalizeType autocapitalizeType() const;
     96    WEBCORE_EXPORT WebAutocapitalizeType autocapitalizeType() const;
    9797    const AtomicString& autocapitalize() const;
    9898    void setAutocapitalize(const AtomicString&);
  • trunk/Source/WebCore/html/HTMLMediaSession.h

    r176199 r179886  
    6262#endif
    6363    bool requiresFullscreenForVideoPlayback(const HTMLMediaElement&) const;
    64     bool allowsAlternateFullscreen(const HTMLMediaElement&) const;
     64    WEBCORE_EXPORT bool allowsAlternateFullscreen(const HTMLMediaElement&) const;
    6565    MediaPlayer::Preload effectivePreloadForElement(const HTMLMediaElement&) const;
    6666
  • trunk/Source/WebCore/page/Frame.h

    r177450 r179886  
    253253        WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionStart();
    254254        WEBCORE_EXPORT void setRangedSelectionInitialExtentToCurrentSelectionEnd();
    255         VisibleSelection rangedSelectionBase() const;
     255        WEBCORE_EXPORT VisibleSelection rangedSelectionBase() const;
    256256        WEBCORE_EXPORT VisibleSelection rangedSelectionInitialExtent() const;
    257257        WEBCORE_EXPORT void recursiveSetUpdateAppearanceEnabled(bool);
  • trunk/Source/WebCore/page/FrameView.h

    r178689 r179886  
    245245
    246246    void viewportContentsChanged();
    247     void resumeVisibleImageAnimationsIncludingSubframes();
     247    WEBCORE_EXPORT void resumeVisibleImageAnimationsIncludingSubframes();
    248248
    249249    // This is different than visibleContentRect() in that it ignores negative (or overly positive)
  • trunk/Source/WebCore/platform/ScrollView.h

    r178661 r179886  
    181181    // contribute to painting but not to the scrollable area.
    182182    // The unobscuredContentRect is the area that is not covered by UI elements.
    183     IntRect unobscuredContentRect(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const;
     183    WEBCORE_EXPORT IntRect unobscuredContentRect(VisibleContentRectIncludesScrollbars = ExcludeScrollbars) const;
    184184#if PLATFORM(IOS)
    185185    IntRect unobscuredContentRectIncludingScrollbars() const { return unobscuredContentRect(IncludeScrollbars); }
  • trunk/Source/WebCore/platform/ios/PasteboardIOS.mm

    r178175 r179886  
    9797
    9898// FIXME: Does this need to be declared in the header file?
    99 NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type";
     99WEBCORE_EXPORT NSString *WebArchivePboardType = @"Apple Web Archive pasteboard type";
    100100
    101101// Making this non-inline so that WebKit 2's decoding doesn't have to include SharedBuffer.h.
  • trunk/Source/WebCore/platform/ios/wak/WAKAppKitStubs.h

    r176105 r179886  
    210210} NSSelectionDirection;
    211211
    212 @interface NSCursor : NSObject
     212WEBCORE_EXPORT @interface NSCursor : NSObject
    213213+ (void)setHiddenUntilMouseMoves:(BOOL)flag;
    214214@end
  • trunk/Source/WebCore/platform/ios/wak/WAKClipView.h

    r161603 r179886  
    3131#import "WAKView.h"
    3232
    33 @interface WAKClipView : WAKView
     33WEBCORE_EXPORT @interface WAKClipView : WAKView
    3434
    3535@property (nonatomic, readonly) WAKView *documentView;
  • trunk/Source/WebCore/platform/ios/wak/WAKScrollView.h

    r165211 r179886  
    3535@class WAKClipView;
    3636
    37 @interface WAKScrollView : WAKView <WebCoreFrameScrollView>
     37WEBCORE_EXPORT @interface WAKScrollView : WAKView <WebCoreFrameScrollView>
    3838{
    3939    WAKView *_documentView;  // Only here so the ObjC instance stays around.
  • trunk/Source/WebCore/platform/ios/wak/WAKView.h

    r176105 r179886  
    3939@class WAKWindow;
    4040
    41 @interface WAKView : WAKResponder
     41WEBCORE_EXPORT @interface WAKView : WAKResponder
    4242
    4343+ (WAKView *)focusView;
  • trunk/Source/WebCore/platform/ios/wak/WAKWindow.h

    r174650 r179886  
    6767extern NSString * const WAKWindowVisibilityDidChangeNotification;
    6868
    69 @interface WAKWindow : WAKResponder
     69WEBCORE_EXPORT @interface WAKWindow : WAKResponder
    7070{
    7171    CALayer* _hostLayer;
  • trunk/Source/WebCore/platform/ios/wak/WAKWindow.mm

    r174650 r179886  
    3939#import <wtf/TCSpinLock.h>
    4040
    41 NSString * const WAKWindowScreenScaleDidChangeNotification = @"WAKWindowScreenScaleDidChangeNotification";
    42 NSString * const WAKWindowVisibilityDidChangeNotification = @"WAKWindowVisibilityDidChangeNotification";
     41WEBCORE_EXPORT NSString * const WAKWindowScreenScaleDidChangeNotification = @"WAKWindowScreenScaleDidChangeNotification";
     42WEBCORE_EXPORT NSString * const WAKWindowVisibilityDidChangeNotification = @"WAKWindowVisibilityDidChangeNotification";
    4343
    4444using namespace WebCore;
  • trunk/Source/WebCore/platform/ios/wak/WKContentObservation.h

    r172814 r179886  
    4545WEBCORE_EXPORT void WKBeginObservingContentChanges(bool allowsIntedeterminateChanges);
    4646
    47 WKContentChange WKObservedContentChange(void);
     47WEBCORE_EXPORT WKContentChange WKObservedContentChange(void);
    4848void WKSetObservedContentChange(WKContentChange aChange);
    4949
  • trunk/Source/WebCore/platform/ios/wak/WKGraphics.h

    r176140 r179886  
    3838#endif
    3939
    40 CGContextRef WKGetCurrentGraphicsContext(void);
    41 void WKSetCurrentGraphicsContext(CGContextRef context);
     40WEBCORE_EXPORT CGContextRef WKGetCurrentGraphicsContext(void);
     41WEBCORE_EXPORT void WKSetCurrentGraphicsContext(CGContextRef);
    4242
    43 void WKRectFill(CGContextRef context, CGRect aRect);
     43WEBCORE_EXPORT void WKRectFill(CGContextRef, CGRect aRect);
    4444void WKRectFillUsingOperation(CGContextRef, CGRect, WKCompositeOperation);
    4545
  • trunk/Source/WebCore/platform/ios/wak/WebCoreThread.h

    r173283 r179886  
    5050// Note that calling this function may hang your UI for several seconds. Don't use
    5151// unless you have to.
    52 void WebThreadLock(void);
     52WEBCORE_EXPORT void WebThreadLock(void);
    5353   
    5454// This is a no-op for compatibility only. It will go away. Please don't use.
  • trunk/Source/WebCore/platform/ios/wak/WebCoreThread.mm

    r179409 r179886  
    136136static unsigned sMainThreadModalCount;
    137137
    138 volatile bool webThreadShouldYield;
     138WEBCORE_EXPORT volatile bool webThreadShouldYield;
    139139
    140140static pthread_mutex_t WebCoreReleaseLock;
  • trunk/Source/WebCore/platform/ios/wak/WebCoreThreadRun.h

    r161603 r179886  
    4646// will queue the block and wait for its execution to finish.
    4747
    48 void WebThreadRun(void (^block)());
     48WEBCORE_EXPORT void WebThreadRun(void (^block)());
    4949void WebThreadRunSync(void (^block)());
    5050
  • trunk/Source/WebCore/platform/ios/wak/WebCoreThreadSystemInterface.h

    r161603 r179886  
    3030#endif
    3131
    32 void InitWebCoreThreadSystemInterface(void);
     32WEBCORE_EXPORT void InitWebCoreThreadSystemInterface(void);
    3333
    3434#ifdef __cplusplus
  • trunk/Source/WebCore/platform/network/ios/QuickLook.h

    r174889 r179886  
    6262NSString *QLTypeCopyBestMimeTypeForURLAndMimeType(NSURL *, NSString *mimeType);
    6363
    64 NSSet *QLPreviewGetSupportedMIMETypesSet();
     64WEBCORE_EXPORT NSSet *QLPreviewGetSupportedMIMETypesSet();
    6565
    6666// Used for setting the permissions on the saved QL content
     
    9696
    9797    WEBCORE_EXPORT bool didReceiveDataArray(CFArrayRef);
    98     bool didReceiveData(CFDataRef);
     98    WEBCORE_EXPORT bool didReceiveData(CFDataRef);
    9999    WEBCORE_EXPORT bool didFinishLoading();
    100100    WEBCORE_EXPORT void didFail();
  • trunk/Source/WebCore/platform/text/TextBreakIterator.h

    r176473 r179886  
    6565const int TextBreakDone = -1;
    6666
    67 bool isCJKLocale(const AtomicString&);
     67WEBCORE_EXPORT bool isCJKLocale(const AtomicString&);
    6868
    6969class LazyLineBreakIterator {
Note: See TracChangeset for help on using the changeset viewer.