Changeset 141352 in webkit
- Timestamp:
- Jan 30, 2013 5:39:37 PM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r141346 r141352 1 2013-01-30 Tien-Ren Chen <trchen@chromium.org> 2 3 [chromium] Add WebFrame::visibleContentRect() 4 https://bugs.webkit.org/show_bug.cgi?id=108311 5 6 Reviewed by James Robinson. 7 8 * public/WebFrame.h: 9 * src/WebFrameImpl.cpp: 10 (WebKit::WebFrameImpl::visibleContentRect): 11 (WebKit): 12 * src/WebFrameImpl.h: 13 (WebFrameImpl): 14 1 15 2013-01-30 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/public/WebFrame.h
r140621 r141352 171 171 virtual bool hasVisibleContent() const = 0; 172 172 173 // Returns the visible content rect (minus scrollbars, in absolute coordinate) 174 virtual WebRect visibleContentRect() const = 0; 175 173 176 virtual bool hasHorizontalScrollbar() const = 0; 174 177 virtual bool hasVerticalScrollbar() const = 0; -
trunk/Source/WebKit/chromium/src/WebFrameImpl.cpp
r141234 r141352 646 646 } 647 647 648 WebRect WebFrameImpl::visibleContentRect() const 649 { 650 return frame()->view()->visibleContentRect(); 651 } 652 648 653 bool WebFrameImpl::hasHorizontalScrollbar() const 649 654 { -
trunk/Source/WebKit/chromium/src/WebFrameImpl.h
r138893 r141352 90 90 virtual int documentElementScrollHeight() const; 91 91 virtual bool hasVisibleContent() const; 92 virtual WebRect visibleContentRect() const; 92 93 virtual bool hasHorizontalScrollbar() const; 93 94 virtual bool hasVerticalScrollbar() const;
Note: See TracChangeset
for help on using the changeset viewer.