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

Unified Diff: Source/core/loader/EmptyClients.h

Issue 18456004: Delete dead Device Motion code in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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/core/core.gypi ('k') | Source/core/platform/mock/DeviceMotionClientMock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/EmptyClients.h
diff --git a/Source/core/loader/EmptyClients.h b/Source/core/loader/EmptyClients.h
index cb093e5e5fa235d19bf6dedf6daa9ee4156cae9c..221ee03749ed96ae21c40b5cd8cfa1e26959db50 100644
--- a/Source/core/loader/EmptyClients.h
+++ b/Source/core/loader/EmptyClients.h
@@ -43,7 +43,6 @@
#include "core/platform/graphics/FloatRect.h"
#include "core/platform/network/ResourceError.h"
#include "core/platform/text/TextCheckerClient.h"
-#include "modules/device_orientation/DeviceMotionClient.h"
#include "public/platform/WebScreenInfo.h"
#include "wtf/Forward.h"
@@ -373,13 +372,6 @@ public:
virtual void stopUpdating() OVERRIDE { }
};
-class EmptyDeviceMotionClient : public DeviceMotionClient {
-public:
- virtual void setController(DeviceMotionController*) OVERRIDE { }
- virtual DeviceMotionData* lastMotion() const OVERRIDE { return 0; }
- virtual void deviceMotionControllerDestroyed() OVERRIDE { }
-};
-
class EmptyDeviceOrientationClient : public DeviceOrientationClient {
public:
virtual void setController(DeviceOrientationController*) OVERRIDE { }
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/platform/mock/DeviceMotionClientMock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698