| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "core/html/HTMLDocument.h" | 54 #include "core/html/HTMLDocument.h" |
| 55 | 55 |
| 56 #include "HTMLNames.h" | 56 #include "HTMLNames.h" |
| 57 #include "bindings/v8/ScriptController.h" | 57 #include "bindings/v8/ScriptController.h" |
| 58 #include "core/html/HTMLBodyElement.h" | 58 #include "core/html/HTMLBodyElement.h" |
| 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 #include "core/platform/KURL.h" | |
| 65 | 64 |
| 66 namespace WebCore { | 65 namespace WebCore { |
| 67 | 66 |
| 68 using namespace HTMLNames; | 67 using namespace HTMLNames; |
| 69 | 68 |
| 70 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url, DocumentClassFlags ext
endedDocumentClasses) | 69 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url, DocumentClassFlags ext
endedDocumentClasses) |
| 71 : Document(frame, url, HTMLDocumentClass | extendedDocumentClasses) | 70 : Document(frame, url, HTMLDocumentClass | extendedDocumentClasses) |
| 72 { | 71 { |
| 73 ScriptWrappable::init(this); | 72 ScriptWrappable::init(this); |
| 74 clearXMLVersion(); | 73 clearXMLVersion(); |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 } | 364 } |
| 366 | 365 |
| 367 void HTMLDocument::clear() | 366 void HTMLDocument::clear() |
| 368 { | 367 { |
| 369 // FIXME: This does nothing, and that seems unlikely to be correct. | 368 // FIXME: This does nothing, and that seems unlikely to be correct. |
| 370 // We've long had a comment saying that IE doesn't support this. | 369 // We've long had a comment saying that IE doesn't support this. |
| 371 // But I do see it in the documentation for Mozilla. | 370 // But I do see it in the documentation for Mozilla. |
| 372 } | 371 } |
| 373 | 372 |
| 374 } | 373 } |
| OLD | NEW |