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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * deleting the provisions above and replace them with the notice and | 47 * deleting the provisions above and replace them with the notice and |
48 * other provisions required by the MPL or the GPL, as the case may be. | 48 * other provisions required by the MPL or the GPL, as the case may be. |
49 * If you do not delete the provisions above, a recipient may use your | 49 * If you do not delete the provisions above, a recipient may use your |
50 * version of this file under any of the LGPL, the MPL or the GPL. | 50 * version of this file under any of the LGPL, the MPL or the GPL. |
51 */ | 51 */ |
52 | 52 |
53 #include "config.h" | 53 #include "config.h" |
54 #include "HTMLDocument.h" | 54 #include "HTMLDocument.h" |
55 | 55 |
56 #include "CSSPropertyNames.h" | 56 #include "CSSPropertyNames.h" |
57 #include "DocumentType.h" | |
58 #include "ExceptionCode.h" | |
59 #include "HTMLBodyElement.h" | 57 #include "HTMLBodyElement.h" |
60 #include "HTMLDocumentParser.h" | 58 #include "HTMLDocumentParser.h" |
61 #include "HTMLElementFactory.h" | 59 #include "HTMLElementFactory.h" |
62 #include "HTMLFrameOwnerElement.h" | 60 #include "HTMLFrameOwnerElement.h" |
63 #include "HTMLNames.h" | 61 #include "HTMLNames.h" |
64 #include "InspectorInstrumentation.h" | 62 #include "InspectorInstrumentation.h" |
65 #include "ScriptController.h" | 63 #include "ScriptController.h" |
66 #include "core/css/StyleResolver.h" | 64 #include "core/css/StyleResolver.h" |
| 65 #include "core/dom/DocumentType.h" |
| 66 #include "core/dom/ExceptionCode.h" |
67 #include "core/loader/CookieJar.h" | 67 #include "core/loader/CookieJar.h" |
68 #include "core/loader/DocumentLoader.h" | 68 #include "core/loader/DocumentLoader.h" |
69 #include "core/loader/FrameLoader.h" | 69 #include "core/loader/FrameLoader.h" |
70 #include "core/page/FocusController.h" | 70 #include "core/page/FocusController.h" |
71 #include "core/page/Frame.h" | 71 #include "core/page/Frame.h" |
72 #include "core/page/FrameTree.h" | 72 #include "core/page/FrameTree.h" |
73 #include "core/page/FrameView.h" | 73 #include "core/page/FrameView.h" |
74 #include "core/page/Page.h" | 74 #include "core/page/Page.h" |
75 #include "core/page/Settings.h" | 75 #include "core/page/Settings.h" |
76 #include "core/platform/HashTools.h" | 76 #include "core/platform/HashTools.h" |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 // But I do see it in the documentation for Mozilla. | 408 // But I do see it in the documentation for Mozilla. |
409 } | 409 } |
410 | 410 |
411 bool HTMLDocument::isFrameSet() const | 411 bool HTMLDocument::isFrameSet() const |
412 { | 412 { |
413 HTMLElement* bodyElement = body(); | 413 HTMLElement* bodyElement = body(); |
414 return bodyElement && bodyElement->hasTagName(framesetTag); | 414 return bodyElement && bodyElement->hasTagName(framesetTag); |
415 } | 415 } |
416 | 416 |
417 } | 417 } |
OLD | NEW |