| 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 16 matching lines...) Expand all Loading... |
| 27 #define DateTimeEditElement_h | 27 #define DateTimeEditElement_h |
| 28 | 28 |
| 29 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) | 29 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
| 30 #include "core/html/forms/StepRange.h" | 30 #include "core/html/forms/StepRange.h" |
| 31 #include "core/html/shadow/DateTimeFieldElement.h" | 31 #include "core/html/shadow/DateTimeFieldElement.h" |
| 32 #include "platform/DateComponents.h" | 32 #include "platform/DateComponents.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class DateTimeFieldsState; | 36 class DateTimeFieldsState; |
| 37 class KeyboardEvent; | |
| 38 class Locale; | 37 class Locale; |
| 39 class MouseEvent; | |
| 40 class StepRange; | 38 class StepRange; |
| 41 | 39 |
| 42 // DateTimeEditElement class contains numberic field and symbolc field for | 40 // DateTimeEditElement class contains numberic field and symbolc field for |
| 43 // representing date and time, such as | 41 // representing date and time, such as |
| 44 // - Year, Month, Day Of Month | 42 // - Year, Month, Day Of Month |
| 45 // - Hour, Minute, Second, Millisecond, AM/PM | 43 // - Hour, Minute, Second, Millisecond, AM/PM |
| 46 class DateTimeEditElement FINAL : public HTMLDivElement, public DateTimeFieldEle
ment::FieldOwner { | 44 class DateTimeEditElement FINAL : public HTMLDivElement, public DateTimeFieldEle
ment::FieldOwner { |
| 47 WTF_MAKE_NONCOPYABLE(DateTimeEditElement); | 45 WTF_MAKE_NONCOPYABLE(DateTimeEditElement); |
| 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DateTimeEditElement); | 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DateTimeEditElement); |
| 49 | 47 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 WillBeHeapVector<RawPtrWillBeMember<DateTimeFieldElement>, maximumNumberOfFi
elds> m_fields; | 151 WillBeHeapVector<RawPtrWillBeMember<DateTimeFieldElement>, maximumNumberOfFi
elds> m_fields; |
| 154 RawPtrWillBeMember<EditControlOwner> m_editControlOwner; | 152 RawPtrWillBeMember<EditControlOwner> m_editControlOwner; |
| 155 }; | 153 }; |
| 156 | 154 |
| 157 DEFINE_TYPE_CASTS(DateTimeEditElement, Element, element, element->isDateTimeEdit
Element(), element.isDateTimeEditElement()); | 155 DEFINE_TYPE_CASTS(DateTimeEditElement, Element, element, element->isDateTimeEdit
Element(), element.isDateTimeEditElement()); |
| 158 | 156 |
| 159 } // namespace blink | 157 } // namespace blink |
| 160 | 158 |
| 161 #endif | 159 #endif |
| 162 #endif | 160 #endif |
| OLD | NEW |