Changeset 158775 in webkit
- Timestamp:
- Nov 6, 2013, 12:48:59 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Source/WebKit2/ChangeLog ¶
r158772 r158775 1 2013-11-06 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Add -[WKBrowsingContextController unreachableURL] 4 https://bugs.webkit.org/show_bug.cgi?id=123909 5 6 Reviewed by Anders Carlsson. 7 8 * UIProcess/API/mac/WKBrowsingContextController.h: Declared unreachableURL property. 9 * UIProcess/API/mac/WKBrowsingContextController.mm: 10 (-[WKBrowsingContextController unreachableURL]): Added. 11 * UIProcess/WebPageProxy.cpp: 12 (WebKit::WebPageProxy::unreachableURL): Added. 13 * UIProcess/WebPageProxy.h: 14 1 15 2013-11-06 Anders Carlsson <andersca@apple.com> 2 16 -
TabularUnified trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.h ¶
r158764 r158775 111 111 @property(readonly) NSURL *activeURL; 112 112 113 /* URL for a request that has been sent, but no response has been rec ieved yet. */113 /* URL for a request that has been sent, but no response has been received yet. */ 114 114 @property(readonly) NSURL *provisionalURL; 115 115 116 /* URL for a request that has been rec ieved, and is now being used. */116 /* URL for a request that has been received, and is now being used. */ 117 117 @property(readonly) NSURL *committedURL; 118 119 @property(readonly) NSURL *unreachableURL; 118 120 119 121 @property(readonly) double estimatedProgress; -
TabularUnified trunk/Source/WebKit2/UIProcess/API/mac/WKBrowsingContextController.mm ¶
r158764 r158775 325 325 } 326 326 327 - (NSURL *)unreachableURL 328 { 329 const String& unreachableURL = toImpl(_data->_pageRef.get())->unreachableURL(); 330 if (!unreachableURL) 331 return nil; 332 333 return !unreachableURL ? nil : [NSURL URLWithString:unreachableURL]; 334 } 335 327 336 - (double)estimatedProgress 328 337 { -
TabularUnified trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp ¶
r158759 r158775 875 875 } 876 876 877 String WebPageProxy::unreachableURL() const 878 { 879 if (!m_mainFrame) 880 return String(); 881 882 return m_mainFrame->unreachableURL(); 883 } 884 877 885 bool WebPageProxy::canShowMIMEType(const String& mimeType) const 878 886 { -
TabularUnified trunk/Source/WebKit2/UIProcess/WebPageProxy.h ¶
r158759 r158775 298 298 String provisionalURL() const; 299 299 String committedURL() const; 300 String unreachableURL() const; 300 301 301 302 bool willHandleHorizontalScrollEvents() const;
Note:
See TracChangeset
for help on using the changeset viewer.