OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Ericsson AB. All rights reserved. | 3 * Copyright (C) 2012 Ericsson AB. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 v8::Isolate*, | 1154 v8::Isolate*, |
1155 const DOMWrapperWorld&, | 1155 const DOMWrapperWorld&, |
1156 v8::Local<v8::FunctionTemplate> interfaceTemplate); | 1156 v8::Local<v8::FunctionTemplate> interfaceTemplate); |
1157 | 1157 |
1158 // Freeze a V8 object. The type of the first parameter and the return value is | 1158 // Freeze a V8 object. The type of the first parameter and the return value is |
1159 // intentionally v8::Value so that this function can wrap toV8(). | 1159 // intentionally v8::Value so that this function can wrap toV8(). |
1160 // If the argument isn't an object, this will crash. | 1160 // If the argument isn't an object, this will crash. |
1161 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, | 1161 CORE_EXPORT v8::Local<v8::Value> freezeV8Object(v8::Local<v8::Value>, |
1162 v8::Isolate*); | 1162 v8::Isolate*); |
1163 | 1163 |
| 1164 CORE_EXPORT v8::Local<v8::Value> fromJSONString(v8::Isolate*, |
| 1165 const String& stringifiedJSON, |
| 1166 ExceptionState&); |
1164 } // namespace blink | 1167 } // namespace blink |
1165 | 1168 |
1166 #endif // V8Binding_h | 1169 #endif // V8Binding_h |
OLD | NEW |