| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index d990ffc8738cca464c55500e2c3bf32b3ad9b8f4..07ff516abc5fcad9e43f6428bd90c12195e6654a 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1681,6 +1681,19 @@ bool HTMLInputElement::ShouldAppearIndeterminate() const {
|
| return input_type_->ShouldAppearIndeterminate();
|
| }
|
|
|
| +CaptureFacingMode HTMLInputElement::capture() const {
|
| + const String capture = FastGetAttribute(captureAttr).LowerASCII();
|
| + if (capture == "user")
|
| + return CaptureFacingModeUser;
|
| +
|
| + // |capture| is equivalent to 'environment' if unspecified.
|
| + return CaptureFacingModeEnvironment;
|
| +}
|
| +
|
| +void HTMLInputElement::setCapture(const AtomicString& value) {
|
| + setAttribute(captureAttr, value);
|
| +}
|
| +
|
| bool HTMLInputElement::IsInRequiredRadioButtonGroup() {
|
| // TODO(tkent): Remove type check.
|
| DCHECK_EQ(type(), InputTypeNames::radio);
|
|
|