Changeset 166612 in webkit
- Timestamp:
- Apr 1, 2014, 2:29:48 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r166611 r166612 1 2014-04-01 Andy Estes <aestes@apple.com> 2 3 [Cocoa] Add SPI to determine if a WKWebView is displaying a PDF 4 https://bugs.webkit.org/show_bug.cgi?id=131063 5 6 Reviewed by Tim Horton. 7 8 * UIProcess/API/Cocoa/WKWebView.mm: 9 (-[WKWebView _isDisplayingPDF]): 10 * UIProcess/API/Cocoa/WKWebViewPrivate.h: 11 1 12 2014-04-01 Simon Fraser <simon.fraser@apple.com> 2 13 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm
r166598 r166612 60 60 61 61 #if PLATFORM(IOS) 62 #import "WKPDFView.h" 62 63 #import "WKScrollView.h" 63 64 #import "WKWebViewContentProviderRegistry.h" … … 1179 1180 } 1180 1181 1182 - (BOOL)_isDisplayingPDF 1183 { 1184 return [_customContentView isKindOfClass:[WKPDFView class]]; 1185 } 1186 1181 1187 #else 1182 1188 -
trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebViewPrivate.h
r166598 r166612 91 91 @property (readonly) UIColor *_pageExtendedBackgroundColor; 92 92 93 @property (nonatomic, readonly, getter=_isDisplayingPDF) BOOL _displayingPDF; 94 93 95 - (void)_beginInteractiveObscuredInsetsChange; 94 96 - (void)_endInteractiveObscuredInsetsChange;
Note:
See TracChangeset
for help on using the changeset viewer.