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

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

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address nits Created 6 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
« no previous file with comments | « Source/core/html/HTMLDialogElement.idl ('k') | Source/core/html/HTMLOptionElement.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) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 void select(); 79 void select();
80 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel ectionStart; 80 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel ectionStart;
81 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec tionEnd; 81 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec tionEnd;
82 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring selectionDirection; 82 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring selectionDirection;
83 83
84 [RaisesException] void setRangeText(DOMString replacement); 84 [RaisesException] void setRangeText(DOMString replacement);
85 [RaisesException] void setRangeText(DOMString replacement, 85 [RaisesException] void setRangeText(DOMString replacement,
86 unsigned long start, 86 unsigned long start,
87 unsigned long end, 87 unsigned long end,
88 [Default=NullString] optional DOMString selectionMode); 88 optional DOMString selectionMode = null);
89 89
90 [RaisesException, ImplementedAs=setSelectionRangeForBinding] 90 [RaisesException, ImplementedAs=setSelectionRangeForBinding]
91 void setSelectionRange([Default=Undefined] optional long start, 91 void setSelectionRange([Default=Undefined] optional long start,
92 [Default=Undefined] optional long end, 92 [Default=Undefined] optional long end,
93 optional DOMString direction); 93 optional DOMString direction);
94 94
95 // Non-standard attributes 95 // Non-standard attributes
96 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory; 96 [Reflect, MeasureAs=PrefixedDirectoryAttribute] attribute boolean webkitdire ctory;
97 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental; 97 [Reflect, MeasureAs=IncrementalAttribute] attribute boolean incremental;
98 98
99 // See http://www.w3.org/TR/html-media-capture/ 99 // See http://www.w3.org/TR/html-media-capture/
100 [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture; 100 [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture;
101 }; 101 };
OLDNEW
« no previous file with comments | « Source/core/html/HTMLDialogElement.idl ('k') | Source/core/html/HTMLOptionElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698