summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h')
-rw-r--r--Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
index 0ae4587..7b441f4 100644
--- a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
+++ b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
@@ -20,21 +20,37 @@
#ifndef PlatformVideoWindowPrivate_h
#define PlatformVideoWindowPrivate_h
+#include <QTimer>
#include <QWidget>
class QKeyEvent;
namespace WebCore {
+class HTMLVideoElement;
+
class FullScreenVideoWindow: public QWidget {
Q_OBJECT
public:
FullScreenVideoWindow();
+ void setVideoElement(HTMLVideoElement*);
signals:
void closed();
protected:
- void keyPressEvent(QKeyEvent* ev);
- bool event(QEvent* ev);
+ void closeEvent(QCloseEvent*);
+ void keyPressEvent(QKeyEvent*);
+ bool event(QEvent*);
+
+public slots:
+ void showFullScreen();
+
+private slots:
+ void hideCursor();
+
+private:
+ void showCursor();
+ QTimer m_cursorTimer;
+ HTMLVideoElement* m_mediaElement;
};