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

Side by Side Diff: Source/core/html/HTMLSelectElement.h

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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) 2010 Nokia Corporation and/or its subsidiary(-ies). 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 3 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
4 * (C) 1999 Antti Koivisto (koivisto@kde.org) 4 * (C) 1999 Antti Koivisto (koivisto@kde.org)
5 * (C) 2000 Dirk Mueller (mueller@kde.org) 5 * (C) 2000 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
7 * Copyright (C) 2010 Google Inc. All rights reserved. 7 * Copyright (C) 2010 Google Inc. All rights reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual bool isEnumeratable() const { return true; } 124 virtual bool isEnumeratable() const { return true; }
125 virtual bool supportLabels() const OVERRIDE { return true; } 125 virtual bool supportLabels() const OVERRIDE { return true; }
126 126
127 virtual FormControlState saveFormControlState() const OVERRIDE; 127 virtual FormControlState saveFormControlState() const OVERRIDE;
128 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; 128 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
129 129
130 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 130 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
131 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 131 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
132 132
133 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE; 133 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV ERRIDE;
134 virtual RenderObject* createRenderer(RenderArena*, RenderStyle *); 134 virtual RenderObject* createRenderer(RenderStyle *);
135 virtual bool appendFormData(FormDataList&, bool); 135 virtual bool appendFormData(FormDataList&, bool);
136 136
137 virtual void reset(); 137 virtual void reset();
138 138
139 virtual void defaultEventHandler(Event*); 139 virtual void defaultEventHandler(Event*);
140 140
141 void dispatchChangeEventForMenuList(); 141 void dispatchChangeEventForMenuList();
142 142
143 void recalcListItems(bool updateSelectedStates = true) const; 143 void recalcListItems(bool updateSelectedStates = true) const;
144 144
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 { 221 {
222 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLSelectElement(node)); 222 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLSelectElement(node));
223 return static_cast<const HTMLSelectElement*>(node); 223 return static_cast<const HTMLSelectElement*>(node);
224 } 224 }
225 225
226 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast. 226 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast.
227 227
228 } // namespace 228 } // namespace
229 229
230 #endif 230 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698