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

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

Issue 126713004: Remove Node.prefix so it's no longer visible to script. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove spurious OVERRIDE. Created 6 years, 11 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 | « LayoutTests/fast/dom/Node/script-tests/initial-values.js ('k') | Source/core/dom/Element.h » ('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 * (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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 const QualifiedName& qualifiedName() const { return m_name; } 57 const QualifiedName& qualifiedName() const { return m_name; }
58 58
59 bool isId() const; 59 bool isId() const;
60 60
61 void attachToElement(Element*); 61 void attachToElement(Element*);
62 void detachFromElementWithValue(const AtomicString&); 62 void detachFromElementWithValue(const AtomicString&);
63 63
64 virtual const AtomicString& localName() const OVERRIDE { return m_name.local Name(); } 64 virtual const AtomicString& localName() const OVERRIDE { return m_name.local Name(); }
65 virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.na mespaceURI(); } 65 virtual const AtomicString& namespaceURI() const OVERRIDE { return m_name.na mespaceURI(); }
66 virtual const AtomicString& prefix() const OVERRIDE { return m_name.prefix() ; } 66 virtual const AtomicString& prefix() const OVERRIDE FINAL { return m_name.pr efix(); }
67 67
68 virtual void setPrefix(const AtomicString&, ExceptionState&) OVERRIDE; 68 void setPrefix(const AtomicString&, ExceptionState&);
69 69
70 private: 70 private:
71 Attr(Element&, const QualifiedName&); 71 Attr(Element&, const QualifiedName&);
72 Attr(Document&, const QualifiedName&, const AtomicString& value); 72 Attr(Document&, const QualifiedName&, const AtomicString& value);
73 73
74 void createTextChild(); 74 void createTextChild();
75 75
76 virtual String nodeName() const OVERRIDE { return name(); } 76 virtual String nodeName() const OVERRIDE { return name(); }
77 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; } 77 virtual NodeType nodeType() const OVERRIDE { return ATTRIBUTE_NODE; }
78 78
(...skipping 14 matching lines...) Expand all
93 QualifiedName m_name; 93 QualifiedName m_name;
94 AtomicString m_standaloneValue; 94 AtomicString m_standaloneValue;
95 unsigned m_ignoreChildrenChanged; 95 unsigned m_ignoreChildrenChanged;
96 }; 96 };
97 97
98 DEFINE_NODE_TYPE_CASTS(Attr, isAttributeNode()); 98 DEFINE_NODE_TYPE_CASTS(Attr, isAttributeNode());
99 99
100 } // namespace WebCore 100 } // namespace WebCore
101 101
102 #endif // Attr_h 102 #endif // Attr_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Node/script-tests/initial-values.js ('k') | Source/core/dom/Element.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698