OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> | 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> |
6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> | 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> |
8 * Copyright (C) 2011 Google Inc. All rights reserved. | 8 * Copyright (C) 2011 Google Inc. All rights reserved. |
9 * | 9 * |
10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 #include "core/page/Settings.h" | 79 #include "core/page/Settings.h" |
80 #include "core/page/WindowFeatures.h" | 80 #include "core/page/WindowFeatures.h" |
81 #include "core/platform/ScrollAnimator.h" | 81 #include "core/platform/ScrollAnimator.h" |
82 #include "core/xml/parser/XMLDocumentParser.h" | 82 #include "core/xml/parser/XMLDocumentParser.h" |
83 #include "modules/webdatabase/DatabaseManager.h" | 83 #include "modules/webdatabase/DatabaseManager.h" |
84 #include "platform/Logging.h" | 84 #include "platform/Logging.h" |
85 #include "platform/UserGestureIndicator.h" | 85 #include "platform/UserGestureIndicator.h" |
86 #include "platform/geometry/FloatRect.h" | 86 #include "platform/geometry/FloatRect.h" |
87 #include "platform/network/HTTPParsers.h" | 87 #include "platform/network/HTTPParsers.h" |
88 #include "platform/network/ResourceRequest.h" | 88 #include "platform/network/ResourceRequest.h" |
89 #include "weborigin/SecurityOrigin.h" | 89 #include "platform/weborigin/SecurityOrigin.h" |
90 #include "weborigin/SecurityPolicy.h" | 90 #include "platform/weborigin/SecurityPolicy.h" |
91 #include "wtf/TemporaryChange.h" | 91 #include "wtf/TemporaryChange.h" |
92 #include "wtf/text/CString.h" | 92 #include "wtf/text/CString.h" |
93 #include "wtf/text/WTFString.h" | 93 #include "wtf/text/WTFString.h" |
94 | 94 |
95 namespace WebCore { | 95 namespace WebCore { |
96 | 96 |
97 using namespace HTMLNames; | 97 using namespace HTMLNames; |
98 | 98 |
99 static const char defaultAcceptHeader[] = "text/html,application/xhtml+xml,appli
cation/xml;q=0.9,image/webp,*/*;q=0.8"; | 99 static const char defaultAcceptHeader[] = "text/html,application/xhtml+xml,appli
cation/xml;q=0.9,image/webp,*/*;q=0.8"; |
100 | 100 |
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1532 { | 1532 { |
1533 SandboxFlags flags = m_forcedSandboxFlags; | 1533 SandboxFlags flags = m_forcedSandboxFlags; |
1534 if (Frame* parentFrame = m_frame->tree().parent()) | 1534 if (Frame* parentFrame = m_frame->tree().parent()) |
1535 flags |= parentFrame->document()->sandboxFlags(); | 1535 flags |= parentFrame->document()->sandboxFlags(); |
1536 if (HTMLFrameOwnerElement* ownerElement = m_frame->ownerElement()) | 1536 if (HTMLFrameOwnerElement* ownerElement = m_frame->ownerElement()) |
1537 flags |= ownerElement->sandboxFlags(); | 1537 flags |= ownerElement->sandboxFlags(); |
1538 return flags; | 1538 return flags; |
1539 } | 1539 } |
1540 | 1540 |
1541 } // namespace WebCore | 1541 } // namespace WebCore |
OLD | NEW |