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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 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
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 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) 7 * (C) 2006 Alexey Proskuryakov (ap@nypop.com)
8 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org) 8 * Copyright (C) 2007 Samuel Weinig (sam@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "core/frame/UseCounter.h" 43 #include "core/frame/UseCounter.h"
44 #include "core/html/FormData.h" 44 #include "core/html/FormData.h"
45 #include "core/html/forms/FormController.h" 45 #include "core/html/forms/FormController.h"
46 #include "core/html/parser/HTMLParserIdioms.h" 46 #include "core/html/parser/HTMLParserIdioms.h"
47 #include "core/html/shadow/ShadowElementNames.h" 47 #include "core/html/shadow/ShadowElementNames.h"
48 #include "core/html/shadow/TextControlInnerElements.h" 48 #include "core/html/shadow/TextControlInnerElements.h"
49 #include "core/layout/LayoutTextControlMultiLine.h" 49 #include "core/layout/LayoutTextControlMultiLine.h"
50 #include "core/page/ChromeClient.h" 50 #include "core/page/ChromeClient.h"
51 #include "core/page/Page.h" 51 #include "core/page/Page.h"
52 #include "platform/text/PlatformLocale.h" 52 #include "platform/text/PlatformLocale.h"
53 #include "wtf/StdLibExtras.h" 53 #include "platform/wtf/StdLibExtras.h"
54 #include "wtf/text/StringBuilder.h" 54 #include "platform/wtf/text/StringBuilder.h"
55 55
56 namespace blink { 56 namespace blink {
57 57
58 using namespace HTMLNames; 58 using namespace HTMLNames;
59 59
60 static const unsigned kDefaultRows = 2; 60 static const unsigned kDefaultRows = 2;
61 static const unsigned kDefaultCols = 20; 61 static const unsigned kDefaultCols = 20;
62 62
63 static inline unsigned ComputeLengthForAPIValue(const String& text) { 63 static inline unsigned ComputeLengthForAPIValue(const String& text) {
64 unsigned length = text.length(); 64 unsigned length = text.length();
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 const Element& source) { 632 const Element& source) {
633 const HTMLTextAreaElement& source_element = 633 const HTMLTextAreaElement& source_element =
634 static_cast<const HTMLTextAreaElement&>(source); 634 static_cast<const HTMLTextAreaElement&>(source);
635 SetValueCommon(source_element.value(), kDispatchNoEvent, 635 SetValueCommon(source_element.value(), kDispatchNoEvent,
636 TextControlSetValueSelection::kSetSelectionToEnd); 636 TextControlSetValueSelection::kSetSelectionToEnd);
637 is_dirty_ = source_element.is_dirty_; 637 is_dirty_ = source_element.is_dirty_;
638 TextControlElement::CopyNonAttributePropertiesFromElement(source); 638 TextControlElement::CopyNonAttributePropertiesFromElement(source);
639 } 639 }
640 640
641 } // namespace blink 641 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698