diff options
author | Andrei Popescu <andreip@google.com> | 2010-02-08 21:23:18 +0000 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2010-02-09 12:23:35 +0000 |
commit | 151150803320bb522017b71c36e1855764d640f8 (patch) | |
tree | 8fc8ce4e94510d3d280561b798231bfbfbbc751e /WebCore/page/Navigator.idl | |
parent | 8ff7f98227af2858af086841a95a89458921dbbc (diff) | |
download | external_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.idl | 5 |
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 |