Changeset 111993 in webkit
- Timestamp:
- Mar 24, 2012 8:23:56 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r111931 r111993 1 2012-03-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 [Qt][WK2] Implement PageClient::isViewWindowActive() 4 https://bugs.webkit.org/show_bug.cgi?id=81143 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 This patch implements PageClient::isViewWindowActive() 9 now that QQuickCanvas::isActive() is available (from QWindow). 10 11 * UIProcess/qt/QtPageClient.cpp: 12 (QtPageClient::isViewWindowActive): 13 1 14 2012-03-23 Alexey Proskuryakov <ap@apple.com> 2 15 -
trunk/Source/WebKit2/UIProcess/qt/QtPageClient.cpp
r111859 r111993 30 30 #include "qquickwebview_p_p.h" 31 31 #include <QGuiApplication> 32 #include <QQuickCanvas> 32 33 #include <WebCore/Cursor.h> 33 34 #include <WebCore/DragData.h> … … 256 257 bool QtPageClient::isViewWindowActive() 257 258 { 258 // FIXME: The scene graph does not have the concept of being active or not when this was written. 259 return true; 259 if (!m_webView || !m_webView->canvas()) 260 return false; 261 return m_webView->canvas()->isActive(); 260 262 } 261 263 -
trunk/Tools/ChangeLog
r111945 r111993 1 2012-03-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 2 3 [Qt][WK2] Implement PageClient::isViewWindowActive() 4 https://bugs.webkit.org/show_bug.cgi?id=81143 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Fix the WrapperWindow from our PlatformWebView 9 so it correctly creates the platform related 10 stuff for QWindow, which is not created unless 11 QWindow::setVisible() or QWindow::show() are called. 12 13 * WebKitTestRunner/qt/PlatformWebViewQt.cpp: 14 (WTR::PlatformWebView::PlatformWebView): 15 1 16 2012-03-23 Dirk Pranke <dpranke@chromium.org> 2 17 -
trunk/Tools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
r109326 r111993 77 77 QQuickWebViewExperimental experimental(m_view); 78 78 experimental.setRenderToOffscreenBuffer(true); 79 80 // QWindow does not create the underlying platform 81 // specific bits unless QWindow::setVisible() or QWindow::show() are called, 82 // and without it QWindow::isActive() will always return false. 83 // For these cases QWindow::create() is provided. 84 m_window->create(); 79 85 } 80 86
Note: See TracChangeset
for help on using the changeset viewer.