Index: modules/app_banner/AppBannerPromptResult.idl |
diff --git a/modules/app_banner/AppBannerPromptResult.idl b/modules/app_banner/AppBannerPromptResult.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6ac8395a0f605c33a6186896ba717391ab9be857 |
--- /dev/null |
+++ b/modules/app_banner/AppBannerPromptResult.idl |
@@ -0,0 +1,13 @@ |
+// Copyright 2015 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. |
+ |
+enum AppBannerPromptOutcome { "accepted", "dismissed" }; |
+ |
+[ |
+ GarbageCollected, |
+ RuntimeEnabled=AppBanner, |
+] interface AppBannerPromptResult { |
+ readonly attribute DOMString platform; |
+ readonly attribute AppBannerPromptOutcome outcome; |
+}; |