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

Unified Diff: third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl

Issue 10825350: Roll IDL to multivm@762 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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: third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
diff --git a/third_party/WebCore/Modules/battery/NavigatorBattery.idl b/third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
similarity index 71%
copy from third_party/WebCore/Modules/battery/NavigatorBattery.idl
copy to third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
index 5c2147274f944a5c0d988b0f732e16cbb2c88a52..826090f776017877c33d0ca41856aa355cbc92b7 100644
--- a/third_party/WebCore/Modules/battery/NavigatorBattery.idl
+++ b/third_party/WebCore/Modules/proximity/DeviceProximityEvent.idl
@@ -17,14 +17,15 @@
* Boston, MA 02110-1301, USA.
*/
-module window {
+module core {
interface [
- Conditional=BATTERY_STATUS,
- Supplemental=Navigator
- ] NavigatorBattery {
- readonly attribute BatteryManager webkitBattery;
+ Conditional=PROXIMITY_EVENTS,
+ ConstructorTemplate=Event
+ ] DeviceProximityEvent : Event {
+ readonly attribute [InitializedByEventConstructor] double value;
+ readonly attribute [InitializedByEventConstructor] double min;
+ readonly attribute [InitializedByEventConstructor] double max;
};
}
-

Powered by Google App Engine
This is Rietveld 408576698