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

Side by Side Diff: Source/core/html/HTMLInputElement.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/HTMLImageElement.cpp ('k') | Source/core/html/HTMLKeygenElement.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, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 6 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 7 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
8 * Copyright (C) 2010 Google Inc. All rights reserved. 8 * Copyright (C) 2010 Google Inc. All rights reserved.
9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 9 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
10 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 10 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 , m_canReceiveDroppedFiles(false) 122 , m_canReceiveDroppedFiles(false)
123 , m_hasTouchEventHandler(false) 123 , m_hasTouchEventHandler(false)
124 , m_shouldRevealPassword(false) 124 , m_shouldRevealPassword(false)
125 , m_needsToUpdateViewValue(true) 125 , m_needsToUpdateViewValue(true)
126 , m_inputType(InputType::createText(*this)) 126 , m_inputType(InputType::createText(*this))
127 , m_inputTypeView(m_inputType) 127 , m_inputTypeView(m_inputType)
128 { 128 {
129 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) 129 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
130 setHasCustomStyleCallbacks(); 130 setHasCustomStyleCallbacks();
131 #endif 131 #endif
132 ScriptWrappable::init(this);
133 } 132 }
134 133
135 PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu ment, HTMLFormElement* form, bool createdByParser) 134 PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& docu ment, HTMLFormElement* form, bool createdByParser)
136 { 135 {
137 RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeNoop(new H TMLInputElement(document, form, createdByParser)); 136 RefPtrWillBeRawPtr<HTMLInputElement> inputElement = adoptRefWillBeNoop(new H TMLInputElement(document, form, createdByParser));
138 inputElement->ensureUserAgentShadowRoot(); 137 inputElement->ensureUserAgentShadowRoot();
139 return inputElement.release(); 138 return inputElement.release();
140 } 139 }
141 140
142 void HTMLInputElement::trace(Visitor* visitor) 141 void HTMLInputElement::trace(Visitor* visitor)
(...skipping 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1894 { 1893 {
1895 listAttributeTargetChanged(); 1894 listAttributeTargetChanged();
1896 } 1895 }
1897 1896
1898 AXObject* HTMLInputElement::popupRootAXObject() 1897 AXObject* HTMLInputElement::popupRootAXObject()
1899 { 1898 {
1900 return m_inputTypeView->popupRootAXObject(); 1899 return m_inputTypeView->popupRootAXObject();
1901 } 1900 }
1902 1901
1903 } // namespace 1902 } // namespace
OLDNEW
« no previous file with comments | « Source/core/html/HTMLImageElement.cpp ('k') | Source/core/html/HTMLKeygenElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698