diff options
Diffstat (limited to 'Source/WebCore/platform/qt/QWebPageClient.h')
-rw-r--r-- | Source/WebCore/platform/qt/QWebPageClient.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/qt/QWebPageClient.h b/Source/WebCore/platform/qt/QWebPageClient.h index c9211044c..c37abff62 100644 --- a/Source/WebCore/platform/qt/QWebPageClient.h +++ b/Source/WebCore/platform/qt/QWebPageClient.h @@ -34,6 +34,7 @@ #include <QRect> QT_BEGIN_NAMESPACE +class QOpenGLContext; class QStyle; class QWindow; QT_END_NAMESPACE @@ -54,6 +55,7 @@ public: virtual void setInputMethodEnabled(bool) = 0; virtual bool inputMethodEnabled() const = 0; virtual bool makeOpenGLContextCurrentIfAvailable() { return false; } + virtual QOpenGLContext* openGLContextIfAvailable() { return 0; } virtual void setInputMethodHints(Qt::InputMethodHints) = 0; virtual bool isViewVisible() = 0; |