| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 bool get(const String&, RefPtr<Uint8Array>&) const; | 90 bool get(const String&, RefPtr<Uint8Array>&) const; |
| 91 bool get(const String&, RefPtr<ArrayBufferView>&) const; | 91 bool get(const String&, RefPtr<ArrayBufferView>&) const; |
| 92 bool get(const String&, RefPtr<MIDIPort>&) const; | 92 bool get(const String&, RefPtr<MIDIPort>&) const; |
| 93 bool get(const String&, RefPtr<MediaKeyError>&) const; | 93 bool get(const String&, RefPtr<MediaKeyError>&) const; |
| 94 bool get(const String&, RefPtrWillBeMember<TrackBase>&) const; | 94 bool get(const String&, RefPtrWillBeMember<TrackBase>&) const; |
| 95 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionError>&) const; | 95 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionError>&) const; |
| 96 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResult>&) const; | 96 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResult>&) const; |
| 97 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResultList>&) co
nst; | 97 bool get(const String&, RefPtrWillBeMember<SpeechRecognitionResultList>&) co
nst; |
| 98 bool get(const String&, Member<Gamepad>&) const; | 98 bool get(const String&, Member<Gamepad>&) const; |
| 99 bool get(const String&, RefPtr<MediaStream>&) const; | 99 bool get(const String&, RefPtr<MediaStream>&) const; |
| 100 bool get(const String&, RefPtr<EventTarget>&) const; | 100 bool get(const String&, RefPtrWillBeMember<EventTarget>&) const; |
| 101 bool get(const String&, HashSet<AtomicString>&) const; | 101 bool get(const String&, HashSet<AtomicString>&) const; |
| 102 bool get(const String&, Dictionary&) const; | 102 bool get(const String&, Dictionary&) const; |
| 103 bool get(const String&, Vector<String>&) const; | 103 bool get(const String&, Vector<String>&) const; |
| 104 bool get(const String&, ArrayValue&) const; | 104 bool get(const String&, ArrayValue&) const; |
| 105 bool get(const String&, RefPtrWillBeMember<DOMError>&) const; | 105 bool get(const String&, RefPtrWillBeMember<DOMError>&) const; |
| 106 bool get(const String&, v8::Local<v8::Value>&) const; | 106 bool get(const String&, v8::Local<v8::Value>&) const; |
| 107 bool get(const String&, RefPtr<HeaderMap>&) const; | 107 bool get(const String&, RefPtr<HeaderMap>&) const; |
| 108 | 108 |
| 109 class ConversionContext { | 109 class ConversionContext { |
| 110 public: | 110 public: |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) | 342 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) |
| 343 return true; | 343 return true; |
| 344 | 344 |
| 345 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); | 345 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); |
| 346 return false; | 346 return false; |
| 347 } | 347 } |
| 348 | 348 |
| 349 } | 349 } |
| 350 | 350 |
| 351 #endif // Dictionary_h | 351 #endif // Dictionary_h |
| OLD | NEW |