Index: third_party/WebKit/Source/modules/installedapp/InstalledApp.idl |
diff --git a/third_party/WebKit/Source/modules/speech/SpeechRecognitionResultList.idl b/third_party/WebKit/Source/modules/installedapp/InstalledApp.idl |
similarity index 79% |
copy from third_party/WebKit/Source/modules/speech/SpeechRecognitionResultList.idl |
copy to third_party/WebKit/Source/modules/installedapp/InstalledApp.idl |
index e93a5cfc7a2a4dba856570380cffd88469b2727f..f31296b0e1943d32aa5de1975a67ae20a6f732ca 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechRecognitionResultList.idl |
+++ b/third_party/WebKit/Source/modules/installedapp/InstalledApp.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2012 Google Inc. All rights reserved. |
+ * Copyright (C) 2015 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -24,9 +24,10 @@ |
*/ |
[ |
+ Exposed=(Window,Worker), |
GarbageCollected, |
- NoInterfaceObject |
-] interface SpeechRecognitionResultList { |
- readonly attribute unsigned long length; |
- getter SpeechRecognitionResult item(unsigned long index); |
+ RuntimeEnabled=InstalledApp, |
+] interface InstalledApp { |
+ [CallWith=ScriptState] static Promise<boolean> isAppInstalled(DOMString asset1, DOMString asset2); |
+ [CallWith=ScriptState] static Promise<boolean> isNativeAppInstalled(Dictionary keys); |
}; |