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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #include "bindings/core/v8/Dictionary.h" | 26 #include "bindings/core/v8/Dictionary.h" |
27 | 27 |
28 #include "bindings/core/v8/ArrayValue.h" | 28 #include "bindings/core/v8/ArrayValue.h" |
29 #include "bindings/core/v8/ExceptionMessages.h" | 29 #include "bindings/core/v8/ExceptionMessages.h" |
30 #include "bindings/core/v8/ScriptController.h" | 30 #include "bindings/core/v8/ScriptController.h" |
31 #include "bindings/core/v8/V8ArrayBufferView.h" | 31 #include "bindings/core/v8/V8ArrayBufferView.h" |
32 #include "bindings/core/v8/V8Binding.h" | 32 #include "bindings/core/v8/V8Binding.h" |
33 #include "bindings/core/v8/V8BindingMacros.h" | 33 #include "bindings/core/v8/V8BindingMacros.h" |
34 #include "bindings/core/v8/V8DOMError.h" | |
35 #include "bindings/core/v8/V8Element.h" | 34 #include "bindings/core/v8/V8Element.h" |
36 #include "bindings/core/v8/V8EventTarget.h" | 35 #include "bindings/core/v8/V8EventTarget.h" |
37 #include "bindings/core/v8/V8MessagePort.h" | 36 #include "bindings/core/v8/V8MessagePort.h" |
38 #include "bindings/core/v8/V8TextTrack.h" | 37 #include "bindings/core/v8/V8TextTrack.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 { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 178 |
180 return true; | 179 return true; |
181 } | 180 } |
182 | 181 |
183 bool Dictionary::toObject(v8::Local<v8::Object>& object) const | 182 bool Dictionary::toObject(v8::Local<v8::Object>& object) const |
184 { | 183 { |
185 return !isUndefinedOrNull() && m_options->ToObject(v8Context()).ToLocal(&obj
ect); | 184 return !isUndefinedOrNull() && m_options->ToObject(v8Context()).ToLocal(&obj
ect); |
186 } | 185 } |
187 | 186 |
188 } // namespace blink | 187 } // namespace blink |
OLD | NEW |