Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: Source/core/html/HTMLDocument.cpp

Issue 18808004: Refactoring: Extract DocumentInit for capture Document construction parameter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed webkit_unit_tests build failure. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLImportsController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLImportsController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698