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

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

Issue 26622007: Move isAutofilled and setAutofilled from HTMLInputElement to HTMLFormControlElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update messaging in test. Created 7 years, 2 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/HTMLSelectElement.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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void restoreFormControlState(const FormControlState&) OVERRIDE; 98 virtual void restoreFormControlState(const FormControlState&) OVERRIDE;
99 99
100 virtual bool isTextFormControl() const { return true; } 100 virtual bool isTextFormControl() const { return true; }
101 101
102 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 102 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0);
103 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 103 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
104 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 104 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
105 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 105 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
106 virtual RenderObject* createRenderer(RenderStyle*); 106 virtual RenderObject* createRenderer(RenderStyle*);
107 virtual bool appendFormData(FormDataList&, bool); 107 virtual bool appendFormData(FormDataList&, bool);
108 virtual void reset(); 108 virtual void resetImpl() OVERRIDE;
109 virtual bool hasCustomFocusLogic() const OVERRIDE; 109 virtual bool hasCustomFocusLogic() const OVERRIDE;
110 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE; 110 virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE;
111 virtual bool isKeyboardFocusable() const OVERRIDE; 111 virtual bool isKeyboardFocusable() const OVERRIDE;
112 virtual void updateFocusAppearance(bool restorePreviousSelection); 112 virtual void updateFocusAppearance(bool restorePreviousSelection);
113 113
114 virtual void accessKeyAction(bool sendMouseEvents); 114 virtual void accessKeyAction(bool sendMouseEvents);
115 115
116 virtual bool shouldUseInputMethod(); 116 virtual bool shouldUseInputMethod();
117 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE; 117 virtual bool matchesReadOnlyPseudoClass() const OVERRIDE;
118 virtual bool matchesReadWritePseudoClass() const OVERRIDE; 118 virtual bool matchesReadWritePseudoClass() const OVERRIDE;
(...skipping 21 matching lines...) Expand all
140 140
141 inline HTMLTextAreaElement* toHTMLTextAreaElement(Node* node) 141 inline HTMLTextAreaElement* toHTMLTextAreaElement(Node* node)
142 { 142 {
143 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLTextAreaElement(node)); 143 ASSERT_WITH_SECURITY_IMPLICATION(!node || isHTMLTextAreaElement(node));
144 return static_cast<HTMLTextAreaElement*>(node); 144 return static_cast<HTMLTextAreaElement*>(node);
145 } 145 }
146 146
147 } //namespace 147 } //namespace
148 148
149 #endif 149 #endif
OLDNEW
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/HTMLTextAreaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698