Index: third_party/WebKit/Source/modules/budget/NavigatorBudget.idl |
diff --git a/third_party/WebKit/Source/modules/budget/NavigatorBudget.idl b/third_party/WebKit/Source/modules/budget/NavigatorBudget.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..176c4137a86969c2ff92d337739cace861537f95 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/budget/NavigatorBudget.idl |
@@ -0,0 +1,14 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://beverloo.github.io/budget-api/#navigator-budget-interface |
+// TODO(harkness): Link WICG spec when it exists. |
+ |
+[ |
+ Exposed=(Window, Worker), |
+ RuntimeEnabled=Budget |
+] partial interface Navigator { |
+ // TODO(harkness): In the spec, this is not a partial interface. |
+ readonly attribute Budget budget; |
+}; |