#include "third_party/blink/renderer/core/html/forms/date_time_numeric_field_element.h"
#include "third_party/blink/renderer/core/css/css_property_names.h"
#include "third_party/blink/renderer/core/css_value_keywords.h"
#include "third_party/blink/renderer/core/events/keyboard_event.h"
#include "third_party/blink/renderer/core/layout/text_utils.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
#include "third_party/blink/renderer/platform/text/platform_locale.h"
#include "third_party/blink/renderer/platform/text/text_run.h"
namespace blink {
int DateTimeNumericFieldElement::Range::ClampValue(int value) const { … }
bool DateTimeNumericFieldElement::Range::IsInRange(int value) const { … }
DateTimeNumericFieldElement::DateTimeNumericFieldElement(
Document& document,
FieldOwner& field_owner,
DateTimeField type,
const Range& range,
const Range& hard_limits,
const String& placeholder,
const DateTimeNumericFieldElement::Step& step)
: … { … }
float DateTimeNumericFieldElement::MaximumWidth(const ComputedStyle& style) { … }
int DateTimeNumericFieldElement::DefaultValueForStepDown() const { … }
int DateTimeNumericFieldElement::DefaultValueForStepUp() const { … }
void DateTimeNumericFieldElement::SetFocused(
bool value,
mojom::blink::FocusType focus_type) { … }
String DateTimeNumericFieldElement::FormatValue(int value) const { … }
void DateTimeNumericFieldElement::HandleKeyboardEvent(
KeyboardEvent& keyboard_event) { … }
bool DateTimeNumericFieldElement::HasValue() const { … }
void DateTimeNumericFieldElement::Initialize(const AtomicString& pseudo,
const String& ax_help_text) { … }
int DateTimeNumericFieldElement::Maximum() const { … }
String DateTimeNumericFieldElement::Placeholder() const { … }
void DateTimeNumericFieldElement::SetEmptyValue(EventBehavior event_behavior) { … }
void DateTimeNumericFieldElement::SetValueAsInteger(
int value,
EventBehavior event_behavior) { … }
void DateTimeNumericFieldElement::StepDown() { … }
void DateTimeNumericFieldElement::StepUp() { … }
String DateTimeNumericFieldElement::Value() const { … }
int DateTimeNumericFieldElement::ValueAsInteger() const { … }
int DateTimeNumericFieldElement::TypeAheadValue() const { … }
String DateTimeNumericFieldElement::VisibleValue() const { … }
int DateTimeNumericFieldElement::RoundDown(int n) const { … }
int DateTimeNumericFieldElement::RoundUp(int n) const { … }
}