Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/TextControlElement.h |
| diff --git a/third_party/WebKit/Source/core/html/TextControlElement.h b/third_party/WebKit/Source/core/html/TextControlElement.h |
| index 8667c1ff259bf92e819da9fa2c7c120b14fa2c63..fb798a8a9e1b5462cf35c0d61d571eaa113fcf61 100644 |
| --- a/third_party/WebKit/Source/core/html/TextControlElement.h |
| +++ b/third_party/WebKit/Source/core/html/TextControlElement.h |
| @@ -28,13 +28,13 @@ |
| #include "base/gtest_prod_util.h" |
| #include "core/CoreExport.h" |
| +#include "core/editing/SelectionTemplate.h" |
| #include "core/editing/VisiblePosition.h" |
| #include "core/html/HTMLFormControlElementWithState.h" |
| namespace blink { |
| class ExceptionState; |
| -class Range; |
| enum TextFieldSelectionDirection { |
| SelectionHasNoDirection, |
| @@ -100,7 +100,7 @@ class CORE_EXPORT TextControlElement : public HTMLFormControlElementWithState { |
| bool setSelectionRange(unsigned start, |
| unsigned end, |
| TextFieldSelectionDirection = SelectionHasNoDirection); |
| - Range* selection() const; |
| + const SelectionInDOMTree selection() const; |
|
yosin_UTC9
2017/03/15 09:29:28
nit: s/const SelecitonInDOMTree/SelectionInDOMTree
tanvir
2017/03/15 10:18:15
Done.
|
| virtual bool supportsAutocapitalize() const = 0; |
| virtual const AtomicString& defaultAutocapitalize() const = 0; |