| 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 10 matching lines...) Expand all Loading... |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef Dictionary_h | 26 #ifndef Dictionary_h |
| 27 #define Dictionary_h | 27 #define Dictionary_h |
| 28 | 28 |
| 29 #include "bindings/core/v8/DictionaryIterator.h" | 29 #include "bindings/core/v8/DictionaryIterator.h" |
| 30 #include "bindings/core/v8/Nullable.h" | 30 #include "bindings/core/v8/Nullable.h" |
| 31 #include "bindings/core/v8/V8Binding.h" | 31 #include "bindings/core/v8/V8BindingForCore.h" |
| 32 #include "core/CoreExport.h" | 32 #include "core/CoreExport.h" |
| 33 #include "platform/wtf/HashMap.h" | 33 #include "platform/wtf/HashMap.h" |
| 34 #include "platform/wtf/Vector.h" | 34 #include "platform/wtf/Vector.h" |
| 35 #include "platform/wtf/text/StringView.h" | 35 #include "platform/wtf/text/StringView.h" |
| 36 #include "v8/include/v8.h" | 36 #include "v8/include/v8.h" |
| 37 | 37 |
| 38 namespace blink { | 38 namespace blink { |
| 39 | 39 |
| 40 class ExceptionState; | 40 class ExceptionState; |
| 41 class ExecutionContext; | 41 class ExecutionContext; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 static bool Get(const Dictionary&, | 146 static bool Get(const Dictionary&, |
| 147 const StringView& key, | 147 const StringView& key, |
| 148 PointerType<T>& value); | 148 PointerType<T>& value); |
| 149 template <typename T> | 149 template <typename T> |
| 150 static bool Get(const Dictionary&, const StringView& key, Nullable<T>& value); | 150 static bool Get(const Dictionary&, const StringView& key, Nullable<T>& value); |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 } // namespace blink | 153 } // namespace blink |
| 154 | 154 |
| 155 #endif // Dictionary_h | 155 #endif // Dictionary_h |
| OLD | NEW |