OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 #include "web/WebLocalFrameImpl.h" | 85 #include "web/WebLocalFrameImpl.h" |
86 | 86 |
87 #include "bindings/core/v8/BindingSecurity.h" | 87 #include "bindings/core/v8/BindingSecurity.h" |
88 #include "bindings/core/v8/DOMWrapperWorld.h" | 88 #include "bindings/core/v8/DOMWrapperWorld.h" |
89 #include "bindings/core/v8/ExceptionState.h" | 89 #include "bindings/core/v8/ExceptionState.h" |
90 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 90 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
91 #include "bindings/core/v8/ScriptCallStack.h" | 91 #include "bindings/core/v8/ScriptCallStack.h" |
92 #include "bindings/core/v8/ScriptController.h" | 92 #include "bindings/core/v8/ScriptController.h" |
93 #include "bindings/core/v8/ScriptSourceCode.h" | 93 #include "bindings/core/v8/ScriptSourceCode.h" |
94 #include "bindings/core/v8/ScriptValue.h" | 94 #include "bindings/core/v8/ScriptValue.h" |
| 95 #include "bindings/core/v8/SourceLocation.h" |
95 #include "bindings/core/v8/V8Binding.h" | 96 #include "bindings/core/v8/V8Binding.h" |
96 #include "bindings/core/v8/V8GCController.h" | 97 #include "bindings/core/v8/V8GCController.h" |
97 #include "bindings/core/v8/V8PerIsolateData.h" | 98 #include "bindings/core/v8/V8PerIsolateData.h" |
98 #include "core/HTMLNames.h" | 99 #include "core/HTMLNames.h" |
99 #include "core/dom/Document.h" | 100 #include "core/dom/Document.h" |
100 #include "core/dom/IconURL.h" | 101 #include "core/dom/IconURL.h" |
101 #include "core/dom/MessagePort.h" | 102 #include "core/dom/MessagePort.h" |
102 #include "core/dom/Node.h" | 103 #include "core/dom/Node.h" |
103 #include "core/dom/NodeTraversal.h" | 104 #include "core/dom/NodeTraversal.h" |
104 #include "core/dom/SuspendableTask.h" | 105 #include "core/dom/SuspendableTask.h" |
(...skipping 2001 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2106 return WebSandboxFlags::None; | 2107 return WebSandboxFlags::None; |
2107 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2108 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
2108 } | 2109 } |
2109 | 2110 |
2110 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2111 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
2111 { | 2112 { |
2112 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2113 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
2113 } | 2114 } |
2114 | 2115 |
2115 } // namespace blink | 2116 } // namespace blink |
OLD | NEW |