Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Unified Diff: third_party/WebKit/public/web/WebElement.h

Issue 1516723003: [Element / Autofill] Add boundsInViewportFloat() to fix <input> popup misalignment. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebElement.h
diff --git a/third_party/WebKit/public/web/WebElement.h b/third_party/WebKit/public/web/WebElement.h
index 7ea6bdc5e855ffbca582bcc59afea064f4b3bca4..3f9e9a355bf46df808a98db5e6d27fc2b1281e37 100644
--- a/third_party/WebKit/public/web/WebElement.h
+++ b/third_party/WebKit/public/web/WebElement.h
@@ -38,6 +38,7 @@ namespace blink {
class Element;
struct WebRect;
+struct WebFloatRect;
// Provides access to some properties of a DOM element node.
class WebElement : public WebNode {
@@ -74,6 +75,7 @@ public:
// have been adjusted to include any transformations, including page scale.
// This function will update the layout if required.
BLINK_EXPORT WebRect boundsInViewport();
+ BLINK_EXPORT WebFloatRect boundsInViewportFloat();
// Returns the image contents of this element or a null WebImage
// if there isn't any.

Powered by Google App Engine
This is Rietveld 408576698