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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 #include "core/editing/Editor.h" | 107 #include "core/editing/Editor.h" |
108 #include "core/editing/FrameSelection.h" | 108 #include "core/editing/FrameSelection.h" |
109 #include "core/editing/InputMethodController.h" | 109 #include "core/editing/InputMethodController.h" |
110 #include "core/editing/PlainTextRange.h" | 110 #include "core/editing/PlainTextRange.h" |
111 #include "core/editing/TextAffinity.h" | 111 #include "core/editing/TextAffinity.h" |
112 #include "core/editing/iterators/TextIterator.h" | 112 #include "core/editing/iterators/TextIterator.h" |
113 #include "core/editing/serializers/Serialization.h" | 113 #include "core/editing/serializers/Serialization.h" |
114 #include "core/editing/spellcheck/SpellChecker.h" | 114 #include "core/editing/spellcheck/SpellChecker.h" |
115 #include "core/fetch/ResourceFetcher.h" | 115 #include "core/fetch/ResourceFetcher.h" |
116 #include "core/fetch/SubstituteData.h" | 116 #include "core/fetch/SubstituteData.h" |
117 #include "core/frame/Console.h" | |
118 #include "core/frame/LocalDOMWindow.h" | 117 #include "core/frame/LocalDOMWindow.h" |
119 #include "core/frame/FrameHost.h" | 118 #include "core/frame/FrameHost.h" |
120 #include "core/frame/FrameView.h" | 119 #include "core/frame/FrameView.h" |
121 #include "core/frame/RemoteFrame.h" | 120 #include "core/frame/RemoteFrame.h" |
122 #include "core/frame/Settings.h" | 121 #include "core/frame/Settings.h" |
123 #include "core/frame/UseCounter.h" | 122 #include "core/frame/UseCounter.h" |
124 #include "core/html/HTMLAnchorElement.h" | 123 #include "core/html/HTMLAnchorElement.h" |
125 #include "core/html/HTMLCollection.h" | 124 #include "core/html/HTMLCollection.h" |
126 #include "core/html/HTMLFormElement.h" | 125 #include "core/html/HTMLFormElement.h" |
127 #include "core/html/HTMLFrameElementBase.h" | 126 #include "core/html/HTMLFrameElementBase.h" |
(...skipping 1996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2124 return WebSandboxFlags::None; | 2123 return WebSandboxFlags::None; |
2125 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2124 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
2126 } | 2125 } |
2127 | 2126 |
2128 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2127 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
2129 { | 2128 { |
2130 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2129 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
2131 } | 2130 } |
2132 | 2131 |
2133 } // namespace blink | 2132 } // namespace blink |
OLD | NEW |