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

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

Issue 1186823014: [bindings] Eliminate custom bindings for DeviceOrientationEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Initialize the constructor to be null Created 5 years, 6 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/DeviceOrientationEvent.h
diff --git a/Source/modules/device_orientation/DeviceOrientationEvent.h b/Source/modules/device_orientation/DeviceOrientationEvent.h
index 34e8aa67ebdcb2801d1f735e2b293d3327568d01..431fcfeb9161609f2ad1c453c6fd855b39389d06 100644
--- a/Source/modules/device_orientation/DeviceOrientationEvent.h
+++ b/Source/modules/device_orientation/DeviceOrientationEvent.h
@@ -26,6 +26,7 @@
#ifndef DeviceOrientationEvent_h
#define DeviceOrientationEvent_h
+#include "bindings/core/v8/Nullable.h"
#include "modules/EventModules.h"
#include "platform/heap/Handle.h"
@@ -46,7 +47,7 @@ public:
return adoptRefWillBeNoop(new DeviceOrientationEvent(eventType, orientation));
}
- void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, DeviceOrientationData*);
+ void initDeviceOrientationEvent(const AtomicString& type, bool bubbles, bool cancelable, const Nullable<double>& alpha, const Nullable<double>& beta, const Nullable<double>& gamma, const Nullable<bool>& absolute);
DeviceOrientationData* orientation() const { return m_orientation.get(); }

Powered by Google App Engine
This is Rietveld 408576698