OLD | NEW |
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) 2008 Nokia Corporation and/or its subsidiary(-ies) | 4 * Copyright (C) 2008 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 * Copyright (C) 2008 Holger Hans Peter Freyther | 6 * Copyright (C) 2008 Holger Hans Peter Freyther |
7 * Copyright (C) 2008 Kenneth Rohde Christiansen | 7 * Copyright (C) 2008 Kenneth Rohde Christiansen |
8 * Copyright (C) 2009-2010 ProFUSION embedded systems | 8 * Copyright (C) 2009-2010 ProFUSION embedded systems |
9 * Copyright (C) 2009-2010 Samsung Electronics | 9 * Copyright (C) 2009-2010 Samsung Electronics |
10 * Copyright (C) 2012 Intel Corporation | 10 * Copyright (C) 2012 Intel Corporation |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 PassRefPtr<Frame> FrameLoaderClientEfl::createFrame(const KURL& url, const Strin
g& name, HTMLFrameOwnerElement* ownerElement, const String& referrer, bool allow
sScrolling, int marginWidth, int marginHeight) | 364 PassRefPtr<Frame> FrameLoaderClientEfl::createFrame(const KURL& url, const Strin
g& name, HTMLFrameOwnerElement* ownerElement, const String& referrer, bool allow
sScrolling, int marginWidth, int marginHeight) |
365 { | 365 { |
366 ASSERT(m_frame); | 366 ASSERT(m_frame); |
367 ASSERT(m_view); | 367 ASSERT(m_view); |
368 | 368 |
369 return ewk_view_frame_create(m_view, m_frame, name, ownerElement, url, refer
rer); | 369 return ewk_view_frame_create(m_view, m_frame, name, ownerElement, url, refer
rer); |
370 } | 370 } |
371 | 371 |
372 void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget) | 372 void FrameLoaderClientEfl::redirectDataToPlugin(Widget* pluginWidget) |
373 { | 373 { |
374 ASSERT(!m_pluginView); | |
375 m_pluginView = static_cast<PluginView*>(pluginWidget); | 374 m_pluginView = static_cast<PluginView*>(pluginWidget); |
376 m_hasSentResponseToPlugin = false; | 375 if (pluginWidget) |
| 376 m_hasSentResponseToPlugin = false; |
377 } | 377 } |
378 | 378 |
379 PassRefPtr<Widget> FrameLoaderClientEfl::createJavaAppletWidget(const IntSize&,
HTMLAppletElement*, const KURL& baseURL, | 379 PassRefPtr<Widget> FrameLoaderClientEfl::createJavaAppletWidget(const IntSize&,
HTMLAppletElement*, const KURL& baseURL, |
380 const Vector<Str
ing>& paramNames, const Vector<String>& paramValues) | 380 const Vector<Str
ing>& paramNames, const Vector<String>& paramValues) |
381 { | 381 { |
382 notImplemented(); | 382 notImplemented(); |
383 return 0; | 383 return 0; |
384 } | 384 } |
385 | 385 |
386 ObjectContentType FrameLoaderClientEfl::objectContentType(const KURL& url, const
String& mimeType, bool shouldPreferPlugInsForImages) | 386 ObjectContentType FrameLoaderClientEfl::objectContentType(const KURL& url, const
String& mimeType, bool shouldPreferPlugInsForImages) |
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 ewk_frame_intent_service_register(m_frame, &serviceInfo); | 1041 ewk_frame_intent_service_register(m_frame, &serviceInfo); |
1042 } | 1042 } |
1043 #endif | 1043 #endif |
1044 | 1044 |
1045 PassRefPtr<FrameNetworkingContext> FrameLoaderClientEfl::createNetworkingContext
() | 1045 PassRefPtr<FrameNetworkingContext> FrameLoaderClientEfl::createNetworkingContext
() |
1046 { | 1046 { |
1047 return FrameNetworkingContextEfl::create(EWKPrivate::coreFrame(m_frame), m_f
rame); | 1047 return FrameNetworkingContextEfl::create(EWKPrivate::coreFrame(m_frame), m_f
rame); |
1048 } | 1048 } |
1049 | 1049 |
1050 } | 1050 } |
OLD | NEW |