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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 #include "core/page/FocusController.h" | 59 #include "core/page/FocusController.h" |
60 #include "core/page/Frame.h" | 60 #include "core/page/Frame.h" |
61 #include "core/page/FrameTree.h" | 61 #include "core/page/FrameTree.h" |
62 #include "core/page/FrameView.h" | 62 #include "core/page/FrameView.h" |
63 #include "core/page/Page.h" | 63 #include "core/page/Page.h" |
64 | 64 |
65 namespace WebCore { | 65 namespace WebCore { |
66 | 66 |
67 using namespace HTMLNames; | 67 using namespace HTMLNames; |
68 | 68 |
69 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url, DocumentClassFlags ext
endedDocumentClasses) | 69 HTMLDocument::HTMLDocument(const DocumentInit& initializer, DocumentClassFlags e
xtendedDocumentClasses) |
70 : Document(frame, url, HTMLDocumentClass | extendedDocumentClasses) | 70 : Document(initializer, HTMLDocumentClass | extendedDocumentClasses) |
71 { | 71 { |
72 ScriptWrappable::init(this); | 72 ScriptWrappable::init(this); |
73 clearXMLVersion(); | 73 clearXMLVersion(); |
74 } | 74 } |
75 | 75 |
76 HTMLDocument::~HTMLDocument() | 76 HTMLDocument::~HTMLDocument() |
77 { | 77 { |
78 } | 78 } |
79 | 79 |
80 String HTMLDocument::dir() | 80 String HTMLDocument::dir() |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 } | 326 } |
327 | 327 |
328 void HTMLDocument::clear() | 328 void HTMLDocument::clear() |
329 { | 329 { |
330 // FIXME: This does nothing, and that seems unlikely to be correct. | 330 // FIXME: This does nothing, and that seems unlikely to be correct. |
331 // We've long had a comment saying that IE doesn't support this. | 331 // We've long had a comment saying that IE doesn't support this. |
332 // But I do see it in the documentation for Mozilla. | 332 // But I do see it in the documentation for Mozilla. |
333 } | 333 } |
334 | 334 |
335 } | 335 } |
OLD | NEW |