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

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

Issue 471163006: Move HTMLInputElement method argument defaults into IDL file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // Sets the "allowed value step" defined in the HTML spec to the specified d ouble pointer. 73 // Sets the "allowed value step" defined in the HTML spec to the specified d ouble pointer.
74 // Returns false if there is no "allowed value step." 74 // Returns false if there is no "allowed value step."
75 bool getAllowedValueStep(Decimal*) const; 75 bool getAllowedValueStep(Decimal*) const;
76 StepRange createStepRange(AnyStepHandling) const; 76 StepRange createStepRange(AnyStepHandling) const;
77 77
78 Decimal findClosestTickMarkValue(const Decimal&); 78 Decimal findClosestTickMarkValue(const Decimal&);
79 79
80 // Implementations of HTMLInputElement::stepUp() and stepDown(). 80 // Implementations of HTMLInputElement::stepUp() and stepDown().
81 void stepUp(int, ExceptionState&); 81 void stepUp(int, ExceptionState&);
82 void stepDown(int, ExceptionState&); 82 void stepDown(int, ExceptionState&);
83 void stepUp(ExceptionState& exceptionState) { stepUp(1, exceptionState); }
84 void stepDown(ExceptionState& exceptionState) { stepDown(1, exceptionState); }
85 // stepUp()/stepDown() for user-interaction. 83 // stepUp()/stepDown() for user-interaction.
86 bool isSteppable() const; 84 bool isSteppable() const;
87 85
88 bool isTextButton() const; 86 bool isTextButton() const;
89 87
90 bool isRadioButton() const; 88 bool isRadioButton() const;
91 bool isTextField() const; 89 bool isTextField() const;
92 bool isSearchField() const; 90 bool isSearchField() const;
93 bool isInputTypeHidden() const; 91 bool isInputTypeHidden() const;
94 bool isPasswordField() const; 92 bool isPasswordField() const;
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 RefPtrWillBeMember<InputTypeView> m_inputTypeView; 392 RefPtrWillBeMember<InputTypeView> m_inputTypeView;
395 // The ImageLoader must be owned by this element because the loader code ass umes 393 // The ImageLoader must be owned by this element because the loader code ass umes
396 // that it lives as long as its owning element lives. If we move the loader into 394 // that it lives as long as its owning element lives. If we move the loader into
397 // the ImageInput object we may delete the loader while this element lives o n. 395 // the ImageInput object we may delete the loader while this element lives o n.
398 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader; 396 OwnPtrWillBeMember<HTMLImageLoader> m_imageLoader;
399 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r; 397 OwnPtrWillBeMember<ListAttributeTargetObserver> m_listAttributeTargetObserve r;
400 }; 398 };
401 399
402 } //namespace 400 } //namespace
403 #endif 401 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/html/HTMLInputElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698