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

Unified Diff: third_party/WebKit/Source/web/WebElement.cpp

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
Index: third_party/WebKit/Source/web/WebElement.cpp
diff --git a/third_party/WebKit/Source/web/WebElement.cpp b/third_party/WebKit/Source/web/WebElement.cpp
index 0fada19af1c533761dd47eeda00590b0f538e3c5..b365a2ccfc2b03784ef5a3ce27ac9a68743fcee6 100644
--- a/third_party/WebKit/Source/web/WebElement.cpp
+++ b/third_party/WebKit/Source/web/WebElement.cpp
@@ -146,9 +146,9 @@ bool WebElement::hasNonEmptyLayoutSize() const
return constUnwrap<Element>()->hasNonEmptyLayoutSize();
}
-WebRect WebElement::boundsInViewportSpace()
+WebRect WebElement::boundsInViewport()
{
- return unwrap<Element>()->boundsInViewportSpace();
+ return unwrap<Element>()->boundsInViewport();
}
WebImage WebElement::imageContents()
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.idl ('k') | third_party/WebKit/Source/web/tests/VisualViewportTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698