Changeset 75279 in webkit
- Timestamp:
- Jan 7, 2011 2:58:29 PM (13 years ago)
- Location:
- trunk/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit2/ChangeLog
r75276 r75279 1 2011-01-07 Jessie Berlin <jberlin@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 WebKit2: Need WKBundleFrameCopyProvisionalURL 6 https://bugs.webkit.org/show_bug.cgi?id=52083 7 8 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: 9 (WKBundleFrameCopyProvisionalURL): 10 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: 11 * WebProcess/WebPage/WebFrame.cpp: 12 (WebKit::WebFrame::provisionalURL): 13 Grab the URL from the provisional document loader. 14 * WebProcess/WebPage/WebFrame.h: 15 1 16 2011-01-07 James Robinson <jamesr@chromium.org> 2 17 -
trunk/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp
r75171 r75279 49 49 { 50 50 return toCopiedURLAPI(toImpl(frameRef)->url()); 51 } 52 53 WKURLRef WKBundleFrameCopyProvisionalURL(WKBundleFrameRef frameRef) 54 { 55 return toCopiedURLAPI(toImpl(frameRef)->provisionalURL()); 51 56 } 52 57 -
trunk/WebKit2/WebProcess/InjectedBundle/API/c/WKBundleFrame.h
r75171 r75279 42 42 WK_EXPORT WKStringRef WKBundleFrameCopyName(WKBundleFrameRef frame); 43 43 WK_EXPORT WKURLRef WKBundleFrameCopyURL(WKBundleFrameRef frame); 44 WK_EXPORT WKURLRef WKBundleFrameCopyProvisionalURL(WKBundleFrameRef frame); 44 45 45 46 WK_EXPORT JSGlobalContextRef WKBundleFrameGetJavaScriptContext(WKBundleFrameRef frame); -
trunk/WebKit2/WebProcess/WebPage/WebFrame.cpp
r75054 r75279 507 507 } 508 508 509 String WebFrame::provisionalURL() const 510 { 511 if (!m_coreFrame) 512 return String(); 513 514 return m_coreFrame->loader()->provisionalDocumentLoader()->url().string(); 515 } 516 509 517 } // namespace WebKit -
trunk/WebKit2/WebProcess/WebPage/WebFrame.h
r75054 r75279 107 107 bool allowsFollowingLink(const WebCore::KURL&) const; 108 108 109 String provisionalURL() const; 110 109 111 // Simple listener class used by plug-ins to know when frames finish or fail loading. 110 112 class LoadListener {
Note: See TracChangeset
for help on using the changeset viewer.