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

Unified Diff: Source/modules/device_orientation/DeviceMotionController.h

Issue 256593010: Gracefully support Navigator Gamepad methods in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Have document supplements keep a reference to their document Created 6 years, 8 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: Source/modules/device_orientation/DeviceMotionController.h
diff --git a/Source/modules/device_orientation/DeviceMotionController.h b/Source/modules/device_orientation/DeviceMotionController.h
index 266ff0ffb04c82af03e262b047325f8be2d420aa..2c43db6c3aa460545deadc051af7ea6279cf4982 100644
--- a/Source/modules/device_orientation/DeviceMotionController.h
+++ b/Source/modules/device_orientation/DeviceMotionController.h
@@ -62,6 +62,9 @@ private:
virtual bool hasLastData() OVERRIDE;
virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE;
virtual bool isNullEvent(Event*) OVERRIDE;
+ virtual Document* document() OVERRIDE;
+
+ Document& m_document;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/battery/BatteryManager.cpp ('k') | Source/modules/device_orientation/DeviceMotionController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698