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

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

Issue 22043003: [oilpan] Handlify childrenChanged. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 4 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
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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv ed.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Result<HTMLScriptElement> HTMLScriptElement::create(const QualifiedName& tagName , Handle<Document> document, bool wasInsertedByParser, bool alreadyStarted) 46 Result<HTMLScriptElement> HTMLScriptElement::create(const QualifiedName& tagName , Handle<Document> document, bool wasInsertedByParser, bool alreadyStarted)
47 { 47 {
48 return adoptTreeShared(new HTMLScriptElement(tagName, document, wasInsertedB yParser, alreadyStarted)); 48 return adoptTreeShared(new HTMLScriptElement(tagName, document, wasInsertedB yParser, alreadyStarted));
49 } 49 }
50 50
51 bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const 51 bool HTMLScriptElement::isURLAttribute(const Attribute& attribute) const
52 { 52 {
53 return attribute.name() == srcAttr || HTMLElement::isURLAttribute(attribute) ; 53 return attribute.name() == srcAttr || HTMLElement::isURLAttribute(attribute) ;
54 } 54 }
55 55
56 void HTMLScriptElement::childrenChanged(bool changedByParser, Node* beforeChange , Node* afterChange, int childCountDelta) 56 void HTMLScriptElement::childrenChanged(bool changedByParser, const Handle<Node> & beforeChange, const Handle<Node>& afterChange, int childCountDelta)
57 { 57 {
58 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi ldCountDelta); 58 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi ldCountDelta);
59 ScriptElement::childrenChanged(); 59 ScriptElement::childrenChanged();
60 } 60 }
61 61
62 void HTMLScriptElement::parseAttribute(const QualifiedName& name, const AtomicSt ring& value) 62 void HTMLScriptElement::parseAttribute(const QualifiedName& name, const AtomicSt ring& value)
63 { 63 {
64 if (name == srcAttr) 64 if (name == srcAttr)
65 handleSourceAttribute(value); 65 handleSourceAttribute(value);
66 else if (name == asyncAttr) 66 else if (name == asyncAttr)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 // FIXME(oilpan): There is multiple inheritance going on here. This is a ScriptE lement as 179 // FIXME(oilpan): There is multiple inheritance going on here. This is a ScriptE lement as
180 // well as an HTMLElement. The ScriptElement has a Element member that we should deal with 180 // well as an HTMLElement. The ScriptElement has a Element member that we should deal with
181 // as well. We need to treat ScriptElement in the same way that we did for TreeS cope. 181 // as well. We need to treat ScriptElement in the same way that we did for TreeS cope.
182 void HTMLScriptElement::accept(Visitor* visitor) const 182 void HTMLScriptElement::accept(Visitor* visitor) const
183 { 183 {
184 HTMLElement::accept(visitor); 184 HTMLElement::accept(visitor);
185 } 185 }
186 186
187 } 187 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698