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

Unified Diff: third_party/WebKit/Source/core/events/NavigatorEvents.idl

Issue 2217773004: Added navigator.pointerEnabled behind a flag for experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased, removed custom binding, fixed a test. Created 4 years, 4 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/events/NavigatorEvents.idl
diff --git a/third_party/WebKit/Source/core/events/NavigatorEvents.idl b/third_party/WebKit/Source/core/events/NavigatorEvents.idl
index 433a9443aab10dc1df6e906cb4e0432ddf0c7a4b..3f63b06e673edd85f54ac60f4617843e03fe39d1 100644
--- a/third_party/WebKit/Source/core/events/NavigatorEvents.idl
+++ b/third_party/WebKit/Source/core/events/NavigatorEvents.idl
@@ -32,4 +32,9 @@
partial interface Navigator {
readonly attribute long maxTouchPoints;
+
+ // TODO(mustaq): This is a non-standard attribute, added only to estimate
+ // potential risks. The attribute will be removed once we have the
+ // UseCounter data. See crbug.com/631897.
+ [RuntimeEnabled=PointerEvent,MeasureAs=NavigatorPointerEnabled] readonly attribute boolean pointerEnabled;
foolip 2016/08/11 21:14:32 You can use just [Measure] to get the generated na
mustaq 2016/08/12 17:28:48 Done.
};
« no previous file with comments | « third_party/WebKit/Source/core/events/NavigatorEvents.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698