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

Unified Diff: sky/engine/public/platform/Platform.h

Issue 693603005: Remove lots of dead web/ classes. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/frame/UseCounter.cpp ('k') | sky/engine/public/platform/ServiceProvider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() { }
};
« no previous file with comments | « sky/engine/core/frame/UseCounter.cpp ('k') | sky/engine/public/platform/ServiceProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698