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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "bindings/core/v8/ArrayValue.h" | 26 #include "bindings/core/v8/ArrayValue.h" |
27 #include "bindings/core/v8/DictionaryHelperForBindings.h" | 27 #include "bindings/core/v8/DictionaryHelperForBindings.h" |
28 #include "bindings/core/v8/ExceptionMessages.h" | 28 #include "bindings/core/v8/ExceptionMessages.h" |
29 #include "bindings/core/v8/ExceptionState.h" | 29 #include "bindings/core/v8/ExceptionState.h" |
30 #include "bindings/core/v8/V8ArrayBufferView.h" | 30 #include "bindings/core/v8/V8ArrayBufferView.h" |
31 #include "bindings/core/v8/V8Binding.h" | 31 #include "bindings/core/v8/V8Binding.h" |
32 #include "bindings/core/v8/V8DOMError.h" | 32 #include "bindings/core/v8/V8DOMError.h" |
33 #include "bindings/core/v8/V8Element.h" | 33 #include "bindings/core/v8/V8Element.h" |
34 #include "bindings/core/v8/V8EventTarget.h" | 34 #include "bindings/core/v8/V8EventTarget.h" |
35 #include "bindings/core/v8/V8MediaKeyError.h" | |
36 #include "bindings/core/v8/V8MessagePort.h" | 35 #include "bindings/core/v8/V8MessagePort.h" |
37 #include "bindings/core/v8/V8TextTrack.h" | 36 #include "bindings/core/v8/V8TextTrack.h" |
38 #include "bindings/core/v8/V8Uint8Array.h" | 37 #include "bindings/core/v8/V8Uint8Array.h" |
39 #include "bindings/core/v8/V8VoidCallback.h" | 38 #include "bindings/core/v8/V8VoidCallback.h" |
40 #include "bindings/core/v8/V8Window.h" | 39 #include "bindings/core/v8/V8Window.h" |
41 #include "core/html/track/TrackBase.h" | 40 #include "core/html/track/TrackBase.h" |
42 #include "wtf/MathExtras.h" | 41 #include "wtf/MathExtras.h" |
43 | 42 |
44 namespace blink { | 43 namespace blink { |
45 | 44 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 305 |
307 ASSERT(dictionary.isolate()); | 306 ASSERT(dictionary.isolate()); |
308 ASSERT(dictionary.isolate() == v8::Isolate::GetCurrent()); | 307 ASSERT(dictionary.isolate() == v8::Isolate::GetCurrent()); |
309 value = ArrayValue(v8::Local<v8::Array>::Cast(v8Value), dictionary.isolate()
); | 308 value = ArrayValue(v8::Local<v8::Array>::Cast(v8Value), dictionary.isolate()
); |
310 return true; | 309 return true; |
311 } | 310 } |
312 | 311 |
313 template CORE_EXPORT bool DictionaryHelper::get(const Dictionary&, const String&
key, RefPtr<DOMUint8Array>& value); | 312 template CORE_EXPORT bool DictionaryHelper::get(const Dictionary&, const String&
key, RefPtr<DOMUint8Array>& value); |
314 | 313 |
315 } // namespace blink | 314 } // namespace blink |
OLD | NEW |