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

Unified Diff: third_party/WebKit/Source/core/frame/DOMVisualViewport.h

Issue 2901203002: Rename VisualViewport properties to match updated spec (Closed)
Patch Set: Removed changes to VisualViewport type Created 3 years, 7 months 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/core/frame/DOMVisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
index 1829e6ceabc8e0f32ca11a3a83868778ab959461..34d5ef4468a4015d91f08cda5131f859876fb68c 100644
--- a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
@@ -58,12 +58,12 @@ class DOMVisualViewport final : public EventTargetWithInlineData {
const AtomicString& InterfaceName() const override;
ExecutionContext* GetExecutionContext() const override;
- float scrollLeft();
- float scrollTop();
- float pageX();
- float pageY();
- double clientWidth();
- double clientHeight();
+ float offsetLeft();
dtapuska 2017/05/24 17:21:40 Should these be const?
bokan 2017/05/24 19:17:14 Done.
+ float offsetTop();
+ float pageLeft();
+ float pageTop();
+ double width();
+ double height();
double scale();
private:

Powered by Google App Engine
This is Rietveld 408576698