Move instance members from WebPDFViewPlaceholder.h to implementation file
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2017 23:38:30 +0000 (23:38 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 22 Feb 2017 23:38:30 +0000 (23:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=168705

Reviewed by Tim Horton.

* WebView/WebPDFViewPlaceholder.h: Moving instance members to implementation file.
* WebView/WebPDFViewPlaceholder.mm: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212858 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ios/ChangeLog
Source/WebKit/ios/WebView/WebPDFViewPlaceholder.h
Source/WebKit/ios/WebView/WebPDFViewPlaceholder.mm

index 826d666..c6eb25b 100644 (file)
@@ -1,5 +1,15 @@
 2017-02-22  Aakash Jain  <aakash_jain@apple.com>
 
+        Move instance members from WebPDFViewPlaceholder.h to implementation file
+        https://bugs.webkit.org/show_bug.cgi?id=168705
+
+        Reviewed by Tim Horton.
+
+        * WebView/WebPDFViewPlaceholder.h: Moving instance members to implementation file.
+        * WebView/WebPDFViewPlaceholder.mm: Ditto.
+
+2017-02-22  Aakash Jain  <aakash_jain@apple.com>
+
         Move instance members from WebSelectionRect.h to implementation file
         https://bugs.webkit.org/show_bug.cgi?id=168732
 
index eef53b4..8208de2 100644 (file)
     be drawn to the UI by some other object (ideally the delegate of this class) while still interfacing
     with WAK and WebKit correctly.
 */
-@interface WebPDFViewPlaceholder : WAKView <WebPDFDocumentView, WebPDFDocumentRepresentation> {
-    NSString *_title;
-    NSArray *_pageRects;
-    NSArray *_pageYOrigins;
-    CGPDFDocumentRef _document;
-    WebDataSource *_dataSource; // weak to prevent cycles.
-
-    NSObject<WebPDFViewPlaceholderDelegate> *_delegate;
-
-    BOOL _didFinishLoad;
-
-    CGSize _containerSize;
-}
+@interface WebPDFViewPlaceholder : WAKView <WebPDFDocumentView, WebPDFDocumentRepresentation>
 
 /*!
     @method setAsPDFDocRepAndView
index d0618c5..cddc61c 100644 (file)
@@ -102,7 +102,19 @@ static const float PAGE_HEIGHT_INSET = 4.0f * 2.0f;
 
 #pragma mark WebPDFViewPlaceholder implementation
 
-@implementation WebPDFViewPlaceholder
+@implementation WebPDFViewPlaceholder {
+    NSString *_title;
+    NSArray *_pageRects;
+    NSArray *_pageYOrigins;
+    CGPDFDocumentRef _document;
+    WebDataSource *_dataSource; // weak to prevent cycles.
+    
+    NSObject<WebPDFViewPlaceholderDelegate> *_delegate;
+    
+    BOOL _didFinishLoad;
+    
+    CGSize _containerSize;
+}
 
 @synthesize delegate = _delegate;
 @synthesize pageRects = _pageRects;