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

Side by Side Diff: WebCore/html/HTMLFormControlElement.h

Issue 4056004: Merge 69831 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « WebCore/editing/Editor.cpp ('k') | WebCore/html/HTMLFormControlElement.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, 2008, 2009, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 virtual ~HTMLTextFormControlElement(); 178 virtual ~HTMLTextFormControlElement();
179 179
180 String strippedPlaceholder() const; 180 String strippedPlaceholder() const;
181 181
182 int selectionStart(); 182 int selectionStart();
183 int selectionEnd(); 183 int selectionEnd();
184 void setSelectionStart(int); 184 void setSelectionStart(int);
185 void setSelectionEnd(int); 185 void setSelectionEnd(int);
186 void select(); 186 void select();
187 void setSelectionRange(int start, int end); 187 void setSelectionRange(int start, int end);
188 VisibleSelection selection() const; 188 PassRefPtr<Range> selection() const;
189 189
190 protected: 190 protected:
191 HTMLTextFormControlElement(const QualifiedName&, Document*, HTMLFormElement* ); 191 HTMLTextFormControlElement(const QualifiedName&, Document*, HTMLFormElement* );
192 192
193 bool placeholderShouldBeVisible() const; 193 bool placeholderShouldBeVisible() const;
194 void updatePlaceholderVisibility(bool); 194 void updatePlaceholderVisibility(bool);
195 195
196 virtual void parseMappedAttribute(Attribute*); 196 virtual void parseMappedAttribute(Attribute*);
197 197
198 private: 198 private:
(...skipping 13 matching lines...) Expand all
212 virtual void handleFocusEvent() { } 212 virtual void handleFocusEvent() { }
213 // Called in dispatchBlurEvent(), after placeholder process, before calling parent's dispatchBlurEvent(). 213 // Called in dispatchBlurEvent(), after placeholder process, before calling parent's dispatchBlurEvent().
214 virtual void handleBlurEvent() { } 214 virtual void handleBlurEvent() { }
215 215
216 RenderTextControl* textRendererAfterUpdateLayout(); 216 RenderTextControl* textRendererAfterUpdateLayout();
217 }; 217 };
218 218
219 } // namespace 219 } // namespace
220 220
221 #endif 221 #endif
OLDNEW
« no previous file with comments | « WebCore/editing/Editor.cpp ('k') | WebCore/html/HTMLFormControlElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698