| 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 552148601af95141689789c5abad6424a58606c4..b2adc38dccc0704d661e9154de91501eb11f12f8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
|
| @@ -45,7 +45,6 @@ public:
|
| enum NeedsToCheckDirtyFlag {CheckDirtyFlag, IgnoreDirtyFlag};
|
| // Option of setSelectionRange.
|
| enum SelectionOption {
|
| - ChangeSelection,
|
| ChangeSelectionAndFocus,
|
| ChangeSelectionIfFocused,
|
| NotChangeSelection
|
| @@ -78,7 +77,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 = ChangeSelection);
|
| + void setSelectionRange(int start, int end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent, SelectionOption = ChangeSelectionIfFocused);
|
| Range* selection() const;
|
|
|
| virtual bool supportsAutocapitalize() const = 0;
|
|
|