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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.idl

Issue 2174023002: Add UseCounters for ViewportAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/VisualViewport.idl
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.idl b/third_party/WebKit/Source/core/frame/VisualViewport.idl
index 0f2f65fa5df18a3cf5c62c4e815286d61a0ef3b6..922befec33d05e4d6b058913ab8c36e2f9f9003e 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.idl
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.idl
@@ -30,16 +30,16 @@
RuntimeEnabled=VisualViewportAPI,
ImplementedAs=DOMVisualViewport,
] interface VisualViewport : EventTarget {
- readonly attribute double scrollLeft;
- readonly attribute double scrollTop;
+ [Measure] readonly attribute double scrollLeft;
+ [Measure] readonly attribute double scrollTop;
- readonly attribute double pageX;
- readonly attribute double pageY;
+ [Measure] readonly attribute double pageX;
+ [Measure] readonly attribute double pageY;
- readonly attribute double clientWidth;
- readonly attribute double clientHeight;
+ [Measure] readonly attribute double clientWidth;
+ [Measure] readonly attribute double clientHeight;
- readonly attribute double scale;
+ [Measure] readonly attribute double scale;
attribute EventHandler onresize;
attribute EventHandler onscroll;
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698