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

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

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 7 years, 8 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/HTMLCanvasElement.cpp ('k') | Source/core/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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "FrameView.h" 65 #include "FrameView.h"
66 #include "HashTools.h" 66 #include "HashTools.h"
67 #include "HTMLDocumentParser.h" 67 #include "HTMLDocumentParser.h"
68 #include "HTMLBodyElement.h" 68 #include "HTMLBodyElement.h"
69 #include "HTMLElementFactory.h" 69 #include "HTMLElementFactory.h"
70 #include "HTMLFrameOwnerElement.h" 70 #include "HTMLFrameOwnerElement.h"
71 #include "HTMLNames.h" 71 #include "HTMLNames.h"
72 #include "InspectorInstrumentation.h" 72 #include "InspectorInstrumentation.h"
73 #include "KURL.h" 73 #include "KURL.h"
74 #include "Page.h" 74 #include "Page.h"
75 #include "ScriptController.h"
75 #include "Settings.h" 76 #include "Settings.h"
76 #include "StyleResolver.h" 77 #include "StyleResolver.h"
77 #include <wtf/text/CString.h> 78 #include <wtf/text/CString.h>
78 79
79 namespace WebCore { 80 namespace WebCore {
80 81
81 using namespace HTMLNames; 82 using namespace HTMLNames;
82 83
83 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url) 84 HTMLDocument::HTMLDocument(Frame* frame, const KURL& url)
84 : Document(frame, url, false, true) 85 : Document(frame, url, false, true)
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 // But I do see it in the documentation for Mozilla. 408 // But I do see it in the documentation for Mozilla.
408 } 409 }
409 410
410 bool HTMLDocument::isFrameSet() const 411 bool HTMLDocument::isFrameSet() const
411 { 412 {
412 HTMLElement* bodyElement = body(); 413 HTMLElement* bodyElement = body();
413 return bodyElement && bodyElement->hasTagName(framesetTag); 414 return bodyElement && bodyElement->hasTagName(framesetTag);
414 } 415 }
415 416
416 } 417 }
OLDNEW
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698