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

Side by Side Diff: Source/core/html/forms/InputTypeView.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 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
8 * met: 8 * met:
9 * 9 *
10 * * Redistributions of source code must retain the above copyright 10 * * Redistributions of source code must retain the above copyright
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void handleKeydownEvent(KeyboardEvent*); 86 virtual void handleKeydownEvent(KeyboardEvent*);
87 virtual void handleKeypressEvent(KeyboardEvent*); 87 virtual void handleKeypressEvent(KeyboardEvent*);
88 virtual void handleKeyupEvent(KeyboardEvent*); 88 virtual void handleKeyupEvent(KeyboardEvent*);
89 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*); 89 virtual void handleBeforeTextInsertedEvent(BeforeTextInsertedEvent*);
90 virtual void handleTouchEvent(TouchEvent*); 90 virtual void handleTouchEvent(TouchEvent*);
91 virtual void forwardEvent(Event*); 91 virtual void forwardEvent(Event*);
92 virtual bool shouldSubmitImplicitly(Event*); 92 virtual bool shouldSubmitImplicitly(Event*);
93 virtual PassRefPtrWillBeRawPtr<HTMLFormElement> formForSubmission() const; 93 virtual PassRefPtrWillBeRawPtr<HTMLFormElement> formForSubmission() const;
94 virtual bool hasCustomFocusLogic() const; 94 virtual bool hasCustomFocusLogic() const;
95 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType); 95 virtual void handleFocusEvent(Element* oldFocusedElement, FocusType);
96 virtual void handleFocusInEvent(Element* oldFocusedElement, FocusType);
96 virtual void handleBlurEvent(); 97 virtual void handleBlurEvent();
97 virtual void subtreeHasChanged(); 98 virtual void subtreeHasChanged();
98 virtual bool hasTouchEventHandler() const; 99 virtual bool hasTouchEventHandler() const;
99 virtual void blur(); 100 virtual void blur();
100 virtual RenderObject* createRenderer(RenderStyle*) const; 101 virtual RenderObject* createRenderer(RenderStyle*) const;
101 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>); 102 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>);
102 virtual void startResourceLoading(); 103 virtual void startResourceLoading();
103 virtual void closePopupView(); 104 virtual void closePopupView();
104 virtual void createShadowSubtree(); 105 virtual void createShadowSubtree();
105 virtual void destroyShadowSubtree(); 106 virtual void destroyShadowSubtree();
(...skipping 18 matching lines...) Expand all
124 HTMLInputElement& element() const { return *m_element; } 125 HTMLInputElement& element() const { return *m_element; }
125 126
126 private: 127 private:
127 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView 128 // Not a RefPtr because the HTMLInputElement object owns this InputTypeView
128 // object. 129 // object.
129 RawPtrWillBeMember<HTMLInputElement> m_element; 130 RawPtrWillBeMember<HTMLInputElement> m_element;
130 }; 131 };
131 132
132 } // namespace blink 133 } // namespace blink
133 #endif 134 #endif
OLDNEW
« no previous file with comments | « Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ('k') | Source/core/html/forms/InputTypeView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698