Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 4212c6a1a43b4ff193496761ae006d41bcd8c004..3a375d132d696a4d4f7bc12d468c0805e425f9c0 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" |
@@ -615,6 +617,7 @@ public: |
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { } |
virtual void lockOrientation(WebScreenOrientations) { } |
+ virtual void lockOrientation(WebScreenOrientationLockType) { } |
virtual void unlockOrientation() { } |