| Index: sky/engine/public/platform/Platform.h
|
| diff --git a/sky/engine/public/platform/Platform.h b/sky/engine/public/platform/Platform.h
|
| index 20cbab232d91fd112ba06169eeacc79f8c1f24a6..ede4a519d7942563c12c6530f88ad50b723a8d57 100644
|
| --- a/sky/engine/public/platform/Platform.h
|
| +++ b/sky/engine/public/platform/Platform.h
|
| @@ -40,7 +40,6 @@
|
| #include "WebGestureDevice.h"
|
| #include "WebGraphicsContext3D.h"
|
| #include "WebLocalizedString.h"
|
| -#include "WebPlatformEventType.h"
|
| #include "WebString.h"
|
| #include "WebURLError.h"
|
| #include "WebVector.h"
|
| @@ -62,7 +61,6 @@ class WebClipboard;
|
| class WebCompositorSupport;
|
| class WebConvertableToTraceFormat;
|
| class WebDiscardableMemory;
|
| -class WebPlatformEventListener;
|
| class WebFallbackThemeEngine;
|
| class WebFlingAnimator;
|
| class WebGestureCurveTarget;
|
| @@ -393,18 +391,6 @@ public:
|
| // with |velocity| and already scrolled |cumulativeScroll| pixels.
|
| virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSource, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; }
|
|
|
| -
|
| - // Platform events -----------------------------------------------------
|
| - // Device Orientation, Device Motion, Device Light, Battery, Gamepad.
|
| -
|
| - // Request the platform to start listening to the events of the specified
|
| - // type and notify the given listener (if not null) when there is an update.
|
| - virtual void startListening(WebPlatformEventType type, WebPlatformEventListener* listener) { }
|
| -
|
| - // Request the platform to stop listening to the specified event and no
|
| - // longer notify the listener, if any.
|
| - virtual void stopListening(WebPlatformEventType type) { }
|
| -
|
| protected:
|
| virtual ~Platform() { }
|
| };
|
|
|