Home | History | Annotate | Download | only in renderer

Lines Matching refs:converter

24   // The hashes will be ignored in |converter|, which must not be NULL and it
27 content::V8ValueConverterImpl* converter);
37 content::V8ValueConverterImpl* converter)
38 : converter_(converter) {
149 void TestWeirdType(const V8ValueConverterImpl& converter,
155 scoped_ptr<base::Value> raw(converter.FromV8Value(val, context));
169 converter.FromV8Value(object, context)));
184 static_cast<base::ListValue*>(converter.FromV8Value(array, context)));
233 V8ValueConverterImpl converter;
235 converter.ToV8Value(original_root.get(), context).As<v8::Object>();
256 scoped_ptr<base::Value> new_root(converter.FromV8Value(v8_object, context));
270 V8ValueConverterImpl converter;
272 converter.FromV8Value(
273 converter.ToV8Value(original.get(), context), context));
298 V8ValueConverterImpl converter;
301 converter.FromV8Value(object, context)));
312 converter.ToV8Value(converted.get(), context).As<v8::Object>();
339 V8ValueConverterImpl converter;
341 converter.FromV8Value(array, context)));
351 converter.ToV8Value(converted.get(), context).As<v8::Array>();
364 V8ValueConverterImpl converter;
365 TestWeirdType(converter,
369 TestWeirdType(converter,
373 TestWeirdType(converter,
378 converter.SetDateAllowed(true);
379 TestWeirdType(converter,
384 converter.SetRegExpAllowed(true);
385 TestWeirdType(converter,
406 V8ValueConverterImpl converter;
409 converter.FromV8Value(object, context)));
428 V8ValueConverterImpl converter;
429 converter.SetStripNullFromObjects(true);
433 converter.FromV8Value(object, context)));
444 V8ValueConverterImpl converter;
453 converter.FromV8Value(object, context)));
464 static_cast<base::ListValue*>(converter.FromV8Value(array, context)));
491 V8ValueConverterImpl converter;
492 scoped_ptr<base::Value> actual(converter.FromV8Value(object, context));
523 V8ValueConverterImpl converter;
525 static_cast<base::ListValue*>(converter.FromV8Value(array, context)));
556 V8ValueConverterImpl converter;
559 converter.FromV8Value(object, context));
564 scoped_ptr<Value> actual_array(converter.FromV8Value(array, context));
574 V8ValueConverterImpl converter;
576 // We check that the converter checks identity correctly by disabling the
578 ScopedAvoidIdentityHashForTesting scoped_hash_avoider(&converter);
592 scoped_ptr<base::Value> value(converter.FromV8Value(root, context));
603 V8ValueConverterImpl converter;
615 converter.FromV8Value(recursive_array, context));
634 converter.FromV8Value(recursive_object, context));
659 V8ValueConverterImpl converter;
660 scoped_ptr<base::Value> value(converter.FromV8Value(deep_object, context));