Changeset 238072 in webkit
- Timestamp:
- Nov 10, 2018, 10:13:33 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
editing/mac/DictionaryLookup.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r238071 r238072 1 2018-11-10 Megan Gardner <megan_gardner@apple.com> 2 3 Fix build for 32bit Mac 4 https://bugs.webkit.org/show_bug.cgi?id=191511 5 6 Unreviewed Build Fix. 7 8 Build fix, not tests needed. 9 10 Make the apporiate delecrations for 32-bit mac support. 11 12 * editing/mac/DictionaryLookup.mm: 13 1 14 2018-11-10 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/Source/WebCore/editing/mac/DictionaryLookup.mm
r238014 r238072 50 50 #import <wtf/RefPtr.h> 51 51 52 @interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject 53 54 - (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString; 52 @interface WebRevealHighlight <RVPresenterHighlightDelegate> : NSObject { 53 @private 54 Function<void()> _clearTextIndicator; 55 NSRect _highlightRect; 56 BOOL _useDefaultHighlight; 57 NSAttributedString *_attributedString; 58 } 55 59 56 60 @property (nonatomic, readonly) NSRect highlightRect; … … 58 62 @property (nonatomic, readonly) NSAttributedString *attributedString; 59 63 64 - (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString; 60 65 - (void)setClearTextIndicator:(Function<void()>&&)clearTextIndicator; 61 66 62 67 @end 63 68 64 @implementation WebRevealHighlight { 65 Function<void()> _clearTextIndicator; 66 } 69 @implementation WebRevealHighlight 70 71 @synthesize highlightRect=_highlightRect; 72 @synthesize useDefaultHighlight=_useDefaultHighlight; 73 @synthesize attributedString=_attributedString; 67 74 68 75 - (instancetype)initWithHighlightRect:(NSRect)highlightRect useDefaultHighlight:(BOOL)useDefaultHighlight attributedString:(NSAttributedString *) attributedString
Note:
See TracChangeset
for help on using the changeset viewer.