| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 bool isReadOnly() const; | 101 bool isReadOnly() const; |
| 102 void layout(const StepRange&, const DateComponents&, Localizer&); | 102 void layout(const StepRange&, const DateComponents&, Localizer&); |
| 103 void updateUIState(); | 103 void updateUIState(); |
| 104 | 104 |
| 105 // DateTimeFieldElement::FieldOwner functions. | 105 // DateTimeFieldElement::FieldOwner functions. |
| 106 virtual void didBlurFromField() OVERRIDE FINAL; | 106 virtual void didBlurFromField() OVERRIDE FINAL; |
| 107 virtual void didFocusOnField() OVERRIDE FINAL; | 107 virtual void didFocusOnField() OVERRIDE FINAL; |
| 108 virtual void fieldValueChanged() OVERRIDE FINAL; | 108 virtual void fieldValueChanged() OVERRIDE FINAL; |
| 109 virtual bool focusOnNextField(const DateTimeFieldElement&) OVERRIDE FINAL; | 109 virtual bool focusOnNextField(const DateTimeFieldElement&) OVERRIDE FINAL; |
| 110 virtual bool focusOnPreviousField(const DateTimeFieldElement&) OVERRIDE FINA
L; | 110 virtual bool focusOnPreviousField(const DateTimeFieldElement&) OVERRIDE FINA
L; |
| 111 virtual bool isFieldOwnerDisabledOrReadOnly() const OVERRIDE FINAL; |
| 111 | 112 |
| 112 // SpinButtonElement::SpinButtonOwner functions. | 113 // SpinButtonElement::SpinButtonOwner functions. |
| 113 virtual void focusAndSelectSpinButtonOwner() OVERRIDE FINAL; | 114 virtual void focusAndSelectSpinButtonOwner() OVERRIDE FINAL; |
| 114 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE FINAL; | 115 virtual bool shouldSpinButtonRespondToMouseEvents() OVERRIDE FINAL; |
| 115 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE FINAL; | 116 virtual bool shouldSpinButtonRespondToWheelEvents() OVERRIDE FINAL; |
| 116 virtual void spinButtonStepDown() OVERRIDE FINAL; | 117 virtual void spinButtonStepDown() OVERRIDE FINAL; |
| 117 virtual void spinButtonStepUp() OVERRIDE FINAL; | 118 virtual void spinButtonStepUp() OVERRIDE FINAL; |
| 118 | 119 |
| 119 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields; | 120 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields; |
| 120 EditControlOwner* m_editControlOwner; | 121 EditControlOwner* m_editControlOwner; |
| 121 SpinButtonElement* m_spinButton; | 122 SpinButtonElement* m_spinButton; |
| 122 }; | 123 }; |
| 123 | 124 |
| 124 } // namespace WebCore | 125 } // namespace WebCore |
| 125 | 126 |
| 126 #endif | 127 #endif |
| 127 #endif | 128 #endif |
| OLD | NEW |