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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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
« no previous file with comments | « Source/core/html/HTMLFormControlsCollection.cpp ('k') | Source/core/html/HTMLFrameElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv ed.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 , m_imageElementsAreDirty(false) 72 , m_imageElementsAreDirty(false)
73 , m_hasElementsAssociatedByParser(false) 73 , m_hasElementsAssociatedByParser(false)
74 , m_didFinishParsingChildren(false) 74 , m_didFinishParsingChildren(false)
75 , m_wasUserSubmitted(false) 75 , m_wasUserSubmitted(false)
76 , m_isSubmittingOrInUserJSSubmitEvent(false) 76 , m_isSubmittingOrInUserJSSubmitEvent(false)
77 , m_shouldSubmit(false) 77 , m_shouldSubmit(false)
78 , m_isInResetFunction(false) 78 , m_isInResetFunction(false)
79 , m_wasDemoted(false) 79 , m_wasDemoted(false)
80 , m_pendingAutocompleteEventsQueue(GenericEventQueue::create(this)) 80 , m_pendingAutocompleteEventsQueue(GenericEventQueue::create(this))
81 { 81 {
82 ScriptWrappable::init(this);
83 } 82 }
84 83
85 PassRefPtrWillBeRawPtr<HTMLFormElement> HTMLFormElement::create(Document& docume nt) 84 PassRefPtrWillBeRawPtr<HTMLFormElement> HTMLFormElement::create(Document& docume nt)
86 { 85 {
87 UseCounter::count(document, UseCounter::FormElement); 86 UseCounter::count(document, UseCounter::FormElement);
88 return adoptRefWillBeNoop(new HTMLFormElement(document)); 87 return adoptRefWillBeNoop(new HTMLFormElement(document));
89 } 88 }
90 89
91 HTMLFormElement::~HTMLFormElement() 90 HTMLFormElement::~HTMLFormElement()
92 { 91 {
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 } 844 }
846 845
847 void HTMLFormElement::setDemoted(bool demoted) 846 void HTMLFormElement::setDemoted(bool demoted)
848 { 847 {
849 if (demoted) 848 if (demoted)
850 UseCounter::count(document(), UseCounter::DemotedFormElement); 849 UseCounter::count(document(), UseCounter::DemotedFormElement);
851 m_wasDemoted = demoted; 850 m_wasDemoted = demoted;
852 } 851 }
853 852
854 } // namespace 853 } // namespace
OLDNEW
« no previous file with comments | « Source/core/html/HTMLFormControlsCollection.cpp ('k') | Source/core/html/HTMLFrameElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698