Title: [168582] trunk/Source/WebKit2
- Revision
- 168582
- Author
- [email protected]
- Date
- 2014-05-10 13:20:36 -0700 (Sat, 10 May 2014)
Log Message
Follow-up fix.
Reviewed by Darin Adler.
* UIProcess/API/Cocoa/WKNavigationResponse.h:
* UIProcess/API/Cocoa/WKNavigationResponse.mm:
(-[WKNavigationResponse isForMainFrame]):
Use a slightly better name.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (168581 => 168582)
--- trunk/Source/WebKit2/ChangeLog 2014-05-10 20:11:35 UTC (rev 168581)
+++ trunk/Source/WebKit2/ChangeLog 2014-05-10 20:20:36 UTC (rev 168582)
@@ -1,5 +1,16 @@
2014-05-10 Anders Carlsson <[email protected]>
+ Follow-up fix.
+
+ Reviewed by Darin Adler.
+
+ * UIProcess/API/Cocoa/WKNavigationResponse.h:
+ * UIProcess/API/Cocoa/WKNavigationResponse.mm:
+ (-[WKNavigationResponse isForMainFrame]):
+ Use a slightly better name.
+
+2014-05-10 Anders Carlsson <[email protected]>
+
Make -[WKNavigationResponse frame] SPI and only expose -[WKNavigationResponse isMainFrame]
https://bugs.webkit.org/show_bug.cgi?id=132781
<rdar://problem/16868319>
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h (168581 => 168582)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h 2014-05-10 20:11:35 UTC (rev 168581)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.h 2014-05-10 20:20:36 UTC (rev 168582)
@@ -38,7 +38,7 @@
/*! @abstract Whether the frame that is being navigated is the main frame or not.
*/
-@property (nonatomic, readonly, getter=isMainFrameNavigation) BOOL mainFrameNavigation;
+@property (nonatomic, readonly, getter=isForMainFrame) BOOL forMainFrame;
/*! @abstract The NSURLResponse of the frame.
*/
Modified: trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.mm (168581 => 168582)
--- trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.mm 2014-05-10 20:11:35 UTC (rev 168581)
+++ trunk/Source/WebKit2/UIProcess/API/Cocoa/WKNavigationResponse.mm 2014-05-10 20:20:36 UTC (rev 168582)
@@ -40,7 +40,7 @@
return [NSString stringWithFormat:@"<%@: %p; response = %@>", NSStringFromClass(self.class), self, _response.get()];
}
-- (BOOL)isMainFrameNavigation
+- (BOOL)isForMainFrame
{
return [_frame isMainFrame];
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes