Changeset 167610 in webkit
- Timestamp:
- Apr 21, 2014, 12:49:00 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r167609 r167610 1 2014-04-21 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Expose WebPage::setDefersLoading 4 https://bugs.webkit.org/show_bug.cgi?id=131943 5 6 Reviewed by Anders Carlsson, but he doesn’t like this. 7 8 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: 9 (-[WKWebProcessPlugInBrowserContextController _defersLoading]): Added this accessor. 10 (-[WKWebProcessPlugInBrowserContextController _setDefersLoading:]): Ditto. 11 * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h: 12 Declared new property _defersLoading. 13 14 * WebProcess/WebPage/WebPage.cpp: 15 (WebKit::WebPage::defersLoading): Added this getter. 16 * WebProcess/WebPage/WebPage.h: 17 1 18 2014-04-21 Joseph Pecoraro <pecoraro@apple.com> 2 19 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm
r167343 r167610 481 481 } 482 482 483 - (BOOL)_defersLoading 484 { 485 return _page->defersLoading(); 486 } 487 488 - (void)_setDefersLoading:(BOOL)defersLoading 489 { 490 _page->setDefersLoading(defersLoading); 491 } 492 483 493 @end 484 494 -
trunk/Source/WebKit2/WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextControllerPrivate.h
r167586 r167610 44 44 @property (weak, setter=_setFormDelegate:) id <WKWebProcessPlugInFormDelegatePrivate> _formDelegate; 45 45 46 @property (nonatomic, setter=_setDefersLoading:) BOOL _defersLoading; 47 46 48 + (instancetype)lookUpBrowsingContextFromHandle:(WKBrowsingContextHandle *)handle; 47 49 -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp
r167534 r167610 1041 1041 } 1042 1042 1043 bool WebPage::defersLoading() const 1044 { 1045 return m_page->defersLoading(); 1046 } 1047 1043 1048 void WebPage::setDefersLoading(bool defersLoading) 1044 1049 { -
trunk/Source/WebKit2/WebProcess/WebPage/WebPage.h
r167481 r167610 376 376 void stopLoading(); 377 377 void stopLoadingFrame(uint64_t frameID); 378 bool defersLoading() const; 378 379 void setDefersLoading(bool deferLoading); 379 380
Note:
See TracChangeset
for help on using the changeset viewer.