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

Side by Side Diff: Source/core/html/HTMLOptionElement.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) 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 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 5 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
6 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
7 * Copyright (C) 2010 Google Inc. All rights reserved. 7 * Copyright (C) 2010 Google Inc. All rights reserved.
8 * Copyright (C) 2011 Motorola Mobility, Inc. All rights reserved. 8 * Copyright (C) 2011 Motorola Mobility, Inc. All rights reserved.
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 if (m_isSelected == selected) 257 if (m_isSelected == selected)
258 return; 258 return;
259 259
260 m_isSelected = selected; 260 m_isSelected = selected;
261 didAffectSelector(AffectedSelectorChecked); 261 didAffectSelector(AffectedSelectorChecked);
262 262
263 if (Handle<HTMLSelectElement> select = ownerSelectElement()) 263 if (Handle<HTMLSelectElement> select = ownerSelectElement())
264 select->invalidateSelectedItems(); 264 select->invalidateSelectedItems();
265 } 265 }
266 266
267 void HTMLOptionElement::childrenChanged(bool changedByParser, Node* beforeChange , Node* afterChange, int childCountDelta) 267 void HTMLOptionElement::childrenChanged(bool changedByParser, const Handle<Node> & beforeChange, const Handle<Node>& afterChange, int childCountDelta)
268 { 268 {
269 #if ENABLE(DATALIST_ELEMENT) 269 #if ENABLE(DATALIST_ELEMENT)
270 if (Handle<HTMLDataListElement> dataList = ownerDataListElement()) 270 if (Handle<HTMLDataListElement> dataList = ownerDataListElement())
271 dataList->optionElementChildrenChanged(); 271 dataList->optionElementChildrenChanged();
272 else 272 else
273 #endif 273 #endif
274 if (Handle<HTMLSelectElement> select = ownerSelectElement()) 274 if (Handle<HTMLSelectElement> select = ownerSelectElement())
275 select->optionElementChildrenChanged(); 275 select->optionElementChildrenChanged();
276 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi ldCountDelta); 276 HTMLElement::childrenChanged(changedByParser, beforeChange, afterChange, chi ldCountDelta);
277 } 277 }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 } 412 }
413 413
414 #endif 414 #endif
415 415
416 void HTMLOptionElement::accept(Visitor* visitor) const 416 void HTMLOptionElement::accept(Visitor* visitor) const
417 { 417 {
418 HTMLElement::accept(visitor); 418 HTMLElement::accept(visitor);
419 } 419 }
420 420
421 } // namespace 421 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698