/external/webkit/Source/WebKit/chromium/tests/ |
IDBBindingUtilitiesTest.cpp | 30 #include "SerializedScriptValue.h" 60 PassRefPtr<IDBKey> checkKeyFromValueAndKeyPathInternal(SerializedScriptValue* value, const String& keyPath) 69 void checkKeyPathNullValue(SerializedScriptValue* value, const String& keyPath) 75 PassRefPtr<SerializedScriptValue> injectKey(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) 84 void checkInjection(PassRefPtr<IDBKey> prpKey, PassRefPtr<SerializedScriptValue> value, const String& keyPath) 87 RefPtr<SerializedScriptValue> newValue = injectKey(key, value, keyPath); 93 void checkInjectionFails(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) 98 void checkKeyPathStringValue(SerializedScriptValue* value, const String& keyPath, const String& expected) 106 void checkKeyPathNumberValue(SerializedScriptValue* value, const String& keyPath, int expected [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
SerializedScriptValue.h | 55 class SerializedScriptValue : public RefCounted<SerializedScriptValue> { 57 static PassRefPtr<SerializedScriptValue> create(JSC::ExecState*, JSC::JSValue, SerializationErrorMode = Throwing); 58 static PassRefPtr<SerializedScriptValue> create(JSContextRef, JSValueRef value, JSValueRef* exception); 59 static PassRefPtr<SerializedScriptValue> create(String string); 60 static PassRefPtr<SerializedScriptValue> adopt(Vector<uint8_t>& buffer) 62 return adoptRef(new SerializedScriptValue(buffer)); 65 static PassRefPtr<SerializedScriptValue> create(); 66 static SerializedScriptValue* nullValue(); 75 ~SerializedScriptValue(); [all...] |
ScriptValue.h | 36 #include "SerializedScriptValue.h" 45 class SerializedScriptValue; 65 PassRefPtr<SerializedScriptValue> serialize(ScriptState*, SerializationErrorMode = Throwing); 66 static ScriptValue deserialize(ScriptState*, SerializedScriptValue*, SerializationErrorMode = Throwing);
|
/external/webkit/Source/WebCore/bindings/v8/ |
SerializedScriptValue.h | 40 class SerializedScriptValue : public ThreadSafeRefCounted<SerializedScriptValue> { 43 v8::PropertyAttribute, SerializedScriptValue*); 45 v8::PropertyAttribute, PassRefPtr<SerializedScriptValue>); 52 static PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value> value, bool& didThrow); 53 static PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value>); 54 static PassRefPtr<SerializedScriptValue> createFromWire(String data); 55 static PassRefPtr<SerializedScriptValue> create(String data); 56 static PassRefPtr<SerializedScriptValue> create(); 58 static SerializedScriptValue* nullValue() [all...] |
IDBBindingUtilities.h | 37 class SerializedScriptValue; 41 PassRefPtr<IDBKey> createIDBKeyFromSerializedValueAndKeyPath(PassRefPtr<SerializedScriptValue> value, const Vector<IDBKeyPathElement, 0>& keyPath); 42 PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const Vector<IDBKeyPathElement, 0>&);
|
/external/webkit/Source/WebCore/dom/ |
PopStateEvent.h | 31 #include "SerializedScriptValue.h" 35 class SerializedScriptValue; 41 static PassRefPtr<PopStateEvent> create(PassRefPtr<SerializedScriptValue> stateObject) 46 void initPopStateEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue>); 49 SerializedScriptValue* state() const { return m_stateObject.get(); } 52 explicit PopStateEvent(PassRefPtr<SerializedScriptValue>); 54 RefPtr<SerializedScriptValue> m_stateObject;
|
MessageEvent.h | 34 #include "SerializedScriptValue.h" 46 static PassRefPtr<MessageEvent> create(PassOwnPtr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data = 0, const String& origin = "", const String& lastEventId = "", PassRefPtr<DOMWindow> source = 0) 52 void initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, PassOwnPtr<MessagePortArray>); 54 SerializedScriptValue* data() const { return m_data.get(); } 63 void initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, MessagePort*); 69 MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPtr<DOMWindow> source, PassOwnPtr<MessagePortArray>); 71 RefPtr<SerializedScriptValue> m_data;
|
MessagePortChannel.h | 36 #include "SerializedScriptValue.h" 51 class SerializedScriptValue; 85 static PassOwnPtr<EventData> create(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessagePortChannelArray>); 87 SerializedScriptValue* message() { return m_message.get(); } 91 EventData(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray>); 92 RefPtr<SerializedScriptValue> m_message;
|
MessageEvent.idl | 32 readonly attribute [CachedAttribute] SerializedScriptValue data; 40 [Custom] void initMessageEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in SerializedScriptValue dataArg, in DOMString originArg, in DOMString lastEventIdArg, in DOMWindow sourceArg, in Array messagePorts); 45 void initMessageEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in SerializedScriptValue dataArg, in DOMString originArg, in DOMString lastEventIdArg, in DOMWindow sourceArg, in MessagePort messagePort);
|
MessageEvent.cpp | 37 : m_data(SerializedScriptValue::create()) 41 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPtr<DOMWindow> source, PassOwnPtr<MessagePortArray> ports) 55 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, PassOwnPtr<MessagePortArray> ports) 78 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, MessagePort* port)
|
/external/webkit/Source/WebKit2/Shared/ |
WebSerializedScriptValue.h | 31 #include <WebCore/SerializedScriptValue.h> 40 static PassRefPtr<WebSerializedScriptValue> create(WebCore::SerializedScriptValue* serializedValue) 47 RefPtr<WebCore::SerializedScriptValue> serializedValue = WebCore::SerializedScriptValue::create(context, value, exception); 55 return adoptRef(new WebSerializedScriptValue(WebCore::SerializedScriptValue::adopt(buffer))); 68 explicit WebSerializedScriptValue(PassRefPtr<WebCore::SerializedScriptValue> serializedScriptValue) 69 : m_serializedScriptValue(serializedScriptValue) 75 RefPtr<WebCore::SerializedScriptValue> m_serializedScriptValue;
|
/external/webkit/Source/WebCore/storage/ |
IDBKeyPathBackendImpl.cpp | 35 void IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>&, 0> values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys) 37 // FIXME: Implement this method once JSC supports WireFormat for SerializedScriptValue. 40 PassRefPtr<SerializedScriptValue> IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath) 42 // FIXME: Implement this method once JSC supports WireFormat for SerializedScriptValue.
|
IDBKeyPathBackendImpl.h | 36 class SerializedScriptValue; 40 static void createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys); 41 static PassRefPtr<SerializedScriptValue> injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey>, PassRefPtr<SerializedScriptValue>, const String& keyPath);
|
IDBCursorBackendInterface.h | 42 class SerializedScriptValue; 58 virtual PassRefPtr<SerializedScriptValue> value() const = 0; 60 virtual void update(PassRefPtr<SerializedScriptValue>, PassRefPtr<IDBCallbacks>, ExceptionCode&) = 0;
|
IDBAny.h | 45 class SerializedScriptValue; 91 PassRefPtr<SerializedScriptValue> serializedScriptValue(); 103 void set(PassRefPtr<SerializedScriptValue>); 119 RefPtr<SerializedScriptValue> m_serializedScriptValue;
|
IDBCursorBackendImpl.cpp | 40 #include "SerializedScriptValue.h" 72 PassRefPtr<SerializedScriptValue> IDBCursorBackendImpl::value() const 75 return SerializedScriptValue::createFromWire(m_cursor->value()); 78 void IDBCursorBackendImpl::update(PassRefPtr<SerializedScriptValue> value, PassRefPtr<IDBCallbacks> callbacks, ExceptionCode& ec) 106 callbacks->onSuccess(SerializedScriptValue::nullValue());
|
IDBObjectStore.h | 37 #include "SerializedScriptValue.h" 62 PassRefPtr<IDBRequest> add(ScriptExecutionContext* context, PassRefPtr<SerializedScriptValue> value, ExceptionCode& ec) { return add(context, value, 0, ec); } 63 PassRefPtr<IDBRequest> put(ScriptExecutionContext* context, PassRefPtr<SerializedScriptValue> value, ExceptionCode& ec) { return put(context, value, 0, ec); } 69 PassRefPtr<IDBRequest> add(ScriptExecutionContext*, PassRefPtr<SerializedScriptValue>, PassRefPtr<IDBKey>, ExceptionCode&); 70 PassRefPtr<IDBRequest> put(ScriptExecutionContext*, PassRefPtr<SerializedScriptValue>, PassRefPtr<IDBKey>, ExceptionCode&);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebSerializedScriptValue.cpp | 34 #include "SerializedScriptValue.h" 43 return SerializedScriptValue::createFromWire(s); 48 return SerializedScriptValue::create(); 66 WebSerializedScriptValue::WebSerializedScriptValue(const PassRefPtr<SerializedScriptValue>& value) 71 WebSerializedScriptValue& WebSerializedScriptValue::operator=(const PassRefPtr<SerializedScriptValue>& value) 77 WebSerializedScriptValue::operator PassRefPtr<SerializedScriptValue>() const
|
/external/webkit/Source/WebCore/storage/chromium/ |
IDBKeyPathBackendImpl.cpp | 33 #include "SerializedScriptValue.h" 37 void IDBKeyPathBackendImpl::createIDBKeysFromSerializedValuesAndKeyPath(const Vector<RefPtr<SerializedScriptValue>, 0>& values, const String& keyPath, Vector<RefPtr<IDBKey>, 0>& keys) 42 PassRefPtr<SerializedScriptValue> IDBKeyPathBackendImpl::injectIDBKeyIntoSerializedValue(PassRefPtr<IDBKey> key, PassRefPtr<SerializedScriptValue> value, const String& keyPath)
|
/external/chromium/chrome/browser/ |
idbbindingutilities_browsertest.cc | 107 void SetExpectedValue(const SerializedScriptValue& expected_value) { 112 int id, const std::vector<SerializedScriptValue>& serialized_values, 129 const SerializedScriptValue& value, 170 const SerializedScriptValue& new_value) { 182 SerializedScriptValue expected_value_; 208 void SetExpectedValue(const SerializedScriptValue& expected_value) { 214 const std::vector<SerializedScriptValue>& serialized_script_values, 222 const SerializedScriptValue& value, 247 std::vector<SerializedScriptValue> serialized_values; 249 SerializedScriptValue(false, false, string16(data, arraysize(data)))) [all...] |
/external/webkit/Source/WebKit/chromium/public/ |
WebIDBCursor.h | 61 WebSerializedScriptValue serializedScriptValue; 63 value(serializedScriptValue, key); 64 return serializedScriptValue; 66 virtual void value(WebSerializedScriptValue& serializedScriptValue, WebIDBKey& key) const 68 serializedScriptValue = value();
|
WebSerializedScriptValue.h | 37 namespace WebCore { class SerializedScriptValue; } 68 WebSerializedScriptValue(const WTF::PassRefPtr<WebCore::SerializedScriptValue>&); 69 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<WebCore::SerializedScriptValue>&); 70 operator WTF::PassRefPtr<WebCore::SerializedScriptValue>() const; 74 WebPrivatePtr<WebCore::SerializedScriptValue> m_private;
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebSerializedJSValue.mm | 27 #import <WebCore/SerializedScriptValue.h> 34 RefPtr<SerializedScriptValue> value; 59 _private->value = SerializedScriptValue::create(sourceContext, value, exception); 83 _private->value = ((SerializedScriptValue*)internalRepresenatation);
|
/external/webkit/Source/WebCore/bindings/scripts/test/ |
TestSerializedScriptValueInterface.idl | 32 // The case of a single SerializedScriptValue attribute is a bit of a 34 readonly attribute SerializedScriptValue value;
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8HistoryCustom.cpp | 36 #include "SerializedScriptValue.h" 47 RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(args[0], didThrow); 71 RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(args[0], didThrow);
|