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

Unified Diff: Source/modules/screen_orientation/ScreenOrientation.idl

Issue 272213002: Add support for 'allow-orientation-lock' sandboxing directive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test clean up Created 6 years, 7 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: Source/modules/screen_orientation/ScreenOrientation.idl
diff --git a/Source/modules/screen_orientation/ScreenOrientation.idl b/Source/modules/screen_orientation/ScreenOrientation.idl
index 81a79ca5d285c555a6bbaac6b75999bc9c74be06..310a07b69bcef8ff71409757c0d82d2f4f4942f9 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.idl
+++ b/Source/modules/screen_orientation/ScreenOrientation.idl
@@ -24,7 +24,7 @@ enum OrientationLockType {
] partial interface Screen {
readonly attribute OrientationType orientation;
- boolean lockOrientation(OrientationLockType orientation);
+ [RaisesException] boolean lockOrientation(OrientationLockType orientation);
void unlockOrientation();
};

Powered by Google App Engine
This is Rietveld 408576698