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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 #include "core/html/HTMLFrameElementBase.h" | 127 #include "core/html/HTMLFrameElementBase.h" |
128 #include "core/html/HTMLFrameOwnerElement.h" | 128 #include "core/html/HTMLFrameOwnerElement.h" |
129 #include "core/html/HTMLHeadElement.h" | 129 #include "core/html/HTMLHeadElement.h" |
130 #include "core/html/HTMLImageElement.h" | 130 #include "core/html/HTMLImageElement.h" |
131 #include "core/html/HTMLInputElement.h" | 131 #include "core/html/HTMLInputElement.h" |
132 #include "core/html/HTMLLinkElement.h" | 132 #include "core/html/HTMLLinkElement.h" |
133 #include "core/html/PluginDocument.h" | 133 #include "core/html/PluginDocument.h" |
134 #include "core/input/EventHandler.h" | 134 #include "core/input/EventHandler.h" |
135 #include "core/inspector/ConsoleMessage.h" | 135 #include "core/inspector/ConsoleMessage.h" |
136 #include "core/layout/HitTestResult.h" | 136 #include "core/layout/HitTestResult.h" |
137 #include "core/layout/LayoutBox.h" | |
138 #include "core/layout/LayoutObject.h" | 137 #include "core/layout/LayoutObject.h" |
139 #include "core/layout/LayoutPart.h" | 138 #include "core/layout/LayoutPart.h" |
140 #include "core/layout/api/LayoutViewItem.h" | 139 #include "core/layout/api/LayoutViewItem.h" |
141 #include "core/style/StyleInheritedData.h" | 140 #include "core/style/StyleInheritedData.h" |
142 #include "core/loader/DocumentLoader.h" | 141 #include "core/loader/DocumentLoader.h" |
143 #include "core/loader/FrameLoadRequest.h" | 142 #include "core/loader/FrameLoadRequest.h" |
144 #include "core/loader/FrameLoader.h" | 143 #include "core/loader/FrameLoader.h" |
145 #include "core/loader/HistoryItem.h" | 144 #include "core/loader/HistoryItem.h" |
146 #include "core/loader/MixedContentChecker.h" | 145 #include "core/loader/MixedContentChecker.h" |
147 #include "core/loader/NavigationScheduler.h" | 146 #include "core/loader/NavigationScheduler.h" |
(...skipping 1942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2090 return WebSandboxFlags::None; | 2089 return WebSandboxFlags::None; |
2091 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); | 2090 return static_cast<WebSandboxFlags>(frame()->loader().effectiveSandboxFlags(
)); |
2092 } | 2091 } |
2093 | 2092 |
2094 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) | 2093 void WebLocalFrameImpl::forceSandboxFlags(WebSandboxFlags flags) |
2095 { | 2094 { |
2096 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); | 2095 frame()->loader().forceSandboxFlags(static_cast<SandboxFlags>(flags)); |
2097 } | 2096 } |
2098 | 2097 |
2099 } // namespace blink | 2098 } // namespace blink |
OLD | NEW |