Changeset 91727 in webkit
- Timestamp:
- Jul 25, 2011 5:12:29 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r91725 r91727 1 2011-07-25 Ian Henderson <ianh@apple.com> 2 3 WebFrame should have a method to determine its visual emptiness 4 https://bugs.webkit.org/show_bug.cgi?id=64223 5 6 Reviewed by Dan Bernstein. 7 8 * page/FrameView.h: 9 (WebCore::FrameView::isVisuallyNonEmpty): Add an accessor to FrameView 10 so we can tell whether it's visually non-empty. 11 1 12 2011-07-25 Scott Graham <scottmg@chromium.org> 2 13 -
trunk/Source/WebCore/page/FrameView.h
r91542 r91727 233 233 void incrementVisuallyNonEmptyPixelCount(const IntSize&); 234 234 void setIsVisuallyNonEmpty() { m_isVisuallyNonEmpty = true; } 235 bool isVisuallyNonEmpty() const { return m_isVisuallyNonEmpty; } 235 236 236 237 void forceLayout(bool allowSubtree = false); -
trunk/Source/WebKit/mac/ChangeLog
r91331 r91727 1 2011-07-25 Ian Henderson <ianh@apple.com> 2 3 WebFrame should have a method to determine its visual emptiness 4 https://bugs.webkit.org/show_bug.cgi?id=64223 5 6 Reviewed by Dan Bernstein. 7 8 * WebView/WebFrame.mm: 9 (-[WebFrame _isVisuallyNonEmpty]): Pipe the isVisuallyNonEmpty method 10 through WebKit. 11 * WebView/WebFramePrivate.h: 12 1 13 2011-07-19 Leo Yang <leoyang.webkit@gmail.com> 2 14 -
trunk/Source/WebKit/mac/WebView/WebFrame.mm
r89440 r91727 914 914 } 915 915 916 - (BOOL)_isVisuallyNonEmpty 917 { 918 if (FrameView* view = _private->coreFrame->view()) 919 return view->isVisuallyNonEmpty(); 920 return NO; 921 } 922 916 923 - (WebFrameLoadType)_loadType 917 924 { -
trunk/Source/WebKit/mac/WebView/WebFramePrivate.h
r85256 r91727 75 75 - (BOOL)_isFrameSet; 76 76 - (BOOL)_firstLayoutDone; 77 - (BOOL)_isVisuallyNonEmpty; 77 78 - (WebFrameLoadType)_loadType; 78 79
Note: See TracChangeset
for help on using the changeset viewer.