HomeSort by relevance Sort by last modified time
    Searched defs:ScriptPromise (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScriptPromise.cpp 32 #include "bindings/core/v8/ScriptPromise.h"
56 ScriptPromise::InternalResolver::InternalResolver(ScriptState* scriptState)
59 v8::Local<v8::Promise> ScriptPromise::InternalResolver::v8Promise() const
66 ScriptPromise ScriptPromise::InternalResolver::promise() const
69 return ScriptPromise();
70 return ScriptPromise(m_resolver.scriptState(), v8Promise());
73 void ScriptPromise::InternalResolver::resolve(v8::Local<v8::Value> value)
81 void ScriptPromise::InternalResolver::reject(v8::Local<v8::Value> value)
89 ScriptPromise::ScriptPromise(ScriptState* scriptState, v8::Handle<v8::Value> value
    [all...]
ScriptPromise.h 49 // ScriptPromise is the class for representing Promise values in C++ world.
50 // ScriptPromise holds a Promise.
51 // So holding a ScriptPromise as a member variable in DOM object causes
54 class ScriptPromise FINAL {
57 ScriptPromise() { }
59 // Constructs a ScriptPromise from |promise|.
61 ScriptPromise(ScriptState*, v8::Handle<v8::Value> promise);
63 ScriptPromise then(v8::Handle<v8::Function> onFulfilled, v8::Handle<v8::Function> onRejected = v8::Handle<v8::Function>());
100 bool operator==(const ScriptPromise& value) const
105 bool operator!=(const ScriptPromise& value) cons
    [all...]

Completed in 284 milliseconds