diff options
Diffstat (limited to 'WebKit/android/WebCoreSupport/ChromeClientAndroid.h')
-rw-r--r-- | WebKit/android/WebCoreSupport/ChromeClientAndroid.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/ChromeClientAndroid.h b/WebKit/android/WebCoreSupport/ChromeClientAndroid.h index 7343c88..7ffafcd 100644 --- a/WebKit/android/WebCoreSupport/ChromeClientAndroid.h +++ b/WebKit/android/WebCoreSupport/ChromeClientAndroid.h @@ -28,6 +28,8 @@ #include "ChromeClient.h" +#include "Threading.h" + using namespace WebCore; namespace android { @@ -114,10 +116,14 @@ namespace android { // will be called frequently, so handling should be very fast. virtual void formStateDidChange(const Node*); - // Android-specific + // Android-specific void setWebFrame(android::WebFrame* webframe); + void wakeUpMainThreadWithNewQuota(long newQuota); private: android::WebFrame* m_webFrame; + WTF::ThreadCondition m_quotaThreadCondition; + WTF::Mutex m_quotaThreadLock; + long m_newQuota; }; } |