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

Side by Side Diff: Source/core/html/shadow/DateTimeEditElement.h

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 LayoutParameters(Locale& locale, const StepRange& stepRange) 75 LayoutParameters(Locale& locale, const StepRange& stepRange)
76 : locale(locale) 76 : locale(locale)
77 , stepRange(stepRange) 77 , stepRange(stepRange)
78 { 78 {
79 } 79 }
80 }; 80 };
81 81
82 static PassRefPtrWillBeRawPtr<DateTimeEditElement> create(Document&, EditCon trolOwner&); 82 static PassRefPtrWillBeRawPtr<DateTimeEditElement> create(Document&, EditCon trolOwner&);
83 83
84 virtual ~DateTimeEditElement(); 84 virtual ~DateTimeEditElement();
85 virtual void trace(Visitor*) override; 85 DECLARE_VIRTUAL_TRACE();
86 86
87 void addField(PassRefPtrWillBeRawPtr<DateTimeFieldElement>); 87 void addField(PassRefPtrWillBeRawPtr<DateTimeFieldElement>);
88 bool anyEditableFieldsHaveValues() const; 88 bool anyEditableFieldsHaveValues() const;
89 void blurByOwner(); 89 void blurByOwner();
90 virtual void defaultEventHandler(Event*) override; 90 virtual void defaultEventHandler(Event*) override;
91 void disabledStateChanged(); 91 void disabledStateChanged();
92 Element* fieldsWrapperElement() const; 92 Element* fieldsWrapperElement() const;
93 void focusIfNoFocus(); 93 void focusIfNoFocus();
94 // If oldFocusedNode is one of sub-fields, focus on it. Otherwise focus on 94 // If oldFocusedNode is one of sub-fields, focus on it. Otherwise focus on
95 // the first sub-field. 95 // the first sub-field.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 WillBeHeapVector<RawPtrWillBeMember<DateTimeFieldElement>, maximumNumberOfFi elds> m_fields; 151 WillBeHeapVector<RawPtrWillBeMember<DateTimeFieldElement>, maximumNumberOfFi elds> m_fields;
152 RawPtrWillBeMember<EditControlOwner> m_editControlOwner; 152 RawPtrWillBeMember<EditControlOwner> m_editControlOwner;
153 }; 153 };
154 154
155 DEFINE_TYPE_CASTS(DateTimeEditElement, Element, element, element->isDateTimeEdit Element(), element.isDateTimeEditElement()); 155 DEFINE_TYPE_CASTS(DateTimeEditElement, Element, element, element->isDateTimeEdit Element(), element.isDateTimeEditElement());
156 156
157 } // namespace blink 157 } // namespace blink
158 158
159 #endif 159 #endif
160 #endif 160 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/ClearButtonElement.cpp ('k') | Source/core/html/shadow/DateTimeEditElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698