summaryrefslogtreecommitdiffstats
path: root/WebCore/page/Navigator.idl
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2010-02-08 21:23:18 +0000
committerAndrei Popescu <andreip@google.com>2010-02-09 12:23:35 +0000
commit151150803320bb522017b71c36e1855764d640f8 (patch)
tree8fc8ce4e94510d3d280561b798231bfbfbbc751e /WebCore/page/Navigator.idl
parent8ff7f98227af2858af086841a95a89458921dbbc (diff)
downloadexternal_webkit-151150803320bb522017b71c36e1855764d640f8.zip
external_webkit-151150803320bb522017b71c36e1855764d640f8.tar.gz
external_webkit-151150803320bb522017b71c36e1855764d640f8.tar.bz2
Implement navigator.isApplicationInstalled() API
This CL contains the V8 DOM bindings and IDL changes. Fix b:2371005
Diffstat (limited to 'WebCore/page/Navigator.idl')
-rw-r--r--WebCore/page/Navigator.idl5
1 files changed, 5 insertions, 0 deletions
diff --git a/WebCore/page/Navigator.idl b/WebCore/page/Navigator.idl
index 215316f..8eae9d6 100644
--- a/WebCore/page/Navigator.idl
+++ b/WebCore/page/Navigator.idl
@@ -45,6 +45,11 @@ module window {
readonly attribute Connection connection;
#endif
+#if defined(ENABLE_APPLICATION_INSTALLED) && ENABLE_APPLICATION_INSTALLED
+ // ANDROID-only for now.
+ [Custom] void isApplicationInstalled(in DOMString applicationName, in ApplicationInstalledCallback callback);
+#endif
+
#if defined(ENABLE_GEOLOCATION) && ENABLE_GEOLOCATION
readonly attribute [EnabledAtRuntime] Geolocation geolocation;
#endif