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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 element->removeClearButtonOwner(); | 308 element->removeClearButtonOwner(); |
309 if (DateTimeEditElement* element = dateTimeEditElement()) | 309 if (DateTimeEditElement* element = dateTimeEditElement()) |
310 element->removeEditControlOwner(); | 310 element->removeEditControlOwner(); |
311 if (PickerIndicatorElement* element = pickerIndicatorElement()) | 311 if (PickerIndicatorElement* element = pickerIndicatorElement()) |
312 element->removePickerIndicatorOwner(); | 312 element->removePickerIndicatorOwner(); |
313 #endif | 313 #endif |
314 } | 314 } |
315 | 315 |
316 String BaseMultipleFieldsDateAndTimeInputType::badInputText() const | 316 String BaseMultipleFieldsDateAndTimeInputType::badInputText() const |
317 { | 317 { |
318 return locale().queryString(blink::WebLocalizedString::ValidationBadInputFor
DateTime); | 318 return locale().queryString(WebLocalizedString::ValidationBadInputForDateTim
e); |
319 } | 319 } |
320 | 320 |
321 void BaseMultipleFieldsDateAndTimeInputType::blur() | 321 void BaseMultipleFieldsDateAndTimeInputType::blur() |
322 { | 322 { |
323 if (DateTimeEditElement* edit = dateTimeEditElement()) | 323 if (DateTimeEditElement* edit = dateTimeEditElement()) |
324 edit->blurByOwner(); | 324 edit->blurByOwner(); |
325 } | 325 } |
326 | 326 |
327 PassRefPtr<ComputedStyle> BaseMultipleFieldsDateAndTimeInputType::customStyleFor
LayoutObject(PassRefPtr<ComputedStyle> originalStyle) | 327 PassRefPtr<ComputedStyle> BaseMultipleFieldsDateAndTimeInputType::customStyleFor
LayoutObject(PassRefPtr<ComputedStyle> originalStyle) |
328 { | 328 { |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 AXObject* BaseMultipleFieldsDateAndTimeInputType::popupRootAXObject() | 620 AXObject* BaseMultipleFieldsDateAndTimeInputType::popupRootAXObject() |
621 { | 621 { |
622 if (PickerIndicatorElement* picker = pickerIndicatorElement()) | 622 if (PickerIndicatorElement* picker = pickerIndicatorElement()) |
623 return picker->popupRootAXObject(); | 623 return picker->popupRootAXObject(); |
624 return nullptr; | 624 return nullptr; |
625 } | 625 } |
626 | 626 |
627 } // namespace blink | 627 } // namespace blink |
628 | 628 |
629 #endif | 629 #endif |
OLD | NEW |