OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 2 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
3 * Copyright (C) 2011 Apple Inc. All rights reserved. | 3 * Copyright (C) 2011 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 } | 167 } |
168 | 168 |
169 PassRefPtr<Frame> FrameLoaderClientWinCE::createFrame(const KURL& url, const Str
ing& name, HTMLFrameOwnerElement* ownerElement, | 169 PassRefPtr<Frame> FrameLoaderClientWinCE::createFrame(const KURL& url, const Str
ing& name, HTMLFrameOwnerElement* ownerElement, |
170 const String& referrer, bool al
lowsScrolling, int marginWidth, int marginHeight) | 170 const String& referrer, bool al
lowsScrolling, int marginWidth, int marginHeight) |
171 { | 171 { |
172 return m_webView->createFrame(url, name, ownerElement, referrer, allowsScrol
ling, marginWidth, marginHeight); | 172 return m_webView->createFrame(url, name, ownerElement, referrer, allowsScrol
ling, marginWidth, marginHeight); |
173 } | 173 } |
174 | 174 |
175 void FrameLoaderClientWinCE::redirectDataToPlugin(Widget* pluginWidget) | 175 void FrameLoaderClientWinCE::redirectDataToPlugin(Widget* pluginWidget) |
176 { | 176 { |
177 ASSERT(!m_pluginView); | |
178 m_pluginView = static_cast<PluginView*>(pluginWidget); | 177 m_pluginView = static_cast<PluginView*>(pluginWidget); |
179 m_hasSentResponseToPlugin = false; | 178 if (pluginWidget) |
| 179 m_hasSentResponseToPlugin = false; |
180 } | 180 } |
181 | 181 |
182 PassRefPtr<Widget> FrameLoaderClientWinCE::createJavaAppletWidget(const IntSize&
, HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) | 182 PassRefPtr<Widget> FrameLoaderClientWinCE::createJavaAppletWidget(const IntSize&
, HTMLAppletElement*, const KURL&, const Vector<String>&, const Vector<String>&) |
183 { | 183 { |
184 notImplemented(); | 184 notImplemented(); |
185 return 0; | 185 return 0; |
186 } | 186 } |
187 | 187 |
188 ObjectContentType FrameLoaderClientWinCE::objectContentType(const KURL& url, con
st String& mimeType, bool shouldPreferPlugInsForImages) | 188 ObjectContentType FrameLoaderClientWinCE::objectContentType(const KURL& url, con
st String& mimeType, bool shouldPreferPlugInsForImages) |
189 { | 189 { |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 void FrameLoaderClientWinCE::dispatchDidBecomeFrameset(bool) | 634 void FrameLoaderClientWinCE::dispatchDidBecomeFrameset(bool) |
635 { | 635 { |
636 } | 636 } |
637 | 637 |
638 PassRefPtr<WebCore::FrameNetworkingContext> FrameLoaderClientWinCE::createNetwor
kingContext() | 638 PassRefPtr<WebCore::FrameNetworkingContext> FrameLoaderClientWinCE::createNetwor
kingContext() |
639 { | 639 { |
640 return FrameNetworkingContextWinCE::create(m_frame, userAgent(KURL())); | 640 return FrameNetworkingContextWinCE::create(m_frame, userAgent(KURL())); |
641 } | 641 } |
642 | 642 |
643 } // namespace WebKit | 643 } // namespace WebKit |
OLD | NEW |