diff options
author | Steve Block <steveblock@google.com> | 2010-02-02 23:37:57 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-02-03 12:56:24 +0000 |
commit | c3383706d5fe846f5d60ab78e131cfd1e986e310 (patch) | |
tree | c4679ead62e930dc5513ff74f733c49c5f621705 /WebCore/page/Navigator.idl | |
parent | 3644bb8261d51f355ba21fe58f641b528febe812 (diff) | |
download | external_webkit-c3383706d5fe846f5d60ab78e131cfd1e986e310.zip external_webkit-c3383706d5fe846f5d60ab78e131cfd1e986e310.tar.gz external_webkit-c3383706d5fe846f5d60ab78e131cfd1e986e310.tar.bz2 |
Guard the new Navigator connection property with a temporary ENABLE_CONNECTION guard until it is upstreamed.
This is required to build Android WebKit for Mac.
The guard will be removed once the connection property is upstreamed.
Change-Id: I874e832b80dc682a49cae4df1fc6970283909ef3
Diffstat (limited to 'WebCore/page/Navigator.idl')
-rw-r--r-- | WebCore/page/Navigator.idl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/page/Navigator.idl b/WebCore/page/Navigator.idl index f3079de..168cf8c 100644 --- a/WebCore/page/Navigator.idl +++ b/WebCore/page/Navigator.idl @@ -39,8 +39,10 @@ module window { readonly attribute boolean onLine; +#if defined(ENABLE_CONNECTION) && ENABLE_CONNECTION // ANDROID-only for now, upstreaming in progress. readonly attribute Connection connection; +#endif #if defined(ENABLE_GEOLOCATION) && ENABLE_GEOLOCATION readonly attribute Geolocation geolocation; |