OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 bool get(const String&, short&) const; | 77 bool get(const String&, short&) const; |
78 bool get(const String&, unsigned short&) const; | 78 bool get(const String&, unsigned short&) const; |
79 bool get(const String&, unsigned&) const; | 79 bool get(const String&, unsigned&) const; |
80 bool get(const String&, unsigned long&) const; | 80 bool get(const String&, unsigned long&) const; |
81 bool get(const String&, unsigned long long&) const; | 81 bool get(const String&, unsigned long long&) const; |
82 bool get(const String&, RefPtr<DOMWindow>&) const; | 82 bool get(const String&, RefPtr<DOMWindow>&) const; |
83 bool get(const String&, RefPtr<Storage>&) const; | 83 bool get(const String&, RefPtr<Storage>&) const; |
84 bool get(const String&, MessagePortArray&) const; | 84 bool get(const String&, MessagePortArray&) const; |
85 bool get(const String&, RefPtr<Uint8Array>&) const; | 85 bool get(const String&, RefPtr<Uint8Array>&) const; |
86 bool get(const String&, RefPtr<ArrayBufferView>&) const; | 86 bool get(const String&, RefPtr<ArrayBufferView>&) const; |
| 87 bool get(const String&, RefPtr<ArrayBufferView>&, bool& hasValue) const; |
87 bool get(const String&, RefPtr<MIDIPort>&) const; | 88 bool get(const String&, RefPtr<MIDIPort>&) const; |
88 bool get(const String&, RefPtr<MediaKeyError>&) const; | 89 bool get(const String&, RefPtr<MediaKeyError>&) const; |
89 bool get(const String&, RefPtr<TrackBase>&) const; | 90 bool get(const String&, RefPtr<TrackBase>&) const; |
90 bool get(const String&, RefPtr<SpeechRecognitionError>&) const; | 91 bool get(const String&, RefPtr<SpeechRecognitionError>&) const; |
91 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResult>&) const; | 92 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResult>&) const; |
92 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResultList>&) co
nst; | 93 bool get(const String&, RefPtrWillBeRawPtr<SpeechRecognitionResultList>&) co
nst; |
93 bool get(const String&, RefPtr<MediaStream>&) const; | 94 bool get(const String&, RefPtr<MediaStream>&) const; |
94 bool get(const String&, RefPtr<EventTarget>&) const; | 95 bool get(const String&, RefPtr<EventTarget>&) const; |
95 bool get(const String&, HashSet<AtomicString>&) const; | 96 bool get(const String&, HashSet<AtomicString>&) const; |
96 bool get(const String&, Dictionary&) const; | 97 bool get(const String&, Dictionary&) const; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) | 318 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) |
318 return true; | 319 return true; |
319 | 320 |
320 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); | 321 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); |
321 return false; | 322 return false; |
322 } | 323 } |
323 | 324 |
324 } | 325 } |
325 | 326 |
326 #endif // Dictionary_h | 327 #endif // Dictionary_h |
OLD | NEW |