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

Side by Side Diff: Source/core/html/HTMLOutputElement.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 Google Inc. All rights reserved. 2 * Copyright (c) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 DOMSettableTokenList* HTMLOutputElement::htmlFor() const 74 DOMSettableTokenList* HTMLOutputElement::htmlFor() const
75 { 75 {
76 return m_tokens.get(); 76 return m_tokens.get();
77 } 77 }
78 78
79 void HTMLOutputElement::setFor(const String& value) 79 void HTMLOutputElement::setFor(const String& value)
80 { 80 {
81 m_tokens->setValue(value); 81 m_tokens->setValue(value);
82 } 82 }
83 83
84 void HTMLOutputElement::childrenChanged(bool createdByParser, Node* beforeChange , Node* afterChange, int childCountDelta) 84 void HTMLOutputElement::childrenChanged(bool createdByParser, const Handle<Node> & beforeChange, const Handle<Node>& afterChange, int childCountDelta)
85 { 85 {
86 HTMLFormControlElement::childrenChanged(createdByParser, beforeChange, after Change, childCountDelta); 86 HTMLFormControlElement::childrenChanged(createdByParser, beforeChange, after Change, childCountDelta);
87 87
88 if (createdByParser || m_isSetTextContentInProgress) { 88 if (createdByParser || m_isSetTextContentInProgress) {
89 m_isSetTextContentInProgress = false; 89 m_isSetTextContentInProgress = false;
90 return; 90 return;
91 } 91 }
92 92
93 if (m_isDefaultValueMode) 93 if (m_isDefaultValueMode)
94 m_defaultValue = textContent(); 94 m_defaultValue = textContent();
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 m_isSetTextContentInProgress = true; 141 m_isSetTextContentInProgress = true;
142 setTextContent(value, IGNORE_EXCEPTION); 142 setTextContent(value, IGNORE_EXCEPTION);
143 } 143 }
144 144
145 void HTMLOutputElement::accept(Visitor* visitor) const 145 void HTMLOutputElement::accept(Visitor* visitor) const
146 { 146 {
147 HTMLFormControlElement::accept(visitor); 147 HTMLFormControlElement::accept(visitor);
148 } 148 }
149 149
150 } // namespace 150 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698