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 29 matching lines...) Expand all Loading... |
40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
41 #include "wtf/text/AtomicString.h" | 41 #include "wtf/text/AtomicString.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
43 | 43 |
44 namespace WebCore { | 44 namespace WebCore { |
45 | 45 |
46 class ArrayValue; | 46 class ArrayValue; |
47 class DOMError; | 47 class DOMError; |
48 class DOMWindow; | 48 class DOMWindow; |
49 class Gamepad; | 49 class Gamepad; |
| 50 class MediaStream; |
50 class IDBKeyRange; | 51 class IDBKeyRange; |
51 class MIDIPort; | 52 class MIDIPort; |
52 class MediaKeyError; | 53 class MediaKeyError; |
53 class Notification; | 54 class Notification; |
54 class SpeechRecognitionError; | 55 class SpeechRecognitionError; |
55 class SpeechRecognitionResult; | 56 class SpeechRecognitionResult; |
56 class SpeechRecognitionResultList; | 57 class SpeechRecognitionResultList; |
57 class Storage; | 58 class Storage; |
58 class TrackBase; | 59 class TrackBase; |
59 class VoidCallback; | 60 class VoidCallback; |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) | 341 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) |
341 return true; | 342 return true; |
342 | 343 |
343 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); | 344 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n
ot have a " + context.typeName() + " type.")); |
344 return false; | 345 return false; |
345 } | 346 } |
346 | 347 |
347 } | 348 } |
348 | 349 |
349 #endif // Dictionary_h | 350 #endif // Dictionary_h |
OLD | NEW |