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

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

Issue 272213002: Add support for 'allow-orientation-lock' sandboxing directive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert bad local change 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
« no previous file with comments | « Source/core/dom/SandboxFlags.cpp ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/screen_orientation/ScreenOrientation.h
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
index aaae462c2dda426426eabab804ccfbe66cd6df44..72e04c8a9ebfff62114a4e60e05b693ced034bc6 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -16,6 +16,7 @@
namespace WebCore {
class Document;
+class ExceptionState;
class Screen;
class ScreenOrientation FINAL : public NoBaseWillBeGarbageCollectedFinalized<ScreenOrientation>, public WillBeHeapSupplement<Screen>, DOMWindowProperty {
@@ -25,7 +26,7 @@ public:
virtual ~ScreenOrientation();
static const AtomicString& orientation(Screen&);
- static bool lockOrientation(Screen&, const AtomicString& orientation);
+ static bool lockOrientation(Screen&, const AtomicString& orientation, ExceptionState&);
static void unlockOrientation(Screen&);
virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<Screen>::trace(visitor); }
« no previous file with comments | « Source/core/dom/SandboxFlags.cpp ('k') | Source/modules/screen_orientation/ScreenOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698