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

Unified Diff: public/platform/Platform.h

Issue 169403006: Screen Orientation API: screen.orientation & orientationchange event (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Take feedback into consideration 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
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index ddd333b52f51cc941b619749e8c7a484a7d8bb10..ed123faa5840f8d7d6f39a7211fa98e232034e86 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -83,6 +83,7 @@ class WebPublicSuffixList;
class WebRTCPeerConnectionHandler;
class WebRTCPeerConnectionHandlerClient;
class WebSandboxSupport;
+class WebScreenOrientationListener;
class WebSocketHandle;
class WebSocketStreamHandle;
class WebSpeechSynthesizer;
@@ -605,6 +606,10 @@ public:
// If null, the platform stops proving device orientation data to the current listener.
virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListener*) { }
+ // Screen Orientation -------------------------------------------------
+
+ virtual void setScreenOrientationListener(blink::WebScreenOrientationListener*) { }
+
// Quota -----------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698