diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/WebCore/html/HTMLInputElement.idl | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/WebCore/html/HTMLInputElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLInputElement.idl | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/Source/WebCore/html/HTMLInputElement.idl b/Source/WebCore/html/HTMLInputElement.idl index fa416a03c..727bf693a 100644 --- a/Source/WebCore/html/HTMLInputElement.idl +++ b/Source/WebCore/html/HTMLInputElement.idl @@ -39,7 +39,7 @@ interface HTMLInputElement : HTMLElement { attribute boolean indeterminate; [Conditional=DATALIST_ELEMENT] readonly attribute HTMLElement list; [Reflect] attribute DOMString max; - attribute long maxLength setter raises(DOMException); + [SetterRaisesException] attribute long maxLength; [Reflect] attribute DOMString min; [Reflect] attribute boolean multiple; [Reflect] attribute DOMString name; @@ -50,7 +50,7 @@ interface HTMLInputElement : HTMLElement { #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C [ObjCImplementedAsUnsignedLong] attribute DOMString size; // DOM level 2 changed this to a long, but ObjC API is a string #else - attribute unsigned long size setter raises(DOMException); // Changed string -> long -> unsigned long + [SetterRaisesException] attribute unsigned long size; // Changed string -> long -> unsigned long #endif [Reflect, URL] attribute DOMString src; [Reflect] attribute DOMString step; @@ -58,24 +58,24 @@ interface HTMLInputElement : HTMLElement { [TreatNullAs=NullString] attribute DOMString defaultValue; // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - [TreatNullAs=NullString] attribute DOMString value setter raises(DOMException); + [TreatNullAs=NullString, SetterRaisesException] attribute DOMString value; #else [TreatNullAs=NullString] attribute DOMString value; #endif #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP - attribute Date valueAsDate setter raises(DOMException); + [SetterRaisesException] attribute Date valueAsDate; #endif - attribute double valueAsNumber setter raises(DOMException); + [SetterRaisesException] attribute double valueAsNumber; - void stepUp(in [Optional] long n) raises(DOMException); - void stepDown(in [Optional] long n) raises(DOMException); + [RaisesException] void stepUp(optional long n); + [RaisesException] void stepDown(optional long n); attribute unsigned long width; readonly attribute boolean willValidate; readonly attribute ValidityState validity; readonly attribute DOMString validationMessage; boolean checkValidity(); - void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); + void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); readonly attribute NodeList labels; @@ -84,18 +84,18 @@ interface HTMLInputElement : HTMLElement { [Custom] attribute long selectionEnd; [Custom] attribute DOMString selectionDirection; - void setRangeText(in DOMString replacement) raises(DOMException); - void setRangeText(in DOMString replacement, - in unsigned long start, - in unsigned long end, - in [Optional=DefaultIsNullString] DOMString selectionMode) raises(DOMException); + [RaisesException] void setRangeText(DOMString replacement); + [RaisesException] void setRangeText(DOMString replacement, + unsigned long start, + unsigned long end, + [Default=NullString] optional DOMString selectionMode); #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C - [Custom] void setSelectionRange(in long start, in long end); + [Custom] void setSelectionRange(long start, long end); #else - [Custom] void setSelectionRange(in [Optional=DefaultIsUndefined] long start, - in [Optional=DefaultIsUndefined] long end, - in [Optional] DOMString direction); + [Custom] void setSelectionRange([Default=Undefined] optional long start, + [Default=Undefined] optional long end, + optional DOMString direction); #endif // Non-standard attributes @@ -103,8 +103,8 @@ interface HTMLInputElement : HTMLElement { [Conditional=DIRECTORY_UPLOAD, Reflect] attribute boolean webkitdirectory; [Reflect] attribute DOMString useMap; [Reflect] attribute boolean incremental; - [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] attribute boolean webkitSpeech; - [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] attribute boolean webkitGrammar; + [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitSpeech; + [Conditional=INPUT_SPEECH, Reflect] attribute boolean webkitGrammar; [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventListener onwebkitspeechchange; #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C @@ -116,7 +116,7 @@ interface HTMLInputElement : HTMLElement { #endif #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT - void setValueForUser(in [TreatNullAs=NullString] DOMString value); + void setValueForUser([TreatNullAs=NullString] DOMString value); #endif #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |