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

Unified Diff: Source/modules/geolocation/PositionOptions.idl

Issue 745503002: Replace Dictionary with PositionOptions in geolocation/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/modules/geolocation/PositionOptions.idl
diff --git a/Source/core/animation/AnimationEffect.idl b/Source/modules/geolocation/PositionOptions.idl
similarity index 51%
copy from Source/core/animation/AnimationEffect.idl
copy to Source/modules/geolocation/PositionOptions.idl
index f5dc6ce2f5788ac2b080b806ce9f3afba8188b3f..693a2dfdced2bff56f9efc2239d71534a852e161 100644
--- a/Source/core/animation/AnimationEffect.idl
+++ b/Source/modules/geolocation/PositionOptions.idl
@@ -2,9 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-[
- RuntimeEnabled=WebAnimationsAPI,
- NoInterfaceObject,
- WillBeGarbageCollected
-] interface AnimationEffect {
+dictionary PositionOptions {
+ boolean enableHighAccuracy = false;
+ [Clamp] unsigned long timeout = 0xFFFFFFFF;
+ [Clamp] unsigned long maximumAge = 0;
};

Powered by Google App Engine
This is Rietveld 408576698