[GTK] FullScreen signals
[WebKit-https.git] / Source / WebKit / gtk / WebCoreSupport / ChromeClientGtk.h
index e4239e34a6a8b5102436c8e14d4b51c4c5d5724d..5905f567959316b915648e38d165c294cedd9706 100644 (file)
@@ -155,6 +155,7 @@ namespace WebKit {
         virtual bool supportsFullScreenForElement(const Element*, bool withKeyboard);
         virtual void enterFullScreenForElement(Element*);
         virtual void exitFullScreenForElement(Element*);
         virtual bool supportsFullScreenForElement(const Element*, bool withKeyboard);
         virtual void enterFullScreenForElement(Element*);
         virtual void exitFullScreenForElement(Element*);
+        void cancelFullScreen();
 #endif
 
         virtual bool shouldRubberBandInDirection(ScrollDirection) const { return true; }
 #endif
 
         virtual bool shouldRubberBandInDirection(ScrollDirection) const { return true; }
@@ -186,6 +187,9 @@ namespace WebKit {
         unsigned int m_repaintSoonSourceId;
 
         void invalidateWidgetRect(const IntRect&);
         unsigned int m_repaintSoonSourceId;
 
         void invalidateWidgetRect(const IntRect&);
+#if ENABLE(FULLSCREEN_API)
+        RefPtr<Element> m_fullScreenElement;
+#endif
     };
 }
 
     };
 }