| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 DateTimeFormatValidator() | 58 DateTimeFormatValidator() |
| 59 : m_hasYear(false) | 59 : m_hasYear(false) |
| 60 , m_hasMonth(false) | 60 , m_hasMonth(false) |
| 61 , m_hasWeek(false) | 61 , m_hasWeek(false) |
| 62 , m_hasDay(false) | 62 , m_hasDay(false) |
| 63 , m_hasAMPM(false) | 63 , m_hasAMPM(false) |
| 64 , m_hasHour(false) | 64 , m_hasHour(false) |
| 65 , m_hasMinute(false) | 65 , m_hasMinute(false) |
| 66 , m_hasSecond(false) { } | 66 , m_hasSecond(false) { } |
| 67 | 67 |
| 68 virtual void visitField(DateTimeFormat::FieldType, int) OVERRIDE FINAL; | 68 virtual void visitField(DateTimeFormat::FieldType, int) override final; |
| 69 virtual void visitLiteral(const String&) OVERRIDE FINAL { } | 69 virtual void visitLiteral(const String&) override final { } |
| 70 | 70 |
| 71 bool validateFormat(const String& format, const BaseMultipleFieldsDateAndTim
eInputType&); | 71 bool validateFormat(const String& format, const BaseMultipleFieldsDateAndTim
eInputType&); |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 bool m_hasYear; | 74 bool m_hasYear; |
| 75 bool m_hasMonth; | 75 bool m_hasMonth; |
| 76 bool m_hasWeek; | 76 bool m_hasWeek; |
| 77 bool m_hasDay; | 77 bool m_hasDay; |
| 78 bool m_hasAMPM; | 78 bool m_hasAMPM; |
| 79 bool m_hasHour; | 79 bool m_hasHour; |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 AXObject* BaseMultipleFieldsDateAndTimeInputType::popupRootAXObject() | 629 AXObject* BaseMultipleFieldsDateAndTimeInputType::popupRootAXObject() |
| 630 { | 630 { |
| 631 if (PickerIndicatorElement* picker = pickerIndicatorElement()) | 631 if (PickerIndicatorElement* picker = pickerIndicatorElement()) |
| 632 return picker->popupRootAXObject(); | 632 return picker->popupRootAXObject(); |
| 633 return 0; | 633 return 0; |
| 634 } | 634 } |
| 635 | 635 |
| 636 } // namespace blink | 636 } // namespace blink |
| 637 | 637 |
| 638 #endif | 638 #endif |
| OLD | NEW |