Title: [183658] trunk/Source/WebKit2
- Revision
- 183658
- Author
- [email protected]
- Date
- 2015-04-30 18:04:52 -0700 (Thu, 30 Apr 2015)
Log Message
Remove long-deprecated unused WKView minimumLayoutWidth properties
https://bugs.webkit.org/show_bug.cgi?id=144480
Reviewed by Alexey Proskuryakov.
* UIProcess/API/Cocoa/WKViewPrivate.h:
* UIProcess/API/mac/WKView.mm:
(-[WKView minimumLayoutWidth]): Deleted.
(-[WKView setMinimumLayoutWidth:]): Deleted.
(-[WKView minimumWidthForAutoLayout]): Deleted.
(-[WKView setMinimumWidthForAutoLayout:]): Deleted.
These were replaced with minimumSizeForAutoLayout long ago.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (183657 => 183658)
--- trunk/Source/WebKit2/ChangeLog 2015-05-01 00:34:24 UTC (rev 183657)
+++ trunk/Source/WebKit2/ChangeLog 2015-05-01 01:04:52 UTC (rev 183658)
@@ -1,3 +1,18 @@
+2015-04-30 Timothy Horton <[email protected]>
+
+ Remove long-deprecated unused WKView minimumLayoutWidth properties
+ https://bugs.webkit.org/show_bug.cgi?id=144480
+
+ Reviewed by Alexey Proskuryakov.
+
+ * UIProcess/API/Cocoa/WKViewPrivate.h:
+ * UIProcess/API/mac/WKView.mm:
+ (-[WKView minimumLayoutWidth]): Deleted.
+ (-[WKView setMinimumLayoutWidth:]): Deleted.
+ (-[WKView minimumWidthForAutoLayout]): Deleted.
+ (-[WKView setMinimumWidthForAutoLayout:]): Deleted.
+ These were replaced with minimumSizeForAutoLayout long ago.
+
2015-04-30 Simon Fraser <[email protected]>
Fixed elements end up in the middle of the view with pageScale < 1
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h (183657 => 183658)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h 2015-05-01 00:34:24 UTC (rev 183657)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h 2015-05-01 01:04:52 UTC (rev 183658)
@@ -77,8 +77,6 @@
+ (void)hideWordDefinitionWindow;
-@property (readwrite) CGFloat minimumLayoutWidth;
-@property (readwrite) CGFloat minimumWidthForAutoLayout;
@property (readwrite) NSSize minimumSizeForAutoLayout;
@property (readwrite) BOOL shouldClipToVisibleRect;
@property (readwrite) BOOL shouldExpandToViewHeightForAutoLayout;
Modified: trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm (183657 => 183658)
--- trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2015-05-01 00:34:24 UTC (rev 183657)
+++ trunk/Source/WebKit2/UIProcess/API/mac/WKView.mm 2015-05-01 01:04:52 UTC (rev 183658)
@@ -4149,40 +4149,6 @@
[getLULookupDefinitionModuleClass() hideDefinition];
}
-- (CGFloat)minimumLayoutWidth
-{
- static BOOL loggedDeprecationWarning = NO;
-
- if (!loggedDeprecationWarning) {
- NSLog(@"Please use minimumSizeForAutoLayout instead of minimumLayoutWidth.");
- loggedDeprecationWarning = YES;
- }
-
- return self.minimumSizeForAutoLayout.width;
-}
-
-- (void)setMinimumLayoutWidth:(CGFloat)minimumLayoutWidth
-{
- static BOOL loggedDeprecationWarning = NO;
-
- if (!loggedDeprecationWarning) {
- NSLog(@"Please use setMinimumSizeForAutoLayout: instead of setMinimumLayoutWidth:.");
- loggedDeprecationWarning = YES;
- }
-
- [self setMinimumWidthForAutoLayout:minimumLayoutWidth];
-}
-
-- (CGFloat)minimumWidthForAutoLayout
-{
- return self.minimumSizeForAutoLayout.width;
-}
-
-- (void)setMinimumWidthForAutoLayout:(CGFloat)minimumLayoutWidth
-{
- self.minimumSizeForAutoLayout = NSMakeSize(minimumLayoutWidth, self.minimumSizeForAutoLayout.height);
-}
-
- (NSSize)minimumSizeForAutoLayout
{
return _data->_page->minimumLayoutSize();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes