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

Unified Diff: Source/modules/netinfo/NavigatorNetworkInformation.idl

Issue 291203002: Adds NetInfo v3 Web API to Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@netinfo1
Patch Set: Updated tracing macros Created 6 years, 7 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/netinfo/NavigatorNetworkInformation.idl
diff --git a/Source/modules/battery/NavigatorBattery.idl b/Source/modules/netinfo/NavigatorNetworkInformation.idl
similarity index 68%
copy from Source/modules/battery/NavigatorBattery.idl
copy to Source/modules/netinfo/NavigatorNetworkInformation.idl
index 524bf238c12fc3d0cae9056d4e0dd9df8ce44c81..c3ee9e75dddb3af7ae21d13f49605881f2921672 100644
--- a/Source/modules/battery/NavigatorBattery.idl
+++ b/Source/modules/netinfo/NavigatorNetworkInformation.idl
@@ -3,8 +3,7 @@
// found in the LICENSE file.
[
- RuntimeEnabled=BatteryStatus,
+ RuntimeEnabled=NetworkInformation
] partial interface Navigator {
- readonly attribute BatteryManager battery;
+ readonly attribute NetworkInformation connection;
};
-

Powered by Google App Engine
This is Rietveld 408576698