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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h

Issue 1785603002: TEXTAREA: Cutting last line without EOL should not remove the remaining EOL in the previous line. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove an ASSERT, update a comment Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
index e032959d5118748620fe4b4a51c7934849edce3b..38627890a34d7efa5b26e61d383059c973ede08e 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
@@ -97,6 +97,7 @@ public:
bool lastChangeWasUserEdit() const;
virtual void setInnerEditorValue(const String&);
String innerEditorValue() const;
+ PassRefPtrWillBeRawPtr<Node> createPlaceholderBreakElement() const;
String directionForFormData() const;
@@ -131,7 +132,7 @@ protected:
virtual void subtreeHasChanged() = 0;
void setLastChangeWasNotUserEdit() { m_lastChangeWasUserEdit = false; }
-
+ void addPlaceholderBreakElementIfNecessary();
String valueWithHardLineBreaks() const;
virtual bool shouldDispatchFormControlChangeEvent(String&, String&);

Powered by Google App Engine
This is Rietveld 408576698