Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp

Issue 10905105: Merge 125500 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Zack Rusin <zack@kde.org> 2 * Copyright (C) 2006 Zack Rusin <zack@kde.org>
3 * Copyright (C) 2006, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2006, 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) 4 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies)
5 * Copyright (C) 2008 Collabora Ltd. All rights reserved. 5 * Copyright (C) 2008 Collabora Ltd. All rights reserved.
6 * Coypright (C) 2008 Holger Hans Peter Freyther 6 * Coypright (C) 2008 Holger Hans Peter Freyther
7 * Coypright (C) 2009, 2010 Girish Ramakrishnan <girish@forwardbias.in> 7 * Coypright (C) 2009, 2010 Girish Ramakrishnan <girish@forwardbias.in>
8 * 8 *
9 * All rights reserved. 9 * All rights reserved.
10 * 10 *
(...skipping 1615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 params, values, mimeType, loadManually); 1626 params, values, mimeType, loadManually);
1627 return pluginView; 1627 return pluginView;
1628 } 1628 }
1629 #endif // ENABLE(NETSCAPE_PLUGIN_API) 1629 #endif // ENABLE(NETSCAPE_PLUGIN_API)
1630 1630
1631 return 0; 1631 return 0;
1632 } 1632 }
1633 1633
1634 void FrameLoaderClientQt::redirectDataToPlugin(Widget* pluginWidget) 1634 void FrameLoaderClientQt::redirectDataToPlugin(Widget* pluginWidget)
1635 { 1635 {
1636 ASSERT(!m_pluginView);
1637 m_pluginView = static_cast<PluginView*>(pluginWidget); 1636 m_pluginView = static_cast<PluginView*>(pluginWidget);
1638 m_hasSentResponseToPlugin = false; 1637 if (pluginWidget)
1638 m_hasSentResponseToPlugin = false;
1639 } 1639 }
1640 1640
1641 PassRefPtr<Widget> FrameLoaderClientQt::createJavaAppletWidget(const IntSize& pl uginSize, HTMLAppletElement* element, const KURL& url, 1641 PassRefPtr<Widget> FrameLoaderClientQt::createJavaAppletWidget(const IntSize& pl uginSize, HTMLAppletElement* element, const KURL& url,
1642 const Vector<String>& paramN ames, const Vector<String>& paramValues) 1642 const Vector<String>& paramN ames, const Vector<String>& paramValues)
1643 { 1643 {
1644 return createPlugin(pluginSize, element, url, paramNames, paramValues, "appl ication/x-java-applet", true); 1644 return createPlugin(pluginSize, element, url, paramNames, paramValues, "appl ication/x-java-applet", true);
1645 } 1645 }
1646 1646
1647 String FrameLoaderClientQt::overrideMediaType() const 1647 String FrameLoaderClientQt::overrideMediaType() const
1648 { 1648 {
(...skipping 29 matching lines...) Expand all
1678 1678
1679 QWebPage* webPage = m_webFrame->page(); 1679 QWebPage* webPage = m_webFrame->page();
1680 if (wasOriginatingLoad && webPage) 1680 if (wasOriginatingLoad && webPage)
1681 emit webPage->loadFinished(ok); 1681 emit webPage->loadFinished(ok);
1682 emit m_webFrame->loadFinished(ok); 1682 emit m_webFrame->loadFinished(ok);
1683 } 1683 }
1684 1684
1685 } 1685 }
1686 1686
1687 #include "moc_FrameLoaderClientQt.cpp" 1687 #include "moc_FrameLoaderClientQt.cpp"
OLDNEW
« no previous file with comments | « Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp ('k') | Source/WebKit/win/WebCoreSupport/WebFrameLoaderClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698