projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update To 11.40.268.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
modules
/
screen_orientation
/
ScreenOrientation.idl
diff --git
a/src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.idl
b/src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.idl
index
057ad37
..
8569fbd
100644
(file)
--- a/
src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.idl
+++ b/
src/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientation.idl
@@
-24,11
+24,11
@@
enum OrientationType {
GarbageCollected,
RuntimeEnabled=ScreenOrientation
] interface ScreenOrientation : EventTarget {
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;
};
attribute EventHandler onchange;
};