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

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, 8 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 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() { }
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationDispatcher.cpp ('k') | public/platform/WebScreenOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698