Remove long-deprecated unused WKView minimumLayoutWidth properties
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 May 2015 01:04:52 +0000 (01:04 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 May 2015 01:04:52 +0000 (01:04 +0000)
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.

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKViewPrivate.h
Source/WebKit2/UIProcess/API/mac/WKView.mm

index 68c5285..19b6168 100644 (file)
@@ -1,3 +1,18 @@
+2015-04-30  Timothy Horton  <timothy_horton@apple.com>
+
+        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  <simon.fraser@apple.com>
 
         Fixed elements end up in the middle of the view with pageScale < 1
index 3c2ddc7..f9bc034 100644 (file)
@@ -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;
index ebe7258..d686326 100644 (file)
@@ -4149,40 +4149,6 @@ static NSString *pathWithUniqueFilenameForPath(NSString *path)
     [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();