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

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

Issue 11557024: Merge 136808 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | Source/WebCore/html/shadow/DateTimeEditElement.cpp » ('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) 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 DateTimeFieldElement* fieldAt(size_t) const; 122 DateTimeFieldElement* fieldAt(size_t) const;
123 size_t fieldIndexOf(const DateTimeFieldElement&) const; 123 size_t fieldIndexOf(const DateTimeFieldElement&) const;
124 DateTimeFieldElement* focusedField() const; 124 DateTimeFieldElement* focusedField() const;
125 size_t focusedFieldIndex() const; 125 size_t focusedFieldIndex() const;
126 bool isDisabled() const; 126 bool isDisabled() const;
127 bool isReadOnly() const; 127 bool isReadOnly() const;
128 void layout(const LayoutParameters&, const DateComponents&); 128 void layout(const LayoutParameters&, const DateComponents&);
129 void updateUIState(); 129 void updateUIState();
130 130
131 // Element function.
132 virtual PassRefPtr<RenderStyle> customStyleForRenderer() OVERRIDE;
133
131 // DateTimeFieldElement::FieldOwner functions. 134 // DateTimeFieldElement::FieldOwner functions.
132 virtual void didBlurFromField() OVERRIDE FINAL; 135 virtual void didBlurFromField() OVERRIDE FINAL;
133 virtual void didFocusOnField() OVERRIDE FINAL; 136 virtual void didFocusOnField() OVERRIDE FINAL;
134 virtual void fieldValueChanged() OVERRIDE FINAL; 137 virtual void fieldValueChanged() OVERRIDE FINAL;
135 virtual bool focusOnNextField(const DateTimeFieldElement&) OVERRIDE FINAL; 138 virtual bool focusOnNextField(const DateTimeFieldElement&) OVERRIDE FINAL;
136 virtual bool focusOnPreviousField(const DateTimeFieldElement&) OVERRIDE FINA L; 139 virtual bool focusOnPreviousField(const DateTimeFieldElement&) OVERRIDE FINA L;
137 virtual bool isFieldOwnerDisabledOrReadOnly() const OVERRIDE FINAL; 140 virtual bool isFieldOwnerDisabledOrReadOnly() const OVERRIDE FINAL;
138 virtual AtomicString localeIdentifier() const OVERRIDE FINAL; 141 virtual AtomicString localeIdentifier() const OVERRIDE FINAL;
139 142
140 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields; 143 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields;
141 EditControlOwner* m_editControlOwner; 144 EditControlOwner* m_editControlOwner;
142 }; 145 };
143 146
144 } // namespace WebCore 147 } // namespace WebCore
145 148
146 #endif 149 #endif
147 #endif 150 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | Source/WebCore/html/shadow/DateTimeEditElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698