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

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

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 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 25 matching lines...) Expand all
36 class DateTimeFieldsState; 36 class DateTimeFieldsState;
37 class KeyboardEvent; 37 class KeyboardEvent;
38 class Locale; 38 class Locale;
39 class MouseEvent; 39 class MouseEvent;
40 class StepRange; 40 class StepRange;
41 41
42 // DateTimeEditElement class contains numberic field and symbolc field for 42 // DateTimeEditElement class contains numberic field and symbolc field for
43 // representing date and time, such as 43 // representing date and time, such as
44 // - Year, Month, Day Of Month 44 // - Year, Month, Day Of Month
45 // - Hour, Minute, Second, Millisecond, AM/PM 45 // - Hour, Minute, Second, Millisecond, AM/PM
46 class DateTimeEditElement : public HTMLDivElement, public DateTimeFieldElement:: FieldOwner { 46 class DateTimeEditElement FINAL : public HTMLDivElement, public DateTimeFieldEle ment::FieldOwner {
47 WTF_MAKE_NONCOPYABLE(DateTimeEditElement); 47 WTF_MAKE_NONCOPYABLE(DateTimeEditElement);
48 48
49 public: 49 public:
50 // EditControlOwner implementer must call removeEditControlOwner when 50 // EditControlOwner implementer must call removeEditControlOwner when
51 // it doesn't handle event, e.g. at destruction. 51 // it doesn't handle event, e.g. at destruction.
52 class EditControlOwner { 52 class EditControlOwner {
53 public: 53 public:
54 virtual ~EditControlOwner(); 54 virtual ~EditControlOwner();
55 virtual void didBlurFromControl() = 0; 55 virtual void didBlurFromControl() = 0;
56 virtual void didFocusOnControl() = 0; 56 virtual void didFocusOnControl() = 0;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual AtomicString localeIdentifier() const OVERRIDE FINAL; 145 virtual AtomicString localeIdentifier() const OVERRIDE FINAL;
146 146
147 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields; 147 Vector<DateTimeFieldElement*, maximumNumberOfFields> m_fields;
148 EditControlOwner* m_editControlOwner; 148 EditControlOwner* m_editControlOwner;
149 }; 149 };
150 150
151 } // namespace WebCore 151 } // namespace WebCore
152 152
153 #endif 153 #endif
154 #endif 154 #endif
OLDNEW
« no previous file with comments | « Source/core/html/shadow/ClearButtonElement.h ('k') | Source/core/html/shadow/DateTimeFieldElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698