2011-04-07 Alexis Menard <alexis.menard@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        Build fix when using Phonon as a backend for the multimedia support.

        * WebCoreSupport/ChromeClientQt.cpp:
        (WebCore::ChromeClientQt::ChromeClientQt):
        (WebCore::ChromeClientQt::~ChromeClientQt):
        * WebCoreSupport/ChromeClientQt.h:


git-svn-id: svn://svn.chromium.org/blink/trunk@83162 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent b9837e1a
2011-04-07 Alexis Menard <alexis.menard@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
Build fix when using Phonon as a backend for the multimedia support.
* WebCoreSupport/ChromeClientQt.cpp:
(WebCore::ChromeClientQt::ChromeClientQt):
(WebCore::ChromeClientQt::~ChromeClientQt):
* WebCoreSupport/ChromeClientQt.h:
2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
Reviewed by Kenneth Rohde Christiansen. Reviewed by Kenneth Rohde Christiansen.
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
#include <qtooltip.h> #include <qtooltip.h>
#include <wtf/OwnPtr.h> #include <wtf/OwnPtr.h>
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
#include "FullScreenVideoQt.h" #include "FullScreenVideoQt.h"
#include "HTMLMediaElement.h" #include "HTMLMediaElement.h"
#include "HTMLNames.h" #include "HTMLNames.h"
...@@ -92,7 +92,7 @@ bool ChromeClientQt::dumpVisitedLinksCallbacks = false; ...@@ -92,7 +92,7 @@ bool ChromeClientQt::dumpVisitedLinksCallbacks = false;
ChromeClientQt::ChromeClientQt(QWebPage* webPage) ChromeClientQt::ChromeClientQt(QWebPage* webPage)
: m_webPage(webPage) : m_webPage(webPage)
, m_eventLoop(0) , m_eventLoop(0)
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
, m_fullScreenVideo(0) , m_fullScreenVideo(0)
#endif #endif
{ {
...@@ -104,7 +104,7 @@ ChromeClientQt::~ChromeClientQt() ...@@ -104,7 +104,7 @@ ChromeClientQt::~ChromeClientQt()
if (m_eventLoop) if (m_eventLoop)
m_eventLoop->exit(); m_eventLoop->exit();
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
delete m_fullScreenVideo; delete m_fullScreenVideo;
#endif #endif
} }
...@@ -652,7 +652,7 @@ IntRect ChromeClientQt::visibleRectForTiledBackingStore() const ...@@ -652,7 +652,7 @@ IntRect ChromeClientQt::visibleRectForTiledBackingStore() const
} }
#endif #endif
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
FullScreenVideoQt* ChromeClientQt::fullScreenVideo() FullScreenVideoQt* ChromeClientQt::fullScreenVideo()
{ {
if (!m_fullScreenVideo) if (!m_fullScreenVideo)
......
...@@ -163,7 +163,7 @@ public: ...@@ -163,7 +163,7 @@ public:
virtual void needTouchEvents(bool) { } virtual void needTouchEvents(bool) { }
#endif #endif
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
virtual bool supportsFullscreenForNode(const Node*); virtual bool supportsFullscreenForNode(const Node*);
virtual void enterFullscreenForNode(Node*); virtual void enterFullscreenForNode(Node*);
virtual void exitFullscreenForNode(Node*); virtual void exitFullscreenForNode(Node*);
...@@ -202,7 +202,7 @@ public: ...@@ -202,7 +202,7 @@ public:
bool menuBarVisible; bool menuBarVisible;
QEventLoop* m_eventLoop; QEventLoop* m_eventLoop;
#if ENABLE(VIDEO) #if ENABLE(VIDEO) && (USE(GSTREAMER) || USE(QT_MULTIMEDIA))
FullScreenVideoQt* m_fullScreenVideo; FullScreenVideoQt* m_fullScreenVideo;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment