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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #include "Page.h" | 73 #include "Page.h" |
74 #include "Settings.h" | 74 #include "Settings.h" |
75 #include <wtf/text/CString.h> | 75 #include <wtf/text/CString.h> |
76 | 76 |
77 #include "DocTypeStrings.cpp" | 77 #include "DocTypeStrings.cpp" |
78 | 78 |
79 namespace WebCore { | 79 namespace WebCore { |
80 | 80 |
81 using namespace HTMLNames; | 81 using namespace HTMLNames; |
82 | 82 |
83 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url) | 83 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url, const KURL& baseURL) |
84 : Document(frame, url, false, true) | 84 : Document(frame, url, false, true, baseURL) |
85 { | 85 { |
86 clearXMLVersion(); | 86 clearXMLVersion(); |
87 } | 87 } |
88 | 88 |
89 HTMLDocument::~HTMLDocument() | 89 HTMLDocument::~HTMLDocument() |
90 { | 90 { |
91 } | 91 } |
92 | 92 |
93 int HTMLDocument::width() | 93 int HTMLDocument::width() |
94 { | 94 { |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 // But I do see it in the documentation for Mozilla. | 442 // But I do see it in the documentation for Mozilla. |
443 } | 443 } |
444 | 444 |
445 bool HTMLDocument::isFrameSet() const | 445 bool HTMLDocument::isFrameSet() const |
446 { | 446 { |
447 HTMLElement* bodyElement = body(); | 447 HTMLElement* bodyElement = body(); |
448 return bodyElement && bodyElement->renderer() && bodyElement->hasTagName(fra
mesetTag); | 448 return bodyElement && bodyElement->renderer() && bodyElement->hasTagName(fra
mesetTag); |
449 } | 449 } |
450 | 450 |
451 } | 451 } |
OLD | NEW |