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

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

Issue 541993003: Generate focusin for input type=date/time when selected by tab (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master and updated test Created 6 years, 3 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void clearValue() OVERRIDE; 94 virtual void clearValue() OVERRIDE;
95 95
96 // InputType functions 96 // InputType functions
97 virtual String badInputText() const OVERRIDE; 97 virtual String badInputText() const OVERRIDE;
98 virtual void blur() OVERRIDE FINAL; 98 virtual void blur() OVERRIDE FINAL;
99 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>) OVERRIDE; 99 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>) OVERRIDE;
100 virtual void createShadowSubtree() OVERRIDE FINAL; 100 virtual void createShadowSubtree() OVERRIDE FINAL;
101 virtual void destroyShadowSubtree() OVERRIDE FINAL; 101 virtual void destroyShadowSubtree() OVERRIDE FINAL;
102 virtual void disabledAttributeChanged() OVERRIDE FINAL; 102 virtual void disabledAttributeChanged() OVERRIDE FINAL;
103 virtual void forwardEvent(Event*) OVERRIDE FINAL; 103 virtual void forwardEvent(Event*) OVERRIDE FINAL;
104 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType) OVERRID E; 104 virtual void handleFocusInEvent(Element* oldFocusedElement, FocusType) OVERR IDE FINAL;
105 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE FINAL; 105 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE FINAL;
106 virtual bool hasBadInput() const OVERRIDE; 106 virtual bool hasBadInput() const OVERRIDE;
107 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL; 107 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL;
108 virtual void minOrMaxAttributeChanged() OVERRIDE FINAL; 108 virtual void minOrMaxAttributeChanged() OVERRIDE FINAL;
109 virtual void readonlyAttributeChanged() OVERRIDE FINAL; 109 virtual void readonlyAttributeChanged() OVERRIDE FINAL;
110 virtual void requiredAttributeChanged() OVERRIDE FINAL; 110 virtual void requiredAttributeChanged() OVERRIDE FINAL;
111 virtual void restoreFormControlState(const FormControlState&) OVERRIDE FINAL ; 111 virtual void restoreFormControlState(const FormControlState&) OVERRIDE FINAL ;
112 virtual FormControlState saveFormControlState() const OVERRIDE FINAL; 112 virtual FormControlState saveFormControlState() const OVERRIDE FINAL;
113 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE FINAL; 113 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE FINAL;
114 virtual void stepAttributeChanged() OVERRIDE FINAL; 114 virtual void stepAttributeChanged() OVERRIDE FINAL;
(...skipping 15 matching lines...) Expand all
130 130
131 bool m_isDestroyingShadowSubtree; 131 bool m_isDestroyingShadowSubtree;
132 bool m_pickerIndicatorIsVisible; 132 bool m_pickerIndicatorIsVisible;
133 bool m_pickerIndicatorIsAlwaysVisible; 133 bool m_pickerIndicatorIsAlwaysVisible;
134 }; 134 };
135 135
136 } // namespace blink 136 } // namespace blink
137 137
138 #endif 138 #endif
139 #endif // BaseMultipleFieldsDateAndTimeInputType_h 139 #endif // BaseMultipleFieldsDateAndTimeInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLInputElement.cpp ('k') | Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698