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

Side by Side Diff: Source/core/dom/Attr.h

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: 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 | « no previous file | Source/core/dom/Attr.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')
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 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 bool isId() const; 58 bool isId() const;
59 59
60 Result<CSSStyleDeclaration> style(); 60 Result<CSSStyleDeclaration> style();
61 61
62 void setSpecified(bool specified) { m_specified = specified; } 62 void setSpecified(bool specified) { m_specified = specified; }
63 63
64 void attachToElement(Element*); 64 void attachToElement(Element*);
65 void detachFromElementWithValue(const AtomicString&); 65 void detachFromElementWithValue(const AtomicString&);
66 66
67 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
68
67 private: 69 private:
68 Attr(Element*, const QualifiedName&); 70 Attr(Element*, const QualifiedName&);
69 Attr(Handle<Document>, const QualifiedName&, const AtomicString& value); 71 Attr(Handle<Document>, const QualifiedName&, const AtomicString& value);
70 72
71 void createTextChild(); 73 void createTextChild();
72 74
73 virtual String nodeName() const OVERRIDE { return name(); } 75 virtual String nodeName() const OVERRIDE { return name(); }
74 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; } 76 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; }
75 77
76 const AtomicString& localName() const { return m_name.localName(); } 78 const AtomicString& localName() const { return m_name.localName(); }
(...skipping 24 matching lines...) Expand all
101 AtomicString m_standaloneValue; 103 AtomicString m_standaloneValue;
102 104
103 Persistent<StylePropertySet> m_style; 105 Persistent<StylePropertySet> m_style;
104 unsigned m_ignoreChildrenChanged : 31; 106 unsigned m_ignoreChildrenChanged : 31;
105 bool m_specified : 1; 107 bool m_specified : 1;
106 }; 108 };
107 109
108 } // namespace WebCore 110 } // namespace WebCore
109 111
110 #endif // Attr_h 112 #endif // Attr_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/dom/Attr.cpp » ('j') | Source/core/html/HTMLMediaElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698