Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp

Issue 1219013005: Fix virtual/override/final usage in Source/core/html/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/canvas/Path2D.h ('k') | Source/core/html/forms/ColorInputType.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 void visitField(DateTimeFormat::FieldType, int) final;
69 virtual void visitLiteral(const String&) override final { } 69 void visitLiteral(const String&) 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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « Source/core/html/canvas/Path2D.h ('k') | Source/core/html/forms/ColorInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698