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

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

Issue 367003002: Make more [TreatNullAs=NullString] DOMString arguments nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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) 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) 2011 Motorola Mobility, Inc. All rights reserved. 4 * Copyright (C) 2011 Motorola Mobility, Inc. 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 25 matching lines...) Expand all
36 36
37 readonly attribute DOMString type; 37 readonly attribute DOMString type;
38 attribute DOMString defaultValue; 38 attribute DOMString defaultValue;
39 [TreatNullAs=NullString] attribute DOMString value; 39 [TreatNullAs=NullString] attribute DOMString value;
40 readonly attribute unsigned long textLength; 40 readonly attribute unsigned long textLength;
41 41
42 readonly attribute boolean willValidate; 42 readonly attribute boolean willValidate;
43 readonly attribute ValidityState validity; 43 readonly attribute ValidityState validity;
44 readonly attribute DOMString validationMessage; 44 readonly attribute DOMString validationMessage;
45 boolean checkValidity(); 45 boolean checkValidity();
46 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 46 void setCustomValidity([TreatUndefinedAs=NullString] DOMString? error);
47 47
48 readonly attribute NodeList labels; 48 readonly attribute NodeList labels;
49 49
50 void select(); 50 void select();
51 attribute long selectionStart; 51 attribute long selectionStart;
52 attribute long selectionEnd; 52 attribute long selectionEnd;
53 attribute DOMString selectionDirection; 53 attribute DOMString selectionDirection;
54 54
55 [RaisesException] void setRangeText(DOMString replacement); 55 [RaisesException] void setRangeText(DOMString replacement);
56 [RaisesException] void setRangeText(DOMString replacement, 56 [RaisesException] void setRangeText(DOMString replacement,
57 unsigned long start, 57 unsigned long start,
58 unsigned long end, 58 unsigned long end,
59 optional DOMString selectionMode = null); 59 optional DOMString selectionMode = null);
60 60
61 void setSelectionRange([Default=Undefined] optional long start, 61 void setSelectionRange([Default=Undefined] optional long start,
62 [Default=Undefined] optional long end, 62 [Default=Undefined] optional long end,
63 optional DOMString direction); 63 optional DOMString direction);
64 }; 64 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698