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

Unified Diff: public/platform/Platform.h

Issue 219463003: Screen Orientation API: cleanup, simplify and fix implementation. (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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 9f5f30227b9327383e6655966cd0141187ba4f5e..e56f28be8585aa23c1c7fd88135ec189fc873a1b 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -42,7 +42,9 @@
#include "WebGamepads.h"
#include "WebGraphicsContext3D.h"
#include "WebLocalizedString.h"
+// FIXME: WebScreenOrientation.h is only needed because Chrome assumes it is there.
#include "WebScreenOrientation.h"
+#include "WebScreenOrientationLockType.h"
#include "WebSpeechSynthesizer.h"
#include "WebStorageQuotaCallbacks.h"
#include "WebStorageQuotaType.h"
@@ -610,7 +612,7 @@ public:
// Screen Orientation -------------------------------------------------
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { }
- virtual void lockOrientation(WebScreenOrientations) { }
+ virtual void lockOrientation(WebScreenOrientationLockType) { }
virtual void unlockOrientation() { }

Powered by Google App Engine
This is Rietveld 408576698