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

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

Issue 200893004: Remove the ability to lock to multiple orientations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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.h
diff --git a/Source/modules/screen_orientation/ScreenOrientation.h b/Source/modules/screen_orientation/ScreenOrientation.h
index c8ba48bc810c09e309af56ad7a42a772510b453a..7e0d9d1033c3118d349559acf65b92df5811b0d3 100644
--- a/Source/modules/screen_orientation/ScreenOrientation.h
+++ b/Source/modules/screen_orientation/ScreenOrientation.h
@@ -11,7 +11,6 @@
#include "platform/Supplementable.h"
#include "platform/Timer.h"
#include "public/platform/WebScreenOrientation.h"
-#include "wtf/Vector.h"
#include "wtf/text/AtomicString.h"
#include "wtf/text/WTFString.h"
@@ -29,7 +28,6 @@ public:
DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(orientationchange);
static const AtomicString& orientation(Screen&);
- static bool lockOrientation(Screen&, const Vector<String>& orientations);
static bool lockOrientation(Screen&, const AtomicString& orientation);
static void unlockOrientation(Screen&);

Powered by Google App Engine
This is Rietveld 408576698