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

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

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
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 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
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
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.h ('k') | Source/core/html/forms/BaseTextInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698