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 27 matching lines...) Expand all Loading... |
38 #include "HTMLNames.h" | 38 #include "HTMLNames.h" |
39 #include "bindings/v8/DOMWrapperWorld.h" | 39 #include "bindings/v8/DOMWrapperWorld.h" |
40 #include "bindings/v8/ScriptController.h" | 40 #include "bindings/v8/ScriptController.h" |
41 #include "bindings/v8/SerializedScriptValue.h" | 41 #include "bindings/v8/SerializedScriptValue.h" |
42 #include "core/dom/Document.h" | 42 #include "core/dom/Document.h" |
43 #include "core/dom/Element.h" | 43 #include "core/dom/Element.h" |
44 #include "core/editing/Editor.h" | 44 #include "core/editing/Editor.h" |
45 #include "core/editing/UndoStack.h" | 45 #include "core/editing/UndoStack.h" |
46 #include "core/events/Event.h" | 46 #include "core/events/Event.h" |
47 #include "core/events/PageTransitionEvent.h" | 47 #include "core/events/PageTransitionEvent.h" |
48 #include "core/events/ThreadLocalEventNames.h" | |
49 #include "core/fetch/FetchContext.h" | 48 #include "core/fetch/FetchContext.h" |
50 #include "core/fetch/ResourceFetcher.h" | 49 #include "core/fetch/ResourceFetcher.h" |
51 #include "core/fetch/ResourceLoader.h" | 50 #include "core/fetch/ResourceLoader.h" |
52 #include "core/frame/DOMWindow.h" | 51 #include "core/frame/DOMWindow.h" |
53 #include "core/frame/FrameView.h" | 52 #include "core/frame/FrameView.h" |
54 #include "core/frame/LocalFrame.h" | 53 #include "core/frame/LocalFrame.h" |
55 #include "core/frame/csp/ContentSecurityPolicy.h" | 54 #include "core/frame/csp/ContentSecurityPolicy.h" |
56 #include "core/html/HTMLFormElement.h" | 55 #include "core/html/HTMLFormElement.h" |
57 #include "core/html/HTMLFrameOwnerElement.h" | 56 #include "core/html/HTMLFrameOwnerElement.h" |
58 #include "core/html/parser/HTMLParserIdioms.h" | 57 #include "core/html/parser/HTMLParserIdioms.h" |
(...skipping 1415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1474 { | 1473 { |
1475 SandboxFlags flags = m_forcedSandboxFlags; | 1474 SandboxFlags flags = m_forcedSandboxFlags; |
1476 if (LocalFrame* parentFrame = m_frame->tree().parent()) | 1475 if (LocalFrame* parentFrame = m_frame->tree().parent()) |
1477 flags |= parentFrame->document()->sandboxFlags(); | 1476 flags |= parentFrame->document()->sandboxFlags(); |
1478 if (HTMLFrameOwnerElement* ownerElement = m_frame->ownerElement()) | 1477 if (HTMLFrameOwnerElement* ownerElement = m_frame->ownerElement()) |
1479 flags |= ownerElement->sandboxFlags(); | 1478 flags |= ownerElement->sandboxFlags(); |
1480 return flags; | 1479 return flags; |
1481 } | 1480 } |
1482 | 1481 |
1483 } // namespace WebCore | 1482 } // namespace WebCore |
OLD | NEW |