Changeset 75662 in webkit
- Timestamp:
- Jan 12, 2011 5:34:01 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r75661 r75662 1 2011-01-12 Beth Dakin <bdakin@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 Add-on for https://bugs.webkit.org/show_bug.cgi?id=52309 6 Expose fixed layout through WebKit SPI 7 -and corresponding- 8 <rdar://problem/8844464> 9 10 And now with getters! 11 * WebCore.exp.in: 12 1 13 2011-01-12 Sam Weinig <sam@webkit.org> 2 14 -
trunk/Source/WebCore/WebCore.exp.in
r75635 r75662 949 949 __ZNK7WebCore10ScrollView12documentViewEv 950 950 __ZNK7WebCore10ScrollView14scrollbarModesERNS_13ScrollbarModeES2_ 951 __ZNK7WebCore10ScrollView14useFixedLayoutEv 952 __ZNK7WebCore10ScrollView15fixedLayoutSizeEv 951 953 __ZNK7WebCore10ScrollView16contentsToWindowERKNS_7IntRectE 952 954 __ZNK7WebCore10ScrollView16contentsToWindowERKNS_8IntPointE -
trunk/WebKit/mac/ChangeLog
r75635 r75662 1 2011-01-12 Beth Dakin <bdakin@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 Add-on for https://bugs.webkit.org/show_bug.cgi?id=52309 6 Expose fixed layout through WebKit SPI 7 -and corresponding- 8 <rdar://problem/8844464> 9 10 And now with getters! 11 * WebView/WebView.mm: 12 (-[WebView _useFixedLayout]): 13 (-[WebView _fixedLayoutSize]): 14 * WebView/WebViewPrivate.h: 15 1 16 2011-01-12 Beth Dakin <bdakin@apple.com> 2 17 -
trunk/WebKit/mac/WebView/WebView.mm
r75635 r75662 2683 2683 } 2684 2684 2685 - (BOOL)_useFixedLayout 2686 { 2687 Frame* coreFrame = [self _mainCoreFrame]; 2688 if (!coreFrame) 2689 return NO; 2690 2691 FrameView* view = coreFrame->view(); 2692 if (!view) 2693 return NO; 2694 2695 return view->useFixedLayout(); 2696 } 2697 2698 - (NSSize)_fixedLayoutSize 2699 { 2700 Frame* coreFrame = [self _mainCoreFrame]; 2701 if (!coreFrame) 2702 return IntSize(); 2703 2704 FrameView* view = coreFrame->view(); 2705 if (!view) 2706 return IntSize(); 2707 2708 return view->fixedLayoutSize(); 2709 } 2710 2685 2711 - (NSUInteger)markAllMatchesForText:(NSString *)string caseSensitive:(BOOL)caseFlag highlight:(BOOL)highlight limit:(NSUInteger)limit 2686 2712 { -
trunk/WebKit/mac/WebView/WebViewPrivate.h
r75635 r75662 551 551 - (void)_setFixedLayoutSize:(NSSize)size; 552 552 553 - (BOOL)_useFixedLayout; 554 - (NSSize)_fixedLayoutSize; 555 553 556 // Deprecated. Use the methods in pending public above instead. 554 557 - (WebNSUInteger)markAllMatchesForText:(NSString *)string caseSensitive:(BOOL)caseFlag highlight:(BOOL)highlight limit:(WebNSUInteger)limit; -
trunk/WebKit2/ChangeLog
r75661 r75662 1 2011-01-12 Beth Dakin <bdakin@apple.com> 2 3 Reviewed by Anders Carlsson. 4 5 Add-on for https://bugs.webkit.org/show_bug.cgi?id=52309 6 Expose fixed layout through WebKit SPI 7 -and corresponding- 8 <rdar://problem/8844464> 9 10 And now with getters! 11 * UIProcess/API/C/WKPage.cpp: 12 (WKPageUseFixedLayout): 13 (WKPageFixedLayoutSize): 14 * UIProcess/API/C/WKPage.h: 15 * UIProcess/WebPageProxy.h: 16 (WebKit::WebPageProxy::useFixedLayout): 17 (WebKit::WebPageProxy::fixedLayoutSize): 18 1 19 2011-01-12 Sam Weinig <sam@webkit.org> 2 20 -
trunk/WebKit2/UIProcess/API/C/WKPage.cpp
r75635 r75662 276 276 } 277 277 278 bool WKPageUseFixedLayout(WKPageRef pageRef) 279 { 280 return toImpl(pageRef)->useFixedLayout(); 281 } 282 283 WKSize WKPageFixedLayoutSize(WKPageRef pageRef) 284 { 285 return toAPI(toImpl(pageRef)->fixedLayoutSize()); 286 } 287 278 288 double WKPageGetViewScaleFactor(WKPageRef pageRef) 279 289 { -
trunk/WebKit2/UIProcess/API/C/WKPage.h
r75635 r75662 310 310 WK_EXPORT void WKPageSetUseFixedLayout(WKPageRef page, bool fixed); 311 311 WK_EXPORT void WKPageSetFixedLayoutSize(WKPageRef page, WKSize size); 312 WK_EXPORT bool WKPageUseFixedLayout(WKPageRef pageRef); 313 WK_EXPORT WKSize WKPageFixedLayoutSize(WKPageRef pageRef); 312 314 313 315 WK_EXPORT void WKPageFindString(WKPageRef page, WKStringRef string, WKFindOptions findOptions, unsigned maxMatchCount); -
trunk/WebKit2/UIProcess/WebPageProxy.h
r75657 r75662 246 246 void setUseFixedLayout(bool); 247 247 void setFixedLayoutSize(const WebCore::IntSize&); 248 bool useFixedLayout() const { return m_useFixedLayout; }; 249 const WebCore::IntSize& fixedLayoutSize() const { return m_fixedLayoutSize; }; 250 248 251 #if PLATFORM(MAC) 249 252 void sendAccessibilityPresenterToken(const CoreIPC::DataReference&);
Note: See TracChangeset
for help on using the changeset viewer.