Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 39ba78edfd10072f763d816c7ecdd22f8c809eaa..32a771664055d8965f14439bba5fa19c1b5d5e86 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -44,8 +44,6 @@ |
#include "WebGraphicsContext3D.h" |
#include "WebLocalizedString.h" |
#include "WebLockOrientationCallback.h" |
-#include "WebScreenOrientationLockType.h" |
-#include "WebScreenOrientationType.h" |
#include "WebSpeechSynthesizer.h" |
#include "WebStorageQuotaCallbacks.h" |
#include "WebStorageQuotaType.h" |
@@ -91,7 +89,6 @@ class WebPublicSuffixList; |
class WebRTCPeerConnectionHandler; |
class WebRTCPeerConnectionHandlerClient; |
class WebSandboxSupport; |
-class WebScreenOrientationListener; |
class WebScrollbarBehavior; |
class WebSocketHandle; |
class WebSocketStreamHandle; |
@@ -632,24 +629,6 @@ public: |
virtual void setDeviceLightListener(blink::WebDeviceLightListener*) { } |
- // Screen Orientation ------------------------------------------------- |
- // FIXME: this is meant to be removed when the content layer will be updated. |
- |
- virtual void lockOrientation(WebScreenOrientationLockType) { } |
- // Request a screen orientation lock and pass a |callback| object to be used |
- // to notify of success/failure. The |callback| parameter is expected to be |
- // owned by the implementation. |
- virtual void lockOrientation(WebScreenOrientationLockType orientation, WebLockOrientationCallback* callback) |
- { |
- // FIXME: remove this when |
- // lockOrientation(orientation, callback) will be handled in Chromium. |
- lockOrientation(orientation); |
- |
- delete callback; // prevents memory leak if there is no implementation. |
- } |
- virtual void unlockOrientation() { } |
- |
- |
// Quota ----------------------------------------------------------- |
// Queries the storage partition's storage usage and quota information. |