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

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

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) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 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 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
8 * Copyright (C) 2010 Google Inc. All rights reserved. 8 * Copyright (C) 2010 Google Inc. All rights reserved.
9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
10 * 10 *
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 { 359 {
360 return static_cast<HTMLOptionsCollection*>(ensureCachedHTMLCollection(Select Options).get()); 360 return static_cast<HTMLOptionsCollection*>(ensureCachedHTMLCollection(Select Options).get());
361 } 361 }
362 362
363 void HTMLSelectElement::updateListItemSelectedStates() 363 void HTMLSelectElement::updateListItemSelectedStates()
364 { 364 {
365 if (m_shouldRecalcListItems) 365 if (m_shouldRecalcListItems)
366 recalcListItems(); 366 recalcListItems();
367 } 367 }
368 368
369 void HTMLSelectElement::childrenChanged(bool changedByParser, Node* beforeChange , Node* afterChange, int childCountDelta) 369 void HTMLSelectElement::childrenChanged(bool changedByParser, const Handle<Node> & beforeChange, const Handle<Node>& afterChange, int childCountDelta)
370 { 370 {
371 setRecalcListItems(); 371 setRecalcListItems();
372 setNeedsValidityCheck(); 372 setNeedsValidityCheck();
373 373
374 HTMLFormControlElementWithState::childrenChanged(changedByParser, beforeChan ge, afterChange, childCountDelta); 374 HTMLFormControlElementWithState::childrenChanged(changedByParser, beforeChan ge, afterChange, childCountDelta);
375 } 375 }
376 376
377 void HTMLSelectElement::optionElementChildrenChanged() 377 void HTMLSelectElement::optionElementChildrenChanged()
378 { 378 {
379 setRecalcListItems(); 379 setRecalcListItems();
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 return options; 1574 return options;
1575 } 1575 }
1576 1576
1577 void HTMLSelectElement::accept(Visitor* visitor) const 1577 void HTMLSelectElement::accept(Visitor* visitor) const
1578 { 1578 {
1579 HTMLFormControlElementWithState::accept(visitor); 1579 HTMLFormControlElementWithState::accept(visitor);
1580 visitor->visit(m_listItems); 1580 visitor->visit(m_listItems);
1581 } 1581 }
1582 1582
1583 } // namespace 1583 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698