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

Side by Side Diff: Source/core/html/shadow/DateTimeEditElement.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 bool shouldDayOfMonthFieldDisabled() const; 62 bool shouldDayOfMonthFieldDisabled() const;
63 bool shouldHourFieldDisabled() const; 63 bool shouldHourFieldDisabled() const;
64 bool shouldMillisecondFieldDisabled() const; 64 bool shouldMillisecondFieldDisabled() const;
65 bool shouldMinuteFieldDisabled() const; 65 bool shouldMinuteFieldDisabled() const;
66 bool shouldSecondFieldDisabled() const; 66 bool shouldSecondFieldDisabled() const;
67 bool shouldYearFieldDisabled() const; 67 bool shouldYearFieldDisabled() const;
68 inline const StepRange& stepRange() const { return m_parameters.stepRange; } 68 inline const StepRange& stepRange() const { return m_parameters.stepRange; }
69 DateTimeNumericFieldElement::Step createStep(double msPerFieldUnit, double m sPerFieldSize) const; 69 DateTimeNumericFieldElement::Step createStep(double msPerFieldUnit, double m sPerFieldSize) const;
70 70
71 // DateTimeFormat::TokenHandler functions. 71 // DateTimeFormat::TokenHandler functions.
72 virtual void visitField(DateTimeFormat::FieldType, int) OVERRIDE FINAL; 72 virtual void visitField(DateTimeFormat::FieldType, int) override final;
73 virtual void visitLiteral(const String&) OVERRIDE FINAL; 73 virtual void visitLiteral(const String&) override final;
74 74
75 DateTimeEditElement& m_editElement; 75 DateTimeEditElement& m_editElement;
76 const DateComponents m_dateValue; 76 const DateComponents m_dateValue;
77 const DateTimeEditElement::LayoutParameters& m_parameters; 77 const DateTimeEditElement::LayoutParameters& m_parameters;
78 DateTimeNumericFieldElement::Range m_dayRange; 78 DateTimeNumericFieldElement::Range m_dayRange;
79 DateTimeNumericFieldElement::Range m_hour23Range; 79 DateTimeNumericFieldElement::Range m_hour23Range;
80 DateTimeNumericFieldElement::Range m_minuteRange; 80 DateTimeNumericFieldElement::Range m_minuteRange;
81 DateTimeNumericFieldElement::Range m_secondRange; 81 DateTimeNumericFieldElement::Range m_secondRange;
82 DateTimeNumericFieldElement::Range m_millisecondRange; 82 DateTimeNumericFieldElement::Range m_millisecondRange;
83 }; 83 };
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 { 808 {
809 DateTimeFieldsState dateTimeFieldsState; 809 DateTimeFieldsState dateTimeFieldsState;
810 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex) 810 for (size_t fieldIndex = 0; fieldIndex < m_fields.size(); ++fieldIndex)
811 m_fields[fieldIndex]->populateDateTimeFieldsState(dateTimeFieldsState); 811 m_fields[fieldIndex]->populateDateTimeFieldsState(dateTimeFieldsState);
812 return dateTimeFieldsState; 812 return dateTimeFieldsState;
813 } 813 }
814 814
815 } // namespace blink 815 } // namespace blink
816 816
817 #endif 817 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/DateTimeEditElement.h ('k') | Source/core/html/shadow/DateTimeFieldElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698