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 b2adc38dccc0704d661e9154de91501eb11f12f8..55e3f2008a0723e4f33e0f242ebab0732b41bba0 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h |
@@ -43,12 +43,6 @@ public: |
// Common flag for HTMLInputElement::tooLong(), HTMLTextAreaElement::tooLong(), |
// HTMLInputElement::tooShort() and HTMLTextAreaElement::tooShort(). |
enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag}; |
- // Option of setSelectionRange. |
- enum SelectionOption { |
- ChangeSelectionAndFocus, |
- ChangeSelectionIfFocused, |
- NotChangeSelection |
- }; |
~HTMLTextFormControlElement() override; |
@@ -77,7 +71,7 @@ public: |
virtual void setRangeText(const String& replacement, ExceptionState&); |
virtual void setRangeText(const String& replacement, unsigned start, unsigned end, const String& selectionMode, ExceptionState&); |
void setSelectionRange(int start, int end, const String& direction); |
- void setSelectionRange(int start, int end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent, SelectionOption = ChangeSelectionIfFocused); |
+ void setSelectionRange(int start, int end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent); |
Range* selection() const; |
virtual bool supportsAutocapitalize() const = 0; |