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

Side by Side Diff: Source/core/html/HTMLOptionElement.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
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) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) 2010 Google Inc. All rights reserved. 6 * Copyright (C) 2010 Google 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void setLabel(const String&); 59 void setLabel(const String&);
60 60
61 bool ownElementDisabled() const { return m_disabled; } 61 bool ownElementDisabled() const { return m_disabled; }
62 62
63 virtual bool isDisabledFormControl() const OVERRIDE; 63 virtual bool isDisabledFormControl() const OVERRIDE;
64 64
65 String textIndentedToRespectGroupLabel() const; 65 String textIndentedToRespectGroupLabel() const;
66 66
67 void setSelectedState(bool); 67 void setSelectedState(bool);
68 68
69 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
70
69 private: 71 private:
70 HTMLOptionElement(const QualifiedName&, Handle<Document>); 72 HTMLOptionElement(const QualifiedName&, Handle<Document>);
71 73
72 virtual bool supportsFocus() const; 74 virtual bool supportsFocus() const;
73 virtual bool isFocusable() const; 75 virtual bool isFocusable() const;
74 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } 76 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
75 virtual void attach(); 77 virtual void attach();
76 virtual void detach(); 78 virtual void detach();
77 79
78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 80 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node) 114 inline const HTMLOptionElement* toHTMLOptionElement(const Node* node)
113 { 115 {
114 return static_cast<const HTMLOptionElement*>(node); 116 return static_cast<const HTMLOptionElement*>(node);
115 } 117 }
116 118
117 #endif 119 #endif
118 120
119 } // namespace 121 } // namespace
120 122
121 #endif 123 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698