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

Unified Diff: modules/screen_orientation/ScreenOrientation.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « modules/push_messaging/ServiceWorkerRegistrationPush.idl ('k') | modules/serviceworkers/Body.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/screen_orientation/ScreenOrientation.idl
diff --git a/modules/screen_orientation/ScreenOrientation.idl b/modules/screen_orientation/ScreenOrientation.idl
index 057ad37c57456f156759e2b2ef6064941351d3be..8569fbd969b76a2fc7ee0777ce1be7afc3b1e9c4 100644
--- a/modules/screen_orientation/ScreenOrientation.idl
+++ b/modules/screen_orientation/ScreenOrientation.idl
@@ -24,11 +24,11 @@ enum OrientationType {
GarbageCollected,
RuntimeEnabled=ScreenOrientation
] interface ScreenOrientation : EventTarget {
- readonly attribute unsigned short angle;
- readonly attribute DOMString type;
+ [MeasureAs=ScreenOrientationAngle] readonly attribute unsigned short angle;
+ [MeasureAs=ScreenOrientationType] readonly attribute DOMString type;
- [CallWith=ScriptState] Promise lock(OrientationLockType orientation);
- void unlock();
+ [CallWith=ScriptState, MeasureAs=ScreenOrientationLock] Promise lock(OrientationLockType orientation);
+ [MeasureAs=ScreenOrientationUnlock] void unlock();
attribute EventHandler onchange;
};
« no previous file with comments | « modules/push_messaging/ServiceWorkerRegistrationPush.idl ('k') | modules/serviceworkers/Body.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698