| 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 15 matching lines...) Expand all Loading... |
| 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/ExceptionState.h" | 30 #include "bindings/core/v8/ExceptionState.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/V8DOMError.h" | 33 #include "bindings/core/v8/V8DOMError.h" |
| 34 #include "bindings/core/v8/V8Element.h" | 34 #include "bindings/core/v8/V8Element.h" |
| 35 #include "bindings/core/v8/V8EventTarget.h" | 35 #include "bindings/core/v8/V8EventTarget.h" |
| 36 #include "bindings/core/v8/V8MediaKeyError.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 { |
| 45 | 44 |
| 46 static ExceptionState& emptyExceptionState() | 45 static ExceptionState& emptyExceptionState() |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 207 |
| 209 return true; | 208 return true; |
| 210 } | 209 } |
| 211 | 210 |
| 212 bool Dictionary::toObject(v8::Local<v8::Object>& object) const | 211 bool Dictionary::toObject(v8::Local<v8::Object>& object) const |
| 213 { | 212 { |
| 214 return !isUndefinedOrNull() && m_options->ToObject(v8Context()).ToLocal(&obj
ect); | 213 return !isUndefinedOrNull() && m_options->ToObject(v8Context()).ToLocal(&obj
ect); |
| 215 } | 214 } |
| 216 | 215 |
| 217 } // namespace blink | 216 } // namespace blink |
| OLD | NEW |