| 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 55e3f2008a0723e4f33e0f242ebab0732b41bba0..b4e03dfba403de8dae408db3ade09efab1ee7c6e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
|
| @@ -70,7 +70,11 @@ public:
|
| void select(NeedToDispatchSelectEvent = DispatchSelectEvent);
|
| 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);
|
| + // Web-exposed setSelectionRange() function. This translates "none"
|
| + // direction to "forward" if necessary.
|
| + void setSelectionRangeForBinding(int start, int end, const String& direction = "none");
|
| + // Blink-internal version of setSelectionRange(). This never translates
|
| + // "none" direction.
|
| void setSelectionRange(int start, int end, TextFieldSelectionDirection = SelectionHasNoDirection, NeedToDispatchSelectEvent = DispatchSelectEvent);
|
| Range* selection() const;
|
|
|
|
|