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

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

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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) 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>) OVERRIDE; 91 virtual PassRefPtr<RenderStyle> customStyleForRenderer(PassRefPtr<RenderStyl e>) OVERRIDE;
92 virtual void createShadowSubtree() OVERRIDE FINAL; 92 virtual void createShadowSubtree() OVERRIDE FINAL;
93 virtual void destroyShadowSubtree() OVERRIDE FINAL; 93 virtual void destroyShadowSubtree() OVERRIDE FINAL;
94 virtual void disabledAttributeChanged() OVERRIDE FINAL; 94 virtual void disabledAttributeChanged() OVERRIDE FINAL;
95 virtual void forwardEvent(Event*) OVERRIDE FINAL; 95 virtual void forwardEvent(Event*) OVERRIDE FINAL;
96 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection) OVERRIDE ; 96 virtual void handleFocusEvent(Node* oldFocusedNode, FocusDirection) OVERRIDE ;
97 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE FINAL; 97 virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE FINAL;
98 virtual bool hasBadInput() const OVERRIDE; 98 virtual bool hasBadInput() const OVERRIDE;
99 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL; 99 virtual bool hasCustomFocusLogic() const OVERRIDE FINAL;
100 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE FINAL; 100 virtual bool isKeyboardFocusable(KeyboardEvent*) const OVERRIDE FINAL;
101 virtual bool isMouseFocusable() const OVERRIDE FINAL;
102 virtual void minOrMaxAttributeChanged() OVERRIDE FINAL; 101 virtual void minOrMaxAttributeChanged() OVERRIDE FINAL;
103 virtual void readonlyAttributeChanged() OVERRIDE FINAL; 102 virtual void readonlyAttributeChanged() OVERRIDE FINAL;
104 virtual void requiredAttributeChanged() OVERRIDE FINAL; 103 virtual void requiredAttributeChanged() OVERRIDE FINAL;
105 virtual void restoreFormControlState(const FormControlState&) OVERRIDE FINAL ; 104 virtual void restoreFormControlState(const FormControlState&) OVERRIDE FINAL ;
106 virtual FormControlState saveFormControlState() const OVERRIDE FINAL; 105 virtual FormControlState saveFormControlState() const OVERRIDE FINAL;
107 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE FINAL; 106 virtual void setValue(const String&, bool valueChanged, TextFieldEventBehavi or) OVERRIDE FINAL;
108 virtual bool shouldUseInputMethod() const OVERRIDE FINAL; 107 virtual bool shouldUseInputMethod() const OVERRIDE FINAL;
109 virtual void stepAttributeChanged() OVERRIDE FINAL; 108 virtual void stepAttributeChanged() OVERRIDE FINAL;
110 virtual void updateInnerTextValue() OVERRIDE FINAL; 109 virtual void updateInnerTextValue() OVERRIDE FINAL;
111 virtual void valueAttributeChanged() OVERRIDE; 110 virtual void valueAttributeChanged() OVERRIDE;
(...skipping 10 matching lines...) Expand all
122 121
123 bool m_isDestroyingShadowSubtree; 122 bool m_isDestroyingShadowSubtree;
124 bool m_pickerIndicatorIsVisible; 123 bool m_pickerIndicatorIsVisible;
125 bool m_pickerIndicatorIsAlwaysVisible; 124 bool m_pickerIndicatorIsAlwaysVisible;
126 }; 125 };
127 126
128 } // namespace WebCore 127 } // namespace WebCore
129 128
130 #endif 129 #endif
131 #endif // BaseMultipleFieldsDateAndTimeInputType_h 130 #endif // BaseMultipleFieldsDateAndTimeInputType_h
OLDNEW
« no previous file with comments | « Source/core/html/BaseDateAndTimeInputType.cpp ('k') | Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698