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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "FrameView.h" | 65 #include "FrameView.h" |
66 #include "HashTools.h" | 66 #include "HashTools.h" |
67 #include "HTMLDocumentParser.h" | 67 #include "HTMLDocumentParser.h" |
68 #include "HTMLBodyElement.h" | 68 #include "HTMLBodyElement.h" |
69 #include "HTMLElementFactory.h" | 69 #include "HTMLElementFactory.h" |
70 #include "HTMLFrameOwnerElement.h" | 70 #include "HTMLFrameOwnerElement.h" |
71 #include "HTMLNames.h" | 71 #include "HTMLNames.h" |
72 #include "InspectorInstrumentation.h" | 72 #include "InspectorInstrumentation.h" |
73 #include "KURL.h" | 73 #include "KURL.h" |
74 #include "Page.h" | 74 #include "Page.h" |
| 75 #include "ScriptController.h" |
75 #include "Settings.h" | 76 #include "Settings.h" |
76 #include "StyleResolver.h" | 77 #include "StyleResolver.h" |
77 #include <wtf/text/CString.h> | 78 #include <wtf/text/CString.h> |
78 | 79 |
79 namespace WebCore { | 80 namespace WebCore { |
80 | 81 |
81 using namespace HTMLNames; | 82 using namespace HTMLNames; |
82 | 83 |
83 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url) | 84 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url) |
84 : Document(frame, url, false, true) | 85 : Document(frame, url, false, true) |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // But I do see it in the documentation for Mozilla. | 408 // But I do see it in the documentation for Mozilla. |
408 } | 409 } |
409 | 410 |
410 bool HTMLDocument::isFrameSet() const | 411 bool HTMLDocument::isFrameSet() const |
411 { | 412 { |
412 HTMLElement* bodyElement = body(); | 413 HTMLElement* bodyElement = body(); |
413 return bodyElement && bodyElement->hasTagName(framesetTag); | 414 return bodyElement && bodyElement->hasTagName(framesetTag); |
414 } | 415 } |
415 | 416 |
416 } | 417 } |
OLD | NEW |