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

Side by Side Diff: Source/WebKit/wx/WebKitSupport/FrameLoaderClientWx.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) 2007 Kevin Ollivier <kevino@theolliviers.com> 2 * Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com>
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * All rights reserved. 5 * All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 #if __WXMSW__ || __WXMAC__ 897 #if __WXMSW__ || __WXMAC__
898 RefPtr<PluginView> pv = PluginView::create(m_frame, size, element, url, para mNames, paramValues, mimeType, loadManually); 898 RefPtr<PluginView> pv = PluginView::create(m_frame, size, element, url, para mNames, paramValues, mimeType, loadManually);
899 if (pv->status() == PluginStatusLoadedSuccessfully) 899 if (pv->status() == PluginStatusLoadedSuccessfully)
900 return pv; 900 return pv;
901 #endif 901 #endif
902 return 0; 902 return 0;
903 } 903 }
904 904
905 void FrameLoaderClientWx::redirectDataToPlugin(Widget* pluginWidget) 905 void FrameLoaderClientWx::redirectDataToPlugin(Widget* pluginWidget)
906 { 906 {
907 ASSERT(!m_pluginView);
908 m_pluginView = static_cast<PluginView*>(pluginWidget); 907 m_pluginView = static_cast<PluginView*>(pluginWidget);
909 m_hasSentResponseToPlugin = false; 908 if (pluginWidget)
909 m_hasSentResponseToPlugin = false;
910 } 910 }
911 911
912 ResourceError FrameLoaderClientWx::pluginWillHandleLoadError(const ResourceRespo nse& response) 912 ResourceError FrameLoaderClientWx::pluginWillHandleLoadError(const ResourceRespo nse& response)
913 { 913 {
914 notImplemented(); 914 notImplemented();
915 return ResourceError(String(), WebKitErrorCannotLoadPlugIn, response.url().s tring(), String()); 915 return ResourceError(String(), WebKitErrorCannotLoadPlugIn, response.url().s tring(), String());
916 } 916 }
917 917
918 PassRefPtr<Widget> FrameLoaderClientWx::createJavaAppletWidget(const IntSize&, H TMLAppletElement*, const KURL& baseURL, 918 PassRefPtr<Widget> FrameLoaderClientWx::createJavaAppletWidget(const IntSize&, H TMLAppletElement*, const KURL& baseURL,
919 const Vector<String>& paramN ames, const Vector<String>& paramValues) 919 const Vector<String>& paramN ames, const Vector<String>& paramValues)
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 // not be used for pages with plugins in them. 1003 // not be used for pages with plugins in them.
1004 return false; 1004 return false;
1005 } 1005 }
1006 1006
1007 PassRefPtr<FrameNetworkingContext> FrameLoaderClientWx::createNetworkingContext( ) 1007 PassRefPtr<FrameNetworkingContext> FrameLoaderClientWx::createNetworkingContext( )
1008 { 1008 {
1009 return FrameNetworkingContextWx::create(m_frame); 1009 return FrameNetworkingContextWx::create(m_frame);
1010 } 1010 }
1011 1011
1012 } 1012 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698