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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h

Issue 1577243002: setRangeText shouldn't dispatch 'search' event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 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 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved. 6 * Copyright (C) 2009, 2010, 2011 Google Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 PassRefPtrWillBeRawPtr<Range> selection() const; 82 PassRefPtrWillBeRawPtr<Range> selection() const;
83 83
84 virtual bool supportsAutocapitalize() const = 0; 84 virtual bool supportsAutocapitalize() const = 0;
85 virtual const AtomicString& defaultAutocapitalize() const = 0; 85 virtual const AtomicString& defaultAutocapitalize() const = 0;
86 const AtomicString& autocapitalize() const; 86 const AtomicString& autocapitalize() const;
87 void setAutocapitalize(const AtomicString&); 87 void setAutocapitalize(const AtomicString&);
88 88
89 void dispatchFormControlChangeEvent() final; 89 void dispatchFormControlChangeEvent() final;
90 90
91 virtual String value() const = 0; 91 virtual String value() const = 0;
92 virtual void setValue(const String&, TextFieldEventBehavior = DispatchNoEven t) = 0;
92 93
93 HTMLElement* innerEditorElement() const; 94 HTMLElement* innerEditorElement() const;
94 95
95 void selectionChanged(bool userTriggered); 96 void selectionChanged(bool userTriggered);
96 bool lastChangeWasUserEdit() const; 97 bool lastChangeWasUserEdit() const;
97 virtual void setInnerEditorValue(const String&); 98 virtual void setInnerEditorValue(const String&);
98 String innerEditorValue() const; 99 String innerEditorValue() const;
99 100
100 String directionForFormData() const; 101 String directionForFormData() const;
101 102
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 } 171 }
171 172
172 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement); 173 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTextFormControlElement);
173 174
174 HTMLTextFormControlElement* enclosingTextFormControl(const Position&); 175 HTMLTextFormControlElement* enclosingTextFormControl(const Position&);
175 HTMLTextFormControlElement* enclosingTextFormControl(Node*); 176 HTMLTextFormControlElement* enclosingTextFormControl(Node*);
176 177
177 } // namespace 178 } // namespace
178 179
179 #endif 180 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698