webengine/osswebengine/WebKit/s60/webcoresupport/WebChromeClient.h
changeset 15 60c5402cb945
parent 5 10e98eab6f85
child 25 0ed94ceaa377
--- a/webengine/osswebengine/WebKit/s60/webcoresupport/WebChromeClient.h	Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/osswebengine/WebKit/s60/webcoresupport/WebChromeClient.h	Mon Oct 26 08:28:45 2009 +0200
@@ -99,13 +99,20 @@
         virtual void setToolTip(const WebCore::String&) {}
 
         virtual void print(WebCore::Frame*) {}
-        void setElementVisibilityChanged(bool visibility) {
-            m_visibility = visibility;
-        }
+        void setElementVisibilityChanged(bool visibility);
 
         bool elementVisibilityChanged() {
             return m_visibility;   
         }
+		
+		 bool elementVisibilityChangedByMouse() {
+            return m_visibilityByMouse;
+        }
+        
+        bool elementVisibilityChangedByKey() {
+            return m_visibilityByKey;
+        }
+		
         virtual void focusedElementChanged(WebCore::Element*);
         
 protected: // new functions
@@ -115,6 +122,8 @@
     WebView *m_webView;
     void GetDateAndTimeL(TDes& date, TDes& time) const;
     bool m_visibility;
+    bool m_visibilityByMouse;
+    bool m_visibilityByKey;
 };