| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 // An owner must by now have been informed of detachment | 170 // An owner must by now have been informed of detachment |
| 171 // when the frame was closed. | 171 // when the frame was closed. |
| 172 ASSERT(!m_contentFrame); | 172 ASSERT(!m_contentFrame); |
| 173 } | 173 } |
| 174 | 174 |
| 175 Document* HTMLFrameOwnerElement::contentDocument() const | 175 Document* HTMLFrameOwnerElement::contentDocument() const |
| 176 { | 176 { |
| 177 return (m_contentFrame && m_contentFrame->isLocalFrame()) ? toLocalFrame(m_c
ontentFrame)->document() : 0; | 177 return (m_contentFrame && m_contentFrame->isLocalFrame()) ? toLocalFrame(m_c
ontentFrame)->document() : 0; |
| 178 } | 178 } |
| 179 | 179 |
| 180 LocalDOMWindow* HTMLFrameOwnerElement::contentWindow() const | 180 DOMWindow* HTMLFrameOwnerElement::contentWindow() const |
| 181 { | 181 { |
| 182 return m_contentFrame ? m_contentFrame->domWindow() : 0; | 182 return m_contentFrame ? m_contentFrame->domWindow() : 0; |
| 183 } | 183 } |
| 184 | 184 |
| 185 void HTMLFrameOwnerElement::setSandboxFlags(SandboxFlags flags) | 185 void HTMLFrameOwnerElement::setSandboxFlags(SandboxFlags flags) |
| 186 { | 186 { |
| 187 m_sandboxFlags = flags; | 187 m_sandboxFlags = flags; |
| 188 } | 188 } |
| 189 | 189 |
| 190 bool HTMLFrameOwnerElement::isKeyboardFocusable() const | 190 bool HTMLFrameOwnerElement::isKeyboardFocusable() const |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 void HTMLFrameOwnerElement::trace(Visitor* visitor) | 261 void HTMLFrameOwnerElement::trace(Visitor* visitor) |
| 262 { | 262 { |
| 263 visitor->trace(m_contentFrame); | 263 visitor->trace(m_contentFrame); |
| 264 visitor->trace(m_widget); | 264 visitor->trace(m_widget); |
| 265 HTMLElement::trace(visitor); | 265 HTMLElement::trace(visitor); |
| 266 FrameOwner::trace(visitor); | 266 FrameOwner::trace(visitor); |
| 267 } | 267 } |
| 268 | 268 |
| 269 | 269 |
| 270 } // namespace blink | 270 } // namespace blink |
| OLD | NEW |