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

Unified Diff: modules/netinfo/NetworkInformation.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 9 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: modules/netinfo/NetworkInformation.idl
diff --git a/modules/netinfo/NetworkInformation.idl b/modules/netinfo/NetworkInformation.idl
index 166c2b5658d1df95c2f45cb35f43a7f38f1a3916..c45ccdb04fd99f798098570615019dbdb8bb2d9f 100644
--- a/modules/netinfo/NetworkInformation.idl
+++ b/modules/netinfo/NetworkInformation.idl
@@ -7,18 +7,23 @@ enum ConnectionType {
"bluetooth",
"ethernet",
"wifi",
+ "wimax",
"other",
"none",
"unknown"
};
+typedef unrestricted double Megabit;
+
[
RuntimeEnabled=NetworkInformation,
Exposed=(Window,Worker),
GarbageCollected,
- ActiveDOMObject
+ DependentLifetime
] interface NetworkInformation : EventTarget {
- readonly attribute ConnectionType type;
- attribute EventHandler ontypechange;
+ [MeasureAs=NetInfoType] readonly attribute ConnectionType type;
+ [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax;
+ [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnChange] attribute EventHandler onchange;
+ [MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange;
};
« no previous file with comments | « modules/navigatorconnect/ServiceWorkerGlobalScopeNavigatorConnect.idl ('k') | modules/nfc/MessageCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698