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

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: 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;
112 virtual void listAttributeTargetChanged() OVERRIDE FINAL; 111 virtual void listAttributeTargetChanged() OVERRIDE FINAL;
113 virtual void updateClearButtonVisibility() OVERRIDE FINAL; 112 virtual void updateClearButtonVisibility() OVERRIDE FINAL;
114 113
115 void showPickerIndicator(); 114 void showPickerIndicator();
116 void hidePickerIndicator(); 115 void hidePickerIndicator();
117 void updatePickerIndicatorVisibility(); 116 void updatePickerIndicatorVisibility();
118 117
119 DateTimeEditElement* m_dateTimeEditElement; 118 DateTimeEditElement* m_dateTimeEditElement;
120 SpinButtonElement* m_spinButtonElement; 119 SpinButtonElement* m_spinButtonElement;
121 ClearButtonElement* m_clearButton; 120 ClearButtonElement* m_clearButton;
122 PickerIndicatorElement* m_pickerIndicatorElement; 121 PickerIndicatorElement* m_pickerIndicatorElement;
123 bool m_pickerIndicatorIsVisible; 122 bool m_pickerIndicatorIsVisible;
124 bool m_pickerIndicatorIsAlwaysVisible; 123 bool m_pickerIndicatorIsAlwaysVisible;
125 }; 124 };
126 125
127 } // namespace WebCore 126 } // namespace WebCore
128 127
129 #endif 128 #endif
130 #endif // BaseMultipleFieldsDateAndTimeInputType_h 129 #endif // BaseMultipleFieldsDateAndTimeInputType_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698