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

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

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) 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 SkipBackwards = -1, 174 SkipBackwards = -1,
175 SkipForwards = 1 175 SkipForwards = 1
176 }; 176 };
177 int nextValidIndex(int listIndex, SkipDirection, int skip) const; 177 int nextValidIndex(int listIndex, SkipDirection, int skip) const;
178 int nextSelectableListIndex(int startIndex) const; 178 int nextSelectableListIndex(int startIndex) const;
179 int previousSelectableListIndex(int startIndex) const; 179 int previousSelectableListIndex(int startIndex) const;
180 int firstSelectableListIndex() const; 180 int firstSelectableListIndex() const;
181 int lastSelectableListIndex() const; 181 int lastSelectableListIndex() const;
182 int nextSelectableListIndexPageAway(int startIndex, SkipDirection) const; 182 int nextSelectableListIndexPageAway(int startIndex, SkipDirection) const;
183 183
184 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 184 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
185 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } 185 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; }
186 186
187 // TypeAheadDataSource functions. 187 // TypeAheadDataSource functions.
188 virtual int indexOfSelectedOption() const OVERRIDE; 188 virtual int indexOfSelectedOption() const OVERRIDE;
189 virtual int optionCount() const OVERRIDE; 189 virtual int optionCount() const OVERRIDE;
190 virtual String optionAtIndex(int index) const OVERRIDE; 190 virtual String optionAtIndex(int index) const OVERRIDE;
191 191
192 // m_listItems contains HTMLOptionElement, HTMLOptGroupElement, and HTMLHREl ement objects. 192 // m_listItems contains HTMLOptionElement, HTMLOptGroupElement, and HTMLHREl ement objects.
193 mutable Vector<Member<HTMLElement> > m_listItems; 193 mutable Vector<Member<HTMLElement> > m_listItems;
194 Vector<bool> m_lastOnChangeSelection; 194 Vector<bool> m_lastOnChangeSelection;
(...skipping 29 matching lines...) Expand all
224 inline Result<HTMLSelectElement> toHTMLSelectElement(const Handle<Node>& node) 224 inline Result<HTMLSelectElement> toHTMLSelectElement(const Handle<Node>& node)
225 { 225 {
226 return toHTMLSelectElement(node.raw()); 226 return toHTMLSelectElement(node.raw());
227 } 227 }
228 228
229 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast. 229 void toHTMLSelectElement(const HTMLSelectElement*); // This overload will catch anyone doing an unnecessary cast.
230 230
231 } // namespace 231 } // namespace
232 232
233 #endif 233 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698