| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) | 4 * (C) 2000 Simon Hausmann (hausmann@kde.org) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2006, 2009, 2010 Apple Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "core/html/HTMLFrameSetElement.h" | 24 #include "core/html/HTMLFrameSetElement.h" |
| 25 | 25 |
| 26 #include "bindings/core/v8/ScriptEventListener.h" | 26 #include "bindings/core/v8/ScriptEventListener.h" |
| 27 #include "core/CSSPropertyNames.h" | 27 #include "core/CSSPropertyNames.h" |
| 28 #include "core/HTMLNames.h" | 28 #include "core/HTMLNames.h" |
| 29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
| 30 #include "core/dom/StyleChangeReason.h" | 30 #include "core/dom/StyleChangeReason.h" |
| 31 #include "core/events/Event.h" | 31 #include "core/events/Event.h" |
| 32 #include "core/events/MouseEvent.h" | 32 #include "core/events/MouseEvent.h" |
| 33 #include "core/frame/LocalFrame.h" | 33 #include "core/frame/LocalFrame.h" |
| 34 #include "core/frame/LocalFrameClient.h" |
| 34 #include "core/html/HTMLCollection.h" | 35 #include "core/html/HTMLCollection.h" |
| 35 #include "core/html/HTMLFrameElement.h" | 36 #include "core/html/HTMLFrameElement.h" |
| 36 #include "core/layout/LayoutFrameSet.h" | 37 #include "core/layout/LayoutFrameSet.h" |
| 37 #include "core/loader/FrameLoaderClient.h" | |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 using namespace HTMLNames; | 41 using namespace HTMLNames; |
| 42 | 42 |
| 43 inline HTMLFrameSetElement::HTMLFrameSetElement(Document& document) | 43 inline HTMLFrameSetElement::HTMLFrameSetElement(Document& document) |
| 44 : HTMLElement(framesetTag, document), | 44 : HTMLElement(framesetTag, document), |
| 45 m_border(6), | 45 m_border(6), |
| 46 m_borderSet(false), | 46 m_borderSet(false), |
| 47 m_borderColorSet(false), | 47 m_borderColorSet(false), |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 Element* frameElement = children()->namedItem(name); | 283 Element* frameElement = children()->namedItem(name); |
| 284 if (!isHTMLFrameElement(frameElement)) | 284 if (!isHTMLFrameElement(frameElement)) |
| 285 return nullptr; | 285 return nullptr; |
| 286 Document* document = toHTMLFrameElement(frameElement)->contentDocument(); | 286 Document* document = toHTMLFrameElement(frameElement)->contentDocument(); |
| 287 if (!document || !document->frame()) | 287 if (!document || !document->frame()) |
| 288 return nullptr; | 288 return nullptr; |
| 289 return document->domWindow(); | 289 return document->domWindow(); |
| 290 } | 290 } |
| 291 | 291 |
| 292 } // namespace blink | 292 } // namespace blink |
| OLD | NEW |