Reviewed by Adam.
[WebKit-https.git] / WebKit / win / WebView.h
index 199089e31ecbeb87420fddc1abdcb26a28fd429c..ea811b911b81e50079b90b00857f4135ae8f5ddb 100644 (file)
@@ -34,6 +34,7 @@
 #include "WebFrame.h"
 
 #include <WebCore/IntRect.h>
+#include <WebCore/Timer.h>
 #include <wtf/OwnPtr.h>
 
 class WebFrame;
@@ -631,6 +632,7 @@ public:
     void deleteBackingStore();
     void frameRect(RECT* rect);
     void closeWindow();
+    void closeWindowSoon();
     void close();
     bool didClose() const { return m_didClose; }
     void setProhibitsMainFrameScrolling(bool = true);
@@ -673,10 +675,12 @@ protected:
     bool continuousCheckingAllowed();
     void initializeCacheSizesIfNecessary();
     void initializeToolTipWindow();
+    void closeWindowTimerFired(WebCore::Timer<WebView>*);
     void prepareCandidateWindow(WebCore::Frame*, HIMC);
     void updateSelectionForIME();
     bool onIMERequestCharPosition(WebCore::Frame*, IMECHARPOSITION*, LRESULT*);
     bool onIMERequestReconvertString(WebCore::Frame*, RECONVERTSTRING*, LRESULT*);
+
     ULONG m_refCount;
     WebCore::String m_groupName;
     HWND m_hostWindow;
@@ -721,6 +725,8 @@ protected:
     WebCore::String m_toolTip;
 
     static bool s_allowSiteSpecificHacks;
+
+    WebCore::Timer<WebView> m_closeWindowTimer;
 };
 
 #endif