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

Side by Side Diff: WebCore/html/HTMLDocument.cpp

Issue 3400014: Merge 67292 - 2010-09-11 Mihai Parparita <mihaip@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « WebCore/html/HTMLDocument.h ('k') | WebCore/html/HTMLElement.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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « WebCore/html/HTMLDocument.h ('k') | WebCore/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698