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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" |
77 #include "core/platform/KURL.h" | 77 #include "core/platform/KURL.h" |
78 #include <wtf/text/CString.h> | 78 #include <wtf/text/CString.h> |
79 | 79 |
80 namespace WebCore { | 80 namespace WebCore { |
81 | 81 |
82 using namespace HTMLNames; | 82 using namespace HTMLNames; |
83 | 83 |
84 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url) | 84 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url, unsigned extendedDocum
entClass) |
85 : Document(frame, url, false, true) | 85 : Document(frame, url, HTMLDocumentClass | extendedDocumentClass) |
86 { | 86 { |
87 ScriptWrappable::init(this); | 87 ScriptWrappable::init(this); |
88 clearXMLVersion(); | 88 clearXMLVersion(); |
89 } | 89 } |
90 | 90 |
91 HTMLDocument::~HTMLDocument() | 91 HTMLDocument::~HTMLDocument() |
92 { | 92 { |
93 } | 93 } |
94 | 94 |
95 int HTMLDocument::width() | 95 int HTMLDocument::width() |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 // But I do see it in the documentation for Mozilla. | 400 // But I do see it in the documentation for Mozilla. |
401 } | 401 } |
402 | 402 |
403 bool HTMLDocument::isFrameSet() const | 403 bool HTMLDocument::isFrameSet() const |
404 { | 404 { |
405 HTMLElement* bodyElement = body(); | 405 HTMLElement* bodyElement = body(); |
406 return bodyElement && bodyElement->hasTagName(framesetTag); | 406 return bodyElement && bodyElement->hasTagName(framesetTag); |
407 } | 407 } |
408 | 408 |
409 } | 409 } |
OLD | NEW |