| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 widgetsPendingDispose().insert(frameViewBase); | 220 widgetsPendingDispose().insert(frameViewBase); |
| 221 return; | 221 return; |
| 222 } | 222 } |
| 223 frameViewBase->dispose(); | 223 frameViewBase->dispose(); |
| 224 } | 224 } |
| 225 | 225 |
| 226 void HTMLFrameOwnerElement::dispatchLoad() { | 226 void HTMLFrameOwnerElement::dispatchLoad() { |
| 227 dispatchScopedEvent(Event::create(EventTypeNames::load)); | 227 dispatchScopedEvent(Event::create(EventTypeNames::load)); |
| 228 } | 228 } |
| 229 | 229 |
| 230 const WebVector<mojom::blink::PermissionName>& | |
| 231 HTMLFrameOwnerElement::delegatedPermissions() const { | |
| 232 DEFINE_STATIC_LOCAL(WebVector<mojom::blink::PermissionName>, permissions, ()); | |
| 233 return permissions; | |
| 234 } | |
| 235 | |
| 236 const WebVector<WebFeaturePolicyFeature>& | 230 const WebVector<WebFeaturePolicyFeature>& |
| 237 HTMLFrameOwnerElement::allowedFeatures() const { | 231 HTMLFrameOwnerElement::allowedFeatures() const { |
| 238 DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ()); | 232 DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ()); |
| 239 return features; | 233 return features; |
| 240 } | 234 } |
| 241 | 235 |
| 242 Document* HTMLFrameOwnerElement::getSVGDocument( | 236 Document* HTMLFrameOwnerElement::getSVGDocument( |
| 243 ExceptionState& exceptionState) const { | 237 ExceptionState& exceptionState) const { |
| 244 Document* doc = contentDocument(); | 238 Document* doc = contentDocument(); |
| 245 if (doc && doc->isSVGDocument()) | 239 if (doc && doc->isSVGDocument()) |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 } | 324 } |
| 331 | 325 |
| 332 DEFINE_TRACE(HTMLFrameOwnerElement) { | 326 DEFINE_TRACE(HTMLFrameOwnerElement) { |
| 333 visitor->trace(m_contentFrame); | 327 visitor->trace(m_contentFrame); |
| 334 visitor->trace(m_widget); | 328 visitor->trace(m_widget); |
| 335 HTMLElement::trace(visitor); | 329 HTMLElement::trace(visitor); |
| 336 FrameOwner::trace(visitor); | 330 FrameOwner::trace(visitor); |
| 337 } | 331 } |
| 338 | 332 |
| 339 } // namespace blink | 333 } // namespace blink |
| OLD | NEW |