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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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
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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 DEFINE_TRACE(HTMLInputElement) 141 DEFINE_TRACE(HTMLInputElement)
142 { 142 {
143 visitor->trace(m_inputType); 143 visitor->trace(m_inputType);
144 visitor->trace(m_inputTypeView); 144 visitor->trace(m_inputTypeView);
145 visitor->trace(m_listAttributeTargetObserver); 145 visitor->trace(m_listAttributeTargetObserver);
146 visitor->trace(m_imageLoader); 146 visitor->trace(m_imageLoader);
147 HTMLTextFormControlElement::trace(visitor); 147 HTMLTextFormControlElement::trace(visitor);
148 } 148 }
149 149
150 HTMLImageLoader* HTMLInputElement::imageLoader() const
151 {
152 return m_imageLoader.get();
153 }
154
155 HTMLImageLoader& HTMLInputElement::ensureImageLoader() 150 HTMLImageLoader& HTMLInputElement::ensureImageLoader()
156 { 151 {
157 if (!m_imageLoader) 152 if (!m_imageLoader)
158 m_imageLoader = HTMLImageLoader::create(this); 153 m_imageLoader = HTMLImageLoader::create(this);
159 return *m_imageLoader; 154 return *m_imageLoader;
160 } 155 }
161 156
162 void HTMLInputElement::didAddUserAgentShadowRoot(ShadowRoot&) 157 void HTMLInputElement::didAddUserAgentShadowRoot(ShadowRoot&)
163 { 158 {
164 m_inputTypeView->createShadowSubtree(); 159 m_inputTypeView->createShadowSubtree();
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1954 void HTMLInputElement::ensurePrimaryContent() 1949 void HTMLInputElement::ensurePrimaryContent()
1955 { 1950 {
1956 m_inputTypeView->ensurePrimaryContent(); 1951 m_inputTypeView->ensurePrimaryContent();
1957 } 1952 }
1958 1953
1959 bool HTMLInputElement::hasFallbackContent() const 1954 bool HTMLInputElement::hasFallbackContent() const
1960 { 1955 {
1961 return m_inputTypeView->hasFallbackContent(); 1956 return m_inputTypeView->hasFallbackContent();
1962 } 1957 }
1963 } // namespace 1958 } // namespace
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLInputElement.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698