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

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

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 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/HTMLSummaryElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.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) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 private: 67 private:
68 HTMLTextAreaElement(Document&, HTMLFormElement*); 68 HTMLTextAreaElement(Document&, HTMLFormElement*);
69 69
70 enum WrapMethod { NoWrap, SoftWrap, HardWrap }; 70 enum WrapMethod { NoWrap, SoftWrap, HardWrap };
71 enum SetValueCommonOption { 71 enum SetValueCommonOption {
72 NotSetSelection, 72 NotSetSelection,
73 SetSeletion 73 SetSeletion
74 }; 74 };
75 75
76 virtual void didAddUserAgentShadowRoot(ShadowRoot&) override; 76 virtual void didAddClosedShadowRoot(ShadowRoot&) override;
77 // FIXME: Author shadows should be allowed 77 // FIXME: Author shadows should be allowed
78 // https://bugs.webkit.org/show_bug.cgi?id=92608 78 // https://bugs.webkit.org/show_bug.cgi?id=92608
79 virtual bool areAuthorShadowsAllowed() const override { return false; } 79 virtual bool areAuthorShadowsAllowed() const override { return false; }
80 80
81 void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) const; 81 void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*) const;
82 static String sanitizeUserInputValue(const String&, unsigned maxLength); 82 static String sanitizeUserInputValue(const String&, unsigned maxLength);
83 void updateValue() const; 83 void updateValue() const;
84 virtual void setInnerEditorValue(const String&) override; 84 virtual void setInnerEditorValue(const String&) override;
85 void setNonDirtyValue(const String&); 85 void setNonDirtyValue(const String&);
86 void setValueCommon(const String&, TextFieldEventBehavior, SetValueCommonOpt ion = NotSetSelection); 86 void setValueCommon(const String&, TextFieldEventBehavior, SetValueCommonOpt ion = NotSetSelection);
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 WrapMethod m_wrap; 137 WrapMethod m_wrap;
138 mutable String m_value; 138 mutable String m_value;
139 mutable bool m_isDirty; 139 mutable bool m_isDirty;
140 bool m_valueIsUpToDate; 140 bool m_valueIsUpToDate;
141 String m_suggestedValue; 141 String m_suggestedValue;
142 }; 142 };
143 143
144 } // namespace blink 144 } // namespace blink
145 145
146 #endif // HTMLTextAreaElement_h 146 #endif // HTMLTextAreaElement_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLSummaryElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698