Changeset 65796 in webkit
- Timestamp:
- Aug 23, 2010 1:10:30 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/ChangeLog
r65789 r65796 1 2010-08-20 Girish Ramakrishnan <girish@forwardbias.in> 2 3 Reviewed by Ariya Hidayat. 4 5 [Qt] Allow wmode=transparent in QWebView on Maemo5 after r65775. 6 7 https://bugs.webkit.org/show_bug.cgi?id=44043 8 9 * WebCoreSupport/FrameLoaderClientQt.cpp: 10 (WebCore::FrameLoaderClientQt::createPlugin): 11 1 12 2010-08-22 Marc Mutz <marc.mutz@kdab.com> 2 13 -
trunk/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r65711 r65796 5 5 * Copyright (C) 2008 Collabora Ltd. All rights reserved. 6 6 * Coypright (C) 2008 Holger Hans Peter Freyther 7 * Coypright (C) 2009 Girish Ramakrishnan <girish@forwardbias.in>7 * Coypright (C) 2009, 2010 Girish Ramakrishnan <girish@forwardbias.in> 8 8 * 9 9 * All rights reserved. … … 1464 1464 if (mimeType == "application/x-shockwave-flash") { 1465 1465 QWebPageClient* client = m_webFrame->page()->d->client; 1466 const bool isQWebView = client && qobject_cast<QWidget*>(client->pluginParent()); 1466 1467 #if defined(MOZ_PLATFORM_MAEMO) && (MOZ_PLATFORM_MAEMO == 5) 1467 if (true) { 1468 size_t wmodeIndex = params.find("wmode"); 1469 if (wmodeIndex == -1) { 1470 // Disable XEmbed mode and force it to opaque mode 1471 params.append("wmode"); 1472 values.append("opaque"); 1473 } else if (!isQWebView) { 1474 // Disable transparency if client is not a QWebView 1475 values[wmodeIndex] = "opaque"; 1476 } 1468 1477 #else 1469 if (!client || !qobject_cast<QWidget*>(client->pluginParent())) { 1470 #endif 1478 if (!isQWebView) { 1471 1479 // inject wmode=opaque when there is no client or the client is not a QWebView 1472 1480 size_t wmodeIndex = params.find("wmode"); … … 1477 1485 values[wmodeIndex] = "opaque"; 1478 1486 } 1487 #endif 1479 1488 } 1480 1489
Note: See TracChangeset
for help on using the changeset viewer.