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

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

Issue 394433002: Add :indeterminate pseudo class support for radio button input (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 6 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 void updateClearButtonVisibility(); 213 void updateClearButtonVisibility();
214 214
215 virtual bool willRespondToMouseClickEvents() OVERRIDE; 215 virtual bool willRespondToMouseClickEvents() OVERRIDE;
216 216
217 HTMLElement* list() const; 217 HTMLElement* list() const;
218 HTMLDataListElement* dataList() const; 218 HTMLDataListElement* dataList() const;
219 bool hasValidDataListOptions() const; 219 bool hasValidDataListOptions() const;
220 void listAttributeTargetChanged(); 220 void listAttributeTargetChanged();
221 221
222 HTMLInputElement* checkedRadioButtonForGroup() const; 222 HTMLInputElement* checkedRadioButtonForGroup();
223 bool isInRequiredRadioButtonGroup(); 223 bool isInRequiredRadioButtonGroup();
224 224
225 // Functions for InputType classes. 225 // Functions for InputType classes.
226 void setValueInternal(const String&, TextFieldEventBehavior); 226 void setValueInternal(const String&, TextFieldEventBehavior);
227 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW asUpdatedAfterParsing; } 227 bool valueAttributeWasUpdatedAfterParsing() const { return m_valueAttributeW asUpdatedAfterParsing; }
228 void updateView(); 228 void updateView();
229 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; } 229 bool needsToUpdateViewValue() const { return m_needsToUpdateViewValue; }
230 virtual void setInnerEditorValue(const String&) OVERRIDE; 230 virtual void setInnerEditorValue(const String&) OVERRIDE;
231 231
232 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca retOffset, caretOffset, SelectionHasNoDirection); } 232 void cacheSelectionInResponseToSetValue(int caretOffset) { cacheSelection(ca retOffset, caretOffset, SelectionHasNoDirection); }
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 RefPtrWillBeMember<InputTypeView> m_inputTypeView; 393 RefPtrWillBeMember<InputTypeView> m_inputTypeView;
394 // The ImageLoader must be owned by this element because the loader code ass umes 394 // The ImageLoader must be owned by this element because the loader code ass umes
395 // that it lives as long as its owning element lives. If we move the loader into 395 // that it lives as long as its owning element lives. If we move the loader into
396 // the ImageInput object we may delete the loader while this element lives o n. 396 // the ImageInput object we may delete the loader while this element lives o n.
397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 397 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 398 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
399 }; 399 };
400 400
401 } //namespace 401 } //namespace
402 #endif 402 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/radio/radio-indeterminate-pseudo-class-expected.txt ('k') | Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698