| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*); | 59 Dictionary(const v8::Local<v8::Value>& options, v8::Isolate*); |
| 60 ~Dictionary(); | 60 ~Dictionary(); |
| 61 | 61 |
| 62 Dictionary& operator=(const Dictionary&); | 62 Dictionary& operator=(const Dictionary&); |
| 63 | 63 |
| 64 bool isObject() const; | 64 bool isObject() const; |
| 65 bool isUndefinedOrNull() const; | 65 bool isUndefinedOrNull() const; |
| 66 | 66 |
| 67 bool get(const String&, bool&) const; | 67 bool get(const String&, bool&) const; |
| 68 bool get(const String&, int32_t&) const; | 68 bool get(const String&, int32_t&) const; |
| 69 bool get(const String&, double&, bool& hasValue) const; |
| 69 bool get(const String&, double&) const; | 70 bool get(const String&, double&) const; |
| 70 bool get(const String&, String&) const; | 71 bool get(const String&, String&) const; |
| 71 bool get(const String&, ScriptValue&) const; | 72 bool get(const String&, ScriptValue&) const; |
| 72 bool get(const String&, short&) const; | 73 bool get(const String&, short&) const; |
| 73 bool get(const String&, unsigned short&) const; | 74 bool get(const String&, unsigned short&) const; |
| 74 bool get(const String&, unsigned&) const; | 75 bool get(const String&, unsigned&) const; |
| 75 bool get(const String&, unsigned long&) const; | 76 bool get(const String&, unsigned long&) const; |
| 76 bool get(const String&, unsigned long long&) const; | 77 bool get(const String&, unsigned long long&) const; |
| 77 bool get(const String&, RefPtr<DOMWindow>&) const; | 78 bool get(const String&, RefPtr<DOMWindow>&) const; |
| 78 bool get(const String&, RefPtr<Storage>&) const; | 79 bool get(const String&, RefPtr<Storage>&) const; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 static void* operator new[](size_t); | 112 static void* operator new[](size_t); |
| 112 static void operator delete(void *); | 113 static void operator delete(void *); |
| 113 | 114 |
| 114 v8::Local<v8::Value> m_options; | 115 v8::Local<v8::Value> m_options; |
| 115 v8::Isolate* m_isolate; | 116 v8::Isolate* m_isolate; |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } | 119 } |
| 119 | 120 |
| 120 #endif // Dictionary_h | 121 #endif // Dictionary_h |
| OLD | NEW |