Changeset 102283 in webkit
- Timestamp:
- Dec 7, 2011 4:32:51 PM (12 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r102275 r102283 1 2011-12-07 Chris Sharp <csharp@chromium.org> 2 3 Exposing boundsInScreenSpace in WebElement. 4 https://bugs.webkit.org/show_bug.cgi?id=71579 5 6 Exposing boundsInScreenSpace through a new function, 7 boundsInViewportSpace, to assist in moving the Autofill UI out of 8 WebKit in Chromium. Renamed the exposed function to provide a better 9 meaning of what the function does in the Chromium code. 10 More information can be found at: 11 http://crbug.com/51644 12 13 14 Reviewed by Darin Fisher. 15 16 * public/WebElement.h: 17 * src/WebElement.cpp: 18 (WebKit::WebElement::boundsInViewportSpace): 19 1 20 2011-12-07 Adam Klein <adamk@chromium.org> 2 21 -
trunk/Source/WebKit/chromium/public/WebElement.h
r95901 r102283 40 40 namespace WebKit { 41 41 class WebNamedNodeMap; 42 struct WebRect; 42 43 43 44 // Provides access to some properties of a DOM element node. … … 68 69 WEBKIT_EXPORT WebString computeInheritedLanguage() const; 69 70 71 // Returns the bounds of the element in viewport space. The bounds 72 // have been adjusted to include any transformations. This view is 73 // also called the Root View in WebKit. 74 // This function will update the layout if required. 75 WEBKIT_EXPORT WebRect boundsInViewportSpace(); 76 70 77 #if WEBKIT_IMPLEMENTATION 71 78 WebElement(const WTF::PassRefPtr<WebCore::Element>&); -
trunk/Source/WebKit/chromium/src/WebElement.cpp
r95901 r102283 30 30 31 31 #include "config.h" 32 #include "platform/WebRect.h" 32 33 #include "WebElement.h" 33 34 #include "WebDocument.h" … … 109 110 } 110 111 112 WebRect WebElement::boundsInViewportSpace() 113 { 114 return unwrap<Element>()->boundsInRootViewSpace(); 115 } 116 111 117 WebElement::WebElement(const PassRefPtr<Element>& elem) 112 118 : WebNode(elem)
Note: See TracChangeset
for help on using the changeset viewer.