diff options
author | Ben Murdoch <benm@google.com> | 2010-06-23 19:56:02 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-06-30 18:32:45 +0100 |
commit | 60950638e3cf833c59b11f87d2cf170bfb8e169b (patch) | |
tree | 73e06142367cf9bc0998afa49713023f47e3a32b /WebCore/loader/EmptyClients.h | |
parent | 5bde0f53b35681f9195cca182adfbcba8edc47f6 (diff) | |
download | external_webkit-60950638e3cf833c59b11f87d2cf170bfb8e169b.zip external_webkit-60950638e3cf833c59b11f87d2cf170bfb8e169b.tar.gz external_webkit-60950638e3cf833c59b11f87d2cf170bfb8e169b.tar.bz2 |
Detect if we're a webapp from the meta tag and send a message through
to java land if that is the case.
Requires a frameworks/base change.
b/2766917
Change-Id: I6d4034e6316e27c31a36a06063b5968c654fc756
Diffstat (limited to 'WebCore/loader/EmptyClients.h')
-rw-r--r-- | WebCore/loader/EmptyClients.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/loader/EmptyClients.h b/WebCore/loader/EmptyClients.h index 613c7f6..703ee0c 100644 --- a/WebCore/loader/EmptyClients.h +++ b/WebCore/loader/EmptyClients.h @@ -68,6 +68,10 @@ public: virtual float scaleFactor() { return 1.f; } +#if ENABLE(ANDROID_INSTALLABLE_WEB_APPS) + virtual void webAppCanBeInstalled() { } +#endif + #ifdef ANDROID_USER_GESTURE virtual void focus(bool userGesture) { } #else |