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

Side by Side Diff: Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.cpp

Issue 12045062: Merge 140385 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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) 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 updateAppearance(); 108 updateAppearance();
109 } 109 }
110 110
111 void BaseChooserOnlyDateAndTimeInputType::detach() 111 void BaseChooserOnlyDateAndTimeInputType::detach()
112 { 112 {
113 closeDateTimeChooser(); 113 closeDateTimeChooser();
114 } 114 }
115 115
116 void BaseChooserOnlyDateAndTimeInputType::didChooseValue(const String& value) 116 void BaseChooserOnlyDateAndTimeInputType::didChooseValue(const String& value)
117 { 117 {
118 element()->setValue(value, DispatchChangeEvent); 118 element()->setValue(value, DispatchInputAndChangeEvent);
119 } 119 }
120 120
121 void BaseChooserOnlyDateAndTimeInputType::didEndChooser() 121 void BaseChooserOnlyDateAndTimeInputType::didEndChooser()
122 { 122 {
123 m_dateTimeChooser.clear(); 123 m_dateTimeChooser.clear();
124 } 124 }
125 125
126 void BaseChooserOnlyDateAndTimeInputType::closeDateTimeChooser() 126 void BaseChooserOnlyDateAndTimeInputType::closeDateTimeChooser()
127 { 127 {
128 if (m_dateTimeChooser) 128 if (m_dateTimeChooser)
(...skipping 16 matching lines...) Expand all
145 } 145 }
146 146
147 void BaseChooserOnlyDateAndTimeInputType::accessKeyAction(bool sendMouseEvents) 147 void BaseChooserOnlyDateAndTimeInputType::accessKeyAction(bool sendMouseEvents)
148 { 148 {
149 BaseDateAndTimeInputType::accessKeyAction(sendMouseEvents); 149 BaseDateAndTimeInputType::accessKeyAction(sendMouseEvents);
150 BaseClickableWithKeyInputType::accessKeyAction(element(), sendMouseEvents); 150 BaseClickableWithKeyInputType::accessKeyAction(element(), sendMouseEvents);
151 } 151 }
152 152
153 } 153 }
154 #endif 154 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698