Changeset 160872 in webkit
- Timestamp:
- Dec 19, 2013 4:22:50 PM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160866 r160872 1 2013-12-19 Benjamin Poulain <bpoulain@apple.com> 2 3 Remove WKContentViewPrivate.h, WKContentView.h is private now 4 https://bugs.webkit.org/show_bug.cgi?id=125981 5 6 Reviewed by Dan Bernstein. 7 8 There is no need for a separate header, WKContentView has become an implementation 9 detail of WKView. 10 11 * UIProcess/API/ios/WKContentView.h: 12 * UIProcess/API/ios/WKContentViewInternal.h: 13 * UIProcess/API/ios/WKContentViewPrivate.h: Removed. 14 * UIProcess/API/ios/WKView.mm: 15 1 16 2013-12-19 Alexey Proskuryakov <ap@apple.com> 2 17 -
trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.h
r159859 r160872 25 25 26 26 #import <UIKit/UIKit.h> 27 #import <WebKit2/WKBase.h> 27 28 #import <WebKit2/WKBrowsingContextController.h> 28 29 #import <WebKit2/WKBrowsingContextGroup.h> … … 55 56 @property (nonatomic, readonly) WKContentType contentType; 56 57 58 @property (readonly) WKPageRef _pageRef; 59 60 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef; 61 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef relatedToPage:(WKPageRef)relatedPage; 57 62 - (id)initWithFrame:(CGRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup; 58 63 -
trunk/Source/WebKit2/UIProcess/API/ios/WKContentView.mm
r160069 r160872 61 61 } 62 62 63 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef 64 { 65 return [self initWithFrame:frame contextRef:contextRef pageGroupRef:pageGroupRef relatedToPage:nullptr]; 66 } 67 68 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef relatedToPage:(WKPageRef)relatedPage 69 { 70 if (!(self = [super initWithFrame:frame])) 71 return nil; 72 73 [self _commonInitializationWithContextRef:contextRef pageGroupRef:pageGroupRef relatedToPage:relatedPage]; 74 return self; 75 } 76 63 77 - (id)initWithFrame:(CGRect)frame processGroup:(WKProcessGroup *)processGroup browsingContextGroup:(WKBrowsingContextGroup *)browsingContextGroup 64 78 { … … 112 126 } 113 127 128 - (WKPageRef)_pageRef 129 { 130 return toAPI(_page.get()); 131 } 132 114 133 - (void)setMinimumSize:(CGSize)size 115 134 { … … 258 277 259 278 @end 260 261 @implementation WKContentView (Private)262 263 - (WKPageRef)_pageRef264 {265 return toAPI(_page.get());266 }267 268 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef269 {270 return [self initWithFrame:frame contextRef:contextRef pageGroupRef:pageGroupRef relatedToPage:nullptr];271 }272 273 - (id)initWithFrame:(CGRect)frame contextRef:(WKContextRef)contextRef pageGroupRef:(WKPageGroupRef)pageGroupRef relatedToPage:(WKPageRef)relatedPage274 {275 if (!(self = [super initWithFrame:frame]))276 return nil;277 278 [self _commonInitializationWithContextRef:contextRef pageGroupRef:pageGroupRef relatedToPage:relatedPage];279 return self;280 }281 282 @end -
trunk/Source/WebKit2/UIProcess/API/ios/WKContentViewInternal.h
r159859 r160872 24 24 */ 25 25 26 #import "WKContentView Private.h"26 #import "WKContentView.h" 27 27 #import <wtf/Forward.h> 28 28 #import <wtf/Vector.h> -
trunk/Source/WebKit2/UIProcess/API/ios/WKView.mm
r160681 r160872 29 29 #import "WKBrowsingContextGroupPrivate.h" 30 30 #import "WKContentView.h" 31 #import "WKContentViewPrivate.h"32 31 #import "WKProcessGroupPrivate.h" 33 32 #import "WKScrollView.h"
Note: See TracChangeset
for help on using the changeset viewer.