| 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 #ifndef Dictionary_h | 26 #ifndef Dictionary_h |
| 27 #define Dictionary_h | 27 #define Dictionary_h |
| 28 | 28 |
| 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/Nullable.h" | 31 #include "bindings/core/v8/Nullable.h" |
| 32 #include "bindings/core/v8/ScriptValue.h" | 32 #include "bindings/core/v8/ScriptValue.h" |
| 33 #include "bindings/core/v8/V8Binding.h" | 33 #include "bindings/core/v8/V8Binding.h" |
| 34 #include "bindings/core/v8/V8BindingMacros.h" | 34 #include "bindings/core/v8/V8BindingMacros.h" |
| 35 #include "core/dom/MessagePort.h" | |
| 36 #include "core/events/EventListener.h" | |
| 37 #include "wtf/HashMap.h" | 35 #include "wtf/HashMap.h" |
| 38 #include "wtf/HashSet.h" | 36 #include "wtf/HashSet.h" |
| 39 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
| 40 #include "wtf/text/AtomicString.h" | 38 #include "wtf/text/AtomicString.h" |
| 41 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
| 42 #include <v8.h> | 40 #include <v8.h> |
| 43 | 41 |
| 44 namespace blink { | 42 namespace blink { |
| 45 | 43 |
| 46 // Dictionary class provides ways to retrieve property values as C++ objects | 44 // Dictionary class provides ways to retrieve property values as C++ objects |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, T& value); | 160 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, T& value); |
| 163 template <typename T> | 161 template <typename T> |
| 164 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, Nullable<T>& value); | 162 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, Nullable<T>& value); |
| 165 template <template <typename> class PointerType, typename T> | 163 template <template <typename> class PointerType, typename T> |
| 166 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, PointerType<T>& value); | 164 static bool convert(const Dictionary&, Dictionary::ConversionContext&, const
String& key, PointerType<T>& value); |
| 167 }; | 165 }; |
| 168 | 166 |
| 169 } | 167 } |
| 170 | 168 |
| 171 #endif // Dictionary_h | 169 #endif // Dictionary_h |
| OLD | NEW |