| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 bool get(const String&, RefPtr<CSSFontFaceRule>&) const; | 95 bool get(const String&, RefPtr<CSSFontFaceRule>&) const; |
| 96 bool get(const String&, RefPtr<DOMError>&) const; | 96 bool get(const String&, RefPtr<DOMError>&) const; |
| 97 bool get(const String&, RefPtr<VoidCallback>&) const; | 97 bool get(const String&, RefPtr<VoidCallback>&) const; |
| 98 bool get(const String&, v8::Local<v8::Value>&) const; | 98 bool get(const String&, v8::Local<v8::Value>&) const; |
| 99 | 99 |
| 100 bool getOwnPropertiesAsStringHashMap(HashMap<String, String>&) const; | 100 bool getOwnPropertiesAsStringHashMap(HashMap<String, String>&) const; |
| 101 bool getOwnPropertyNames(Vector<String>&) const; | 101 bool getOwnPropertyNames(Vector<String>&) const; |
| 102 | 102 |
| 103 bool getWithUndefinedOrNullCheck(const String&, String&) const; | 103 bool getWithUndefinedOrNullCheck(const String&, String&) const; |
| 104 | 104 |
| 105 PassRefPtr<EventListener> getEventListener(const String&, Notification*) con
st { return 0; } | |
| 106 | |
| 107 private: | 105 private: |
| 108 bool getKey(const String& key, v8::Local<v8::Value>&) const; | 106 bool getKey(const String& key, v8::Local<v8::Value>&) const; |
| 109 | 107 |
| 110 // This object can only be used safely when stack allocated because of v8::L
ocal. | 108 // This object can only be used safely when stack allocated because of v8::L
ocal. |
| 111 static void* operator new(size_t); | 109 static void* operator new(size_t); |
| 112 static void* operator new[](size_t); | 110 static void* operator new[](size_t); |
| 113 static void operator delete(void *); | 111 static void operator delete(void *); |
| 114 | 112 |
| 115 v8::Local<v8::Value> m_options; | 113 v8::Local<v8::Value> m_options; |
| 116 v8::Isolate* m_isolate; | 114 v8::Isolate* m_isolate; |
| 117 }; | 115 }; |
| 118 | 116 |
| 119 } | 117 } |
| 120 | 118 |
| 121 #endif // Dictionary_h | 119 #endif // Dictionary_h |
| OLD | NEW |