| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #include "CSSValueKeywords.h" | 35 #include "CSSValueKeywords.h" |
| 36 #include "RuntimeEnabledFeatures.h" | 36 #include "RuntimeEnabledFeatures.h" |
| 37 #include "core/dom/shadow/ShadowRoot.h" | 37 #include "core/dom/shadow/ShadowRoot.h" |
| 38 #include "core/events/KeyboardEvent.h" | 38 #include "core/events/KeyboardEvent.h" |
| 39 #include "core/html/HTMLDataListElement.h" | 39 #include "core/html/HTMLDataListElement.h" |
| 40 #include "core/html/HTMLInputElement.h" | 40 #include "core/html/HTMLInputElement.h" |
| 41 #include "core/html/HTMLOptionElement.h" | 41 #include "core/html/HTMLOptionElement.h" |
| 42 #include "core/html/forms/DateTimeFieldsState.h" | 42 #include "core/html/forms/DateTimeFieldsState.h" |
| 43 #include "core/html/forms/FormController.h" | 43 #include "core/html/forms/FormController.h" |
| 44 #include "core/html/shadow/PickerIndicatorElement.h" | |
| 45 #include "core/html/shadow/ShadowElementNames.h" | 44 #include "core/html/shadow/ShadowElementNames.h" |
| 46 #include "core/page/FocusController.h" | 45 #include "core/page/FocusController.h" |
| 47 #include "core/page/Page.h" | 46 #include "core/page/Page.h" |
| 48 #include "core/rendering/RenderTheme.h" | 47 #include "core/rendering/RenderTheme.h" |
| 49 #include "platform/DateComponents.h" | 48 #include "platform/DateComponents.h" |
| 50 #include "platform/text/DateTimeFormat.h" | 49 #include "platform/text/DateTimeFormat.h" |
| 51 #include "platform/text/PlatformLocale.h" | 50 #include "platform/text/PlatformLocale.h" |
| 52 #include "wtf/DateMath.h" | 51 #include "wtf/DateMath.h" |
| 53 | 52 |
| 54 namespace WebCore { | 53 namespace WebCore { |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 605 |
| 607 if (element().isRequired() || !dateTimeEditElement()->anyEditableFieldsHaveV
alues()) | 606 if (element().isRequired() || !dateTimeEditElement()->anyEditableFieldsHaveV
alues()) |
| 608 clearButton->setInlineStyleProperty(CSSPropertyVisibility, CSSValueHidde
n); | 607 clearButton->setInlineStyleProperty(CSSPropertyVisibility, CSSValueHidde
n); |
| 609 else | 608 else |
| 610 clearButton->removeInlineStyleProperty(CSSPropertyVisibility); | 609 clearButton->removeInlineStyleProperty(CSSPropertyVisibility); |
| 611 } | 610 } |
| 612 | 611 |
| 613 } // namespace WebCore | 612 } // namespace WebCore |
| 614 | 613 |
| 615 #endif | 614 #endif |
| OLD | NEW |