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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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/HTMLTextAreaElement.h ('k') | Source/core/html/HTMLTitleElement.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, 2010 Apple Inc. All rights reserv ed. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights reserv ed.
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 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } else if (name == accesskeyAttr) { 191 } else if (name == accesskeyAttr) {
192 // ignore for the moment 192 // ignore for the moment
193 } else if (name == maxlengthAttr) { 193 } else if (name == maxlengthAttr) {
194 setNeedsValidityCheck(); 194 setNeedsValidityCheck();
195 } else if (name == minlengthAttr) { 195 } else if (name == minlengthAttr) {
196 setNeedsValidityCheck(); 196 setNeedsValidityCheck();
197 } else 197 } else
198 HTMLTextFormControlElement::parseAttribute(name, value); 198 HTMLTextFormControlElement::parseAttribute(name, value);
199 } 199 }
200 200
201 LayoutObject* HTMLTextAreaElement::createLayoutObject(const LayoutStyle&) 201 LayoutObject* HTMLTextAreaElement::createLayoutObject(const ComputedStyle&)
202 { 202 {
203 return new LayoutTextControlMultiLine(this); 203 return new LayoutTextControlMultiLine(this);
204 } 204 }
205 205
206 bool HTMLTextAreaElement::appendFormData(FormDataList& encoding, bool) 206 bool HTMLTextAreaElement::appendFormData(FormDataList& encoding, bool)
207 { 207 {
208 if (name().isEmpty()) 208 if (name().isEmpty())
209 return false; 209 return false;
210 210
211 document().updateLayout(); 211 document().updateLayout();
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source); 639 HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source);
640 } 640 }
641 641
642 const AtomicString& HTMLTextAreaElement::defaultAutocapitalize() const 642 const AtomicString& HTMLTextAreaElement::defaultAutocapitalize() const
643 { 643 {
644 DEFINE_STATIC_LOCAL(const AtomicString, sentences, ("sentences", AtomicStrin g::ConstructFromLiteral)); 644 DEFINE_STATIC_LOCAL(const AtomicString, sentences, ("sentences", AtomicStrin g::ConstructFromLiteral));
645 return sentences; 645 return sentences;
646 } 646 }
647 647
648 } // namespace blink 648 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/html/HTMLTextAreaElement.h ('k') | Source/core/html/HTMLTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698