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

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

Issue 1463723003: Return VisualViewport coords in boundsInViewportSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ae356e5f5d1c5c6a7bfa8ce21fe7e9af5b837ac8..7ea6bdc5e855ffbca582bcc59afea064f4b3bca4 100644
--- a/third_party/WebKit/public/web/WebElement.h
+++ b/third_party/WebKit/public/web/WebElement.h
@@ -70,11 +70,10 @@ public:
// If this element takes up space in the layout of the page.
BLINK_EXPORT bool hasNonEmptyLayoutSize() const;
- // Returns the bounds of the element in viewport space. The bounds
- // have been adjusted to include any transformations. This view is
- // also called the Root View in Blink.
+ // Returns the bounds of the element in Visual Viewport. The bounds
+ // have been adjusted to include any transformations, including page scale.
// This function will update the layout if required.
- BLINK_EXPORT WebRect boundsInViewportSpace();
+ BLINK_EXPORT WebRect boundsInViewport();
// Returns the image contents of this element or a null WebImage
// if there isn't any.
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698