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

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

Issue 2901203002: Rename VisualViewport properties to match updated spec (Closed)
Patch Set: Make methods const 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..0cb886fb99d88cccae2cf5e170fb5a9593e4d998 100644
--- a/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/DOMVisualViewport.h
@@ -58,13 +58,13 @@ 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();
- double scale();
+ float offsetLeft() const;
+ float offsetTop() const;
+ float pageLeft() const;
+ float pageTop() const;
+ double width() const;
+ double height() const;
+ double scale() const;
private:
explicit DOMVisualViewport(LocalDOMWindow*);
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/frame/DOMVisualViewport.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698