| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 widgetsPendingDispose().insert(widget); | 218 widgetsPendingDispose().insert(widget); |
| 219 return; | 219 return; |
| 220 } | 220 } |
| 221 widget->dispose(); | 221 widget->dispose(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 void HTMLFrameOwnerElement::dispatchLoad() { | 224 void HTMLFrameOwnerElement::dispatchLoad() { |
| 225 dispatchScopedEvent(Event::create(EventTypeNames::load)); | 225 dispatchScopedEvent(Event::create(EventTypeNames::load)); |
| 226 } | 226 } |
| 227 | 227 |
| 228 const WebVector<WebPermissionType>& | 228 const WebVector<mojom::blink::PermissionName>& |
| 229 HTMLFrameOwnerElement::delegatedPermissions() const { | 229 HTMLFrameOwnerElement::delegatedPermissions() const { |
| 230 DEFINE_STATIC_LOCAL(WebVector<WebPermissionType>, permissions, ()); | 230 DEFINE_STATIC_LOCAL(WebVector<mojom::blink::PermissionName>, permissions, ()); |
| 231 return permissions; | 231 return permissions; |
| 232 } | 232 } |
| 233 | 233 |
| 234 Document* HTMLFrameOwnerElement::getSVGDocument( | 234 Document* HTMLFrameOwnerElement::getSVGDocument( |
| 235 ExceptionState& exceptionState) const { | 235 ExceptionState& exceptionState) const { |
| 236 Document* doc = contentDocument(); | 236 Document* doc = contentDocument(); |
| 237 if (doc && doc->isSVGDocument()) | 237 if (doc && doc->isSVGDocument()) |
| 238 return doc; | 238 return doc; |
| 239 return nullptr; | 239 return nullptr; |
| 240 } | 240 } |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 } | 322 } |
| 323 | 323 |
| 324 DEFINE_TRACE(HTMLFrameOwnerElement) { | 324 DEFINE_TRACE(HTMLFrameOwnerElement) { |
| 325 visitor->trace(m_contentFrame); | 325 visitor->trace(m_contentFrame); |
| 326 visitor->trace(m_widget); | 326 visitor->trace(m_widget); |
| 327 HTMLElement::trace(visitor); | 327 HTMLElement::trace(visitor); |
| 328 FrameOwner::trace(visitor); | 328 FrameOwner::trace(visitor); |
| 329 } | 329 } |
| 330 | 330 |
| 331 } // namespace blink | 331 } // namespace blink |
| OLD | NEW |