Home
last modified time | relevance | path

Searched refs:SerializedScriptValue (Results 1 – 25 of 71) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DSerializedScriptValue.h56 class SerializedScriptValue FINAL : public ThreadSafeRefCounted<SerializedScriptValue> {
64 ~SerializedScriptValue();
71 …static PassRefPtr<SerializedScriptValue> create(v8::Handle<v8::Value>, MessagePortArray*, ArrayBuf…
72 static PassRefPtr<SerializedScriptValue> createFromWire(const String&);
73 static PassRefPtr<SerializedScriptValue> createFromWireBytes(const Vector<uint8_t>&);
74 static PassRefPtr<SerializedScriptValue> create(const String&);
75 static PassRefPtr<SerializedScriptValue> create(const String&, v8::Isolate*);
76 static PassRefPtr<SerializedScriptValue> create();
78 … static PassRefPtr<SerializedScriptValue> create(const ScriptValue&, bool& didThrow, ScriptState*);
81 …static PassRefPtr<SerializedScriptValue> createAndSwallowExceptions(v8::Handle<v8::Value>, v8::Iso…
[all …]
DSerializedScriptValue.cpp354 doWriteUint32(SerializedScriptValue::wireFormatVersion); in writeVersion()
2012 … if (!m_reader.readVersion(m_version) || m_version > SerializedScriptValue::wireFormatVersion) in deserialize()
2256 PassRefPtr<SerializedScriptValue> SerializedScriptValue::create(v8::Handle<v8::Value> value, Messag… in create()
2258 … return adoptRef(new SerializedScriptValue(value, messagePorts, arrayBuffers, didThrow, isolate)); in create()
2261 PassRefPtr<SerializedScriptValue> SerializedScriptValue::createAndSwallowExceptions(v8::Handle<v8::… in createAndSwallowExceptions()
2264 … return adoptRef(new SerializedScriptValue(value, 0, 0, didThrow, isolate, DoNotThrowExceptions)); in createAndSwallowExceptions()
2267 PassRefPtr<SerializedScriptValue> SerializedScriptValue::create(const ScriptValue& value, bool& did… in create()
2270 return adoptRef(new SerializedScriptValue(value.v8Value(), 0, 0, didThrow, state->isolate())); in create()
2273 PassRefPtr<SerializedScriptValue> SerializedScriptValue::createFromWire(const String& data) in createFromWire()
2275 return adoptRef(new SerializedScriptValue(data)); in createFromWire()
[all …]
/external/chromium/chrome/browser/
Didbbindingutilities_browsertest.cc107 void SetExpectedValue(const SerializedScriptValue& expected_value) { in SetExpectedValue()
112 int id, const std::vector<SerializedScriptValue>& serialized_values, in CheckValuesForKeyPath()
129 const SerializedScriptValue& value, in CheckInjectValue()
170 const SerializedScriptValue& new_value) { in OnInjectIDBKeyFinished()
182 SerializedScriptValue expected_value_;
208 void SetExpectedValue(const SerializedScriptValue& expected_value) { in SetExpectedValue()
214 const std::vector<SerializedScriptValue>& serialized_script_values, in CheckValuesForKeyPath()
222 const SerializedScriptValue& value, in CheckInjectValue()
247 std::vector<SerializedScriptValue> serialized_values; in IN_PROC_BROWSER_TEST_F()
249 SerializedScriptValue(false, false, string16(data, arraysize(data)))); in IN_PROC_BROWSER_TEST_F()
[all …]
Dutility_process_host.h22 class SerializedScriptValue; variable
97 const SerializedScriptValue& new_value) {} in OnInjectIDBKeyFinished()
148 int id, const std::vector<SerializedScriptValue>& serialized_values,
154 const SerializedScriptValue& value,
/external/chromium_org/third_party/WebKit/Source/core/events/
DPopStateEvent.h35 class SerializedScriptValue; variable
43 static PassRefPtr<PopStateEvent> create(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
46 SerializedScriptValue* serializedState() const { return m_serializedState.get(); } in serializedState()
47 void setSerializedState(PassRefPtr<SerializedScriptValue> state) in setSerializedState()
59 explicit PopStateEvent(PassRefPtr<SerializedScriptValue>, PassRefPtr<History>);
61 RefPtr<SerializedScriptValue> m_serializedState;
DCustomEvent.h33 class SerializedScriptValue; variable
51 …vent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue>);
55 SerializedScriptValue* serializedDetail() { return m_serializedDetail.get(); } in serializedDetail()
57 void setSerializedDetail(PassRefPtr<SerializedScriptValue> detail) in setSerializedDetail()
67 RefPtr<SerializedScriptValue> m_serializedDetail;
DMessageEvent.h60 …ssageEvent> create(PassOwnPtr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data, con…
64 …> create(PassOwnPtr<MessagePortChannelArray> channels, PassRefPtr<SerializedScriptValue> data, con…
84 …t AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, con…
103SerializedScriptValue* dataAsSerializedScriptValue() const { ASSERT(m_dataType == DataTypeScriptVa… in dataAsSerializedScriptValue()
108 void setSerializedData(PassRefPtr<SerializedScriptValue> data) in setSerializedData()
120 …MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEvent…
121 …MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEvent…
128 RefPtr<SerializedScriptValue> m_dataAsSerializedScriptValue;
DPopStateEvent.cpp51 PopStateEvent::PopStateEvent(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtr<History>… in PopStateEvent()
68 PassRefPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, … in create()
DMessageEvent.cpp76 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const Stri… in MessageEvent()
91 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const Stri… in MessageEvent()
160 …t AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, con… in initMessageEvent()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSerializedScriptValue.cpp43 return SerializedScriptValue::createFromWire(s); in fromString()
49 …WebSerializedScriptValue serializedValue = SerializedScriptValue::create(value, 0, 0, didThrow, v8… in serialize()
57 return SerializedScriptValue::create(); in createInvalid()
80 WebSerializedScriptValue::WebSerializedScriptValue(const PassRefPtr<SerializedScriptValue>& value) in WebSerializedScriptValue()
85 …zedScriptValue& WebSerializedScriptValue::operator=(const PassRefPtr<SerializedScriptValue>& value) in operator =()
91 WebSerializedScriptValue::operator PassRefPtr<SerializedScriptValue>() const in operator PassRefPtr<SerializedScriptValue>()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DHistory.h49 SerializedScriptValue* state();
56 bool isSameAsCurrentState(SerializedScriptValue*) const;
58 …void stateObjectAdded(PassRefPtr<SerializedScriptValue>, const String& title, const String& url, S…
65 SerializedScriptValue* stateInternal() const;
67 RefPtr<SerializedScriptValue> m_lastStateObjectRequested;
DHistory.cpp61 SerializedScriptValue* History::state() in state()
67 SerializedScriptValue* History::stateInternal() const in stateInternal()
83 bool History::isSameAsCurrentState(SerializedScriptValue* state) const in isSameAsCurrentState()
126 void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const String& /* title */, c… in stateObjectAdded()
DDOMWindow.h76 class SerializedScriptValue; variable
226 …void postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, const String&…
321 void enqueuePopstateEvent(PassRefPtr<SerializedScriptValue>);
324 void statePopped(PassRefPtr<SerializedScriptValue>);
375 RefPtr<SerializedScriptValue> m_pendingStateObject;
/external/chromium_org/third_party/WebKit/public/web/
DWebSerializedScriptValue.h37 namespace WebCore { class SerializedScriptValue; } variable
79 WebSerializedScriptValue(const WTF::PassRefPtr<WebCore::SerializedScriptValue>&);
80 WebSerializedScriptValue& operator=(const WTF::PassRefPtr<WebCore::SerializedScriptValue>&);
81 operator WTF::PassRefPtr<WebCore::SerializedScriptValue>() const;
85 WebPrivatePtr<WebCore::SerializedScriptValue> m_private;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8HistoryCustom.cpp55 RefPtr<SerializedScriptValue> serialized = history->state(); in stateAttributeGetterCustom()
65 …RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(info[0], 0, 0, didThrow… in pushStateMethodCustom()
82 …RefPtr<SerializedScriptValue> historyState = SerializedScriptValue::create(info[0], 0, 0, didThrow… in replaceStateMethodCustom()
DV8MessagePortCustom.cpp62 …RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &portArray, &arrayB… in postMessageMethodCustom()
DV8WorkerCustom.cpp63 …RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffe… in postMessageMethodCustom()
DV8DedicatedWorkerGlobalScopeCustom.cpp60 …RefPtr<SerializedScriptValue> message = SerializedScriptValue::create(info[0], &ports, &arrayBuffe… in postMessageMethodCustom()
DV8MessageEventCustom.cpp59 …event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(mainWorldData, info.Get… in dataAttributeGetterCustom()
70 if (SerializedScriptValue* serializedValue = event->dataAsSerializedScriptValue()) { in dataAttributeGetterCustom()
130 …event->setSerializedData(SerializedScriptValue::createAndSwallowExceptions(dataArg, info.GetIsolat… in initMessageEventMethodCustom()
/external/chromium_org/third_party/WebKit/Source/core/history/
DHistoryItem.h85 void setStateObject(PassRefPtr<SerializedScriptValue> object);
86 SerializedScriptValue* stateObject() const { return m_stateObject.get(); } in stateObject()
136 RefPtr<SerializedScriptValue> m_stateObject;
/external/chromium/chrome/common/
Dutility_messages.h91 std::vector<SerializedScriptValue>,
96 SerializedScriptValue /* value */,
188 SerializedScriptValue /* new value */)
/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerMessagingProxy.cpp59 …static PassOwnPtr<MessageWorkerGlobalScopeTask> create(PassRefPtr<SerializedScriptValue> message, … in create()
65 …MessageWorkerGlobalScopeTask(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChan… in MessageWorkerGlobalScopeTask()
81 RefPtr<SerializedScriptValue> m_message;
123 void WorkerMessagingProxy::postMessageToWorkerObject(PassRefPtr<SerializedScriptValue> message, Pas… in postMessageToWorkerObject()
132 void WorkerMessagingProxy::postMessageToWorkerGlobalScope(PassRefPtr<SerializedScriptValue> message… in postMessageToWorkerGlobalScope()
DWorkerMessagingProxy.h57 …virtual void postMessageToWorkerGlobalScope(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessageP…
66 …void postMessageToWorkerObject(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessagePortChannelArr…
/external/chromium_org/third_party/WebKit/Source/core/dom/
DMessagePort.cpp67 void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* po… in postMessage()
150 …ryGetMessageFrom(blink::WebMessagePortChannel& webChannel, RefPtr<SerializedScriptValue>& message,… in tryGetMessageFrom()
162 message = SerializedScriptValue::createFromWire(messageString); in tryGetMessageFrom()
173 RefPtr<SerializedScriptValue> message; in dispatchMessages()
DMessagePort.h51 class SerializedScriptValue; variable
69 …void postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionStat…

123