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

Unified Diff: public/platform/Platform.h

Issue 171683015: Screen Orientation API: Add support for lockOrientation() / unlockOrientation() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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/modules/screen_orientation/ScreenOrientation.cpp ('k') | public/platform/WebScreenOrientation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index ed123faa5840f8d7d6f39a7211fa98e232034e86..40214beabcf07bb76d8bcb3a3070d9a825edfd95 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -41,6 +41,7 @@
#include "WebGamepads.h"
#include "WebGraphicsContext3D.h"
#include "WebLocalizedString.h"
+#include "WebScreenOrientation.h"
#include "WebSpeechSynthesizer.h"
#include "WebStorageQuotaCallbacks.h"
#include "WebStorageQuotaType.h"
@@ -609,6 +610,8 @@ public:
// Screen Orientation -------------------------------------------------
virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { }
+ virtual void lockOrientation(WebScreenOrientations) { }
+ virtual void unlockOrientation() { }
// Quota -----------------------------------------------------------
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientation.cpp ('k') | public/platform/WebScreenOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698