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) 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 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 return; | 1289 return; |
1290 } | 1290 } |
1291 callPolicyFunction(function, PolicyUse); | 1291 callPolicyFunction(function, PolicyUse); |
1292 } | 1292 } |
1293 | 1293 |
1294 void FrameLoaderClientQt::dispatchUnableToImplementPolicy(const WebCore::Resourc
eError&) | 1294 void FrameLoaderClientQt::dispatchUnableToImplementPolicy(const WebCore::Resourc
eError&) |
1295 { | 1295 { |
1296 notImplemented(); | 1296 notImplemented(); |
1297 } | 1297 } |
1298 | 1298 |
1299 void FrameLoaderClientQt::startDownload(const WebCore::ResourceRequest& request) | 1299 void FrameLoaderClientQt::startDownload(const WebCore::ResourceRequest& request,
const String& /* suggestedName */) |
1300 { | 1300 { |
1301 if (!m_webFrame) | 1301 if (!m_webFrame) |
1302 return; | 1302 return; |
1303 | 1303 |
1304 emit m_webFrame->page()->downloadRequested(request.toNetworkRequest(m_webFra
me)); | 1304 emit m_webFrame->page()->downloadRequested(request.toNetworkRequest(m_webFra
me)); |
1305 } | 1305 } |
1306 | 1306 |
1307 PassRefPtr<Frame> FrameLoaderClientQt::createFrame(const KURL& url, const String
& name, HTMLFrameOwnerElement* ownerElement, | 1307 PassRefPtr<Frame> FrameLoaderClientQt::createFrame(const KURL& url, const String
& name, HTMLFrameOwnerElement* ownerElement, |
1308 const String& referrer, bool allowsScrol
ling, int marginWidth, int marginHeight) | 1308 const String& referrer, bool allowsScrol
ling, int marginWidth, int marginHeight) |
1309 { | 1309 { |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1684 { | 1684 { |
1685 QVariant value = m_webFrame->page()->property("_q_MIMESniffingDisabled"); | 1685 QVariant value = m_webFrame->page()->property("_q_MIMESniffingDisabled"); |
1686 bool MIMESniffingDisabled = value.isValid() && value.toBool(); | 1686 bool MIMESniffingDisabled = value.isValid() && value.toBool(); |
1687 | 1687 |
1688 return FrameNetworkingContextQt::create(m_frame, m_webFrame, !MIMESniffingDi
sabled, m_webFrame->page()->networkAccessManager()); | 1688 return FrameNetworkingContextQt::create(m_frame, m_webFrame, !MIMESniffingDi
sabled, m_webFrame->page()->networkAccessManager()); |
1689 } | 1689 } |
1690 | 1690 |
1691 } | 1691 } |
1692 | 1692 |
1693 #include "moc_FrameLoaderClientQt.cpp" | 1693 #include "moc_FrameLoaderClientQt.cpp" |
OLD | NEW |