| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 double valueAsDouble() const override; | 49 double valueAsDouble() const override; |
| 50 void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const
override; | 50 void setValueAsDouble(double, TextFieldEventBehavior, ExceptionState&) const
override; |
| 51 bool typeMismatchFor(const String&) const override; | 51 bool typeMismatchFor(const String&) const override; |
| 52 bool supportsRequired() const override; | 52 bool supportsRequired() const override; |
| 53 StepRange createStepRange(AnyStepHandling) const override; | 53 StepRange createStepRange(AnyStepHandling) const override; |
| 54 bool isSteppable() const override; | 54 bool isSteppable() const override; |
| 55 void handleMouseDownEvent(MouseEvent*) override; | 55 void handleMouseDownEvent(MouseEvent*) override; |
| 56 void handleTouchEvent(TouchEvent*) override; | 56 void handleTouchEvent(TouchEvent*) override; |
| 57 bool hasTouchEventHandler() const override; | 57 bool hasTouchEventHandler() const override; |
| 58 void handleKeydownEvent(KeyboardEvent*) override; | 58 void handleKeydownEvent(KeyboardEvent*) override; |
| 59 LayoutObject* createLayoutObject(const LayoutStyle&) const override; | 59 LayoutObject* createLayoutObject(const ComputedStyle&) const override; |
| 60 void createShadowSubtree() override; | 60 void createShadowSubtree() override; |
| 61 Decimal parseToNumber(const String&, const Decimal&) const override; | 61 Decimal parseToNumber(const String&, const Decimal&) const override; |
| 62 String serialize(const Decimal&) const override; | 62 String serialize(const Decimal&) const override; |
| 63 void accessKeyAction(bool sendMouseEvents) override; | 63 void accessKeyAction(bool sendMouseEvents) override; |
| 64 void sanitizeValueInResponseToMinOrMaxAttributeChange() override; | 64 void sanitizeValueInResponseToMinOrMaxAttributeChange() override; |
| 65 void setValue(const String&, bool valueChanged, TextFieldEventBehavior) over
ride; | 65 void setValue(const String&, bool valueChanged, TextFieldEventBehavior) over
ride; |
| 66 String fallbackValue() const override; | 66 String fallbackValue() const override; |
| 67 String sanitizeValue(const String& proposedValue) const override; | 67 String sanitizeValue(const String& proposedValue) const override; |
| 68 bool shouldRespectListAttribute() override; | 68 bool shouldRespectListAttribute() override; |
| 69 void disabledAttributeChanged() override; | 69 void disabledAttributeChanged() override; |
| 70 void listAttributeTargetChanged() override; | 70 void listAttributeTargetChanged() override; |
| 71 Decimal findClosestTickMarkValue(const Decimal&) override; | 71 Decimal findClosestTickMarkValue(const Decimal&) override; |
| 72 | 72 |
| 73 SliderThumbElement* sliderThumbElement() const; | 73 SliderThumbElement* sliderThumbElement() const; |
| 74 Element* sliderTrackElement() const; | 74 Element* sliderTrackElement() const; |
| 75 void updateTickMarkValues(); | 75 void updateTickMarkValues(); |
| 76 | 76 |
| 77 // InputTypeView function: | 77 // InputTypeView function: |
| 78 virtual void updateView() override; | 78 virtual void updateView() override; |
| 79 | 79 |
| 80 bool m_tickMarkValuesDirty; | 80 bool m_tickMarkValuesDirty; |
| 81 Vector<Decimal> m_tickMarkValues; | 81 Vector<Decimal> m_tickMarkValues; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 } // namespace blink | 84 } // namespace blink |
| 85 | 85 |
| 86 #endif // RangeInputType_h | 86 #endif // RangeInputType_h |
| OLD | NEW |