HomeSort by relevance Sort by last modified time
    Searched refs:ScriptState (Results 101 - 125 of 299) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/inspector/
ConsoleMessage.h 8 #include "bindings/core/v8/ScriptState.h"
22 class ScriptState;
43 ScriptState* scriptState() const;
44 void setScriptState(ScriptState*);
InjectedScriptHost.h 33 #include "bindings/core/v8/ScriptState.h"
72 static Node* scriptValueAsNode(ScriptState*, ScriptValue);
73 static ScriptValue nodeAsScriptValue(ScriptState*, Node*);
80 virtual ScriptValue get(ScriptState*);
InjectedScriptManager.cpp 101 int InjectedScriptManager::injectedScriptIdFor(ScriptState* scriptState)
103 ScriptStateToId::iterator it = m_scriptStateToId.find(scriptState);
107 m_scriptStateToId.set(scriptState, id);
137 ScriptState* scriptState = it->value.scriptState();
138 if (window != scriptState->domWindow())
140 m_scriptStateToId.remove(scriptState);
146 Vector<ScriptState*> scriptStatesToRemove
    [all...]
InspectorRuntimeAgent.h 45 class ScriptState;
97 void addExecutionContextToFrontend(ScriptState*, bool isPageContext, const String& origin, const String& frameId);
102 typedef HashMap<RefPtr<ScriptState>, int> ScriptStateToId;
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBKeyRange.h 36 class ScriptState;
64 ScriptValue lowerValue(ScriptState*) const;
65 ScriptValue upperValue(ScriptState*) const;
IDBFactory.cpp 73 IDBRequest* IDBFactory::getDatabaseNames(ScriptState* scriptState, ExceptionState& exceptionState)
76 if (!isContextValid(scriptState->executionContext()))
78 if (!scriptState->executionContext()->securityOrigin()->canAccessDatabase()) {
83 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::createNull(), 0);
85 if (!m_permissionClient->allowIndexedDB(scriptState->executionContext(), "Database Listing")) {
90 Platform::current()->idbFactory()->getDatabaseNames(WebIDBCallbacksImpl::create(request).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(scriptState->executionContext()->securityOrigin()));
94 IDBOpenDBRequest* IDBFactory::open(ScriptState* scriptState, const String& name, unsigned long long version, ExceptionState& exceptionState)
101 return openInternal(scriptState, name, version, exceptionState)
    [all...]
IDBDatabase.h 30 #include "bindings/core/v8/ScriptState.h"
73 ScriptValue version(ScriptState*) const;
78 IDBTransaction* transaction(ScriptState* scriptState, PassRefPtrWillBeRawPtr<DOMStringList> scope, const String& mode, ExceptionState& exceptionState) { return transaction(scriptState, *scope, mode, exceptionState); }
79 IDBTransaction* transaction(ScriptState*, const Vector<String>&, const String& mode, ExceptionState&);
80 IDBTransaction* transaction(ScriptState*, const String&, const String& mode, ExceptionState&);
  /external/chromium_org/third_party/WebKit/Source/modules/webmidi/
MIDIAccessInitializer.h 21 class ScriptState;
40 static ScriptPromise start(ScriptState* scriptState, const MIDIOptions& options)
42 RefPtr<MIDIAccessInitializer> p = adoptRef(new MIDIAccessInitializer(scriptState, options));
62 MIDIAccessInitializer(ScriptState*, const MIDIOptions&);
MIDIPortMap.h 9 #include "bindings/core/v8/ScriptState.h"
32 Iterator* iterator(ScriptState*, ExceptionState&) { return entries(); }
43 static const String& select(ScriptState*, IteratorType i) { return i->key; }
46 static T* select(ScriptState*, IteratorType i) { return i->value; }
49 static Vector<ScriptValue> select(ScriptState* scriptState, IteratorType i)
52 entry.append(ScriptValue(scriptState, v8String(scriptState->isolate(), i->key)));
53 entry.append(ScriptValue(scriptState, V8ValueTraits<T*>::toV8Value(i->value, scriptState->context()->Global(), scriptState->isolate())))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8EventListenerList.h 50 static PassRefPtr<V8EventListener> findWrapper(v8::Local<v8::Value> value, ScriptState* scriptState)
52 ASSERT(scriptState->isolate()->InContext());
56 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(false, scriptState->isolate());
57 return doFindWrapper(v8::Local<v8::Object>::Cast(value), wrapperProperty, scriptState);
61 static PassRefPtr<V8EventListener> findOrCreateWrapper(v8::Local<v8::Value>, bool isAttribute, ScriptState*);
69 static PassRefPtr<EventListener> getEventListener(ScriptState*, v8::Local<v8::Value>, bool isAttribute, ListenerLookupType);
72 static V8EventListener* doFindWrapper(v8::Local<v8::Object> object, v8::Handle<v8::String> wrapperProperty, ScriptState* scriptState)
74 v8::HandleScope scope(scriptState->isolate())
    [all...]
ScriptFunctionCall.cpp 35 #include "bindings/core/v8/ScriptState.h"
47 if (argument.scriptState() != m_scriptState) {
57 ScriptState::Scope scope(m_scriptState.get());
64 ScriptState::Scope scope(m_scriptState.get());
71 ScriptState::Scope scope(m_scriptState.get());
78 ScriptState::Scope scope(m_scriptState.get());
85 ScriptState::Scope scope(m_scriptState.get());
92 ScriptState::Scope scope(m_scriptState.get());
99 ScriptState::Scope scope(m_scriptState.get());
112 ScriptState::Scope scope(m_scriptState.get())
    [all...]
ScheduledAction.cpp 49 ScheduledAction::ScheduledAction(ScriptState* scriptState, v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], v8::Isolate* isolate)
50 : m_scriptState(scriptState)
60 ScheduledAction::ScheduledAction(ScriptState* scriptState, const String& code, const KURL& url, v8::Isolate* isolate)
61 : m_scriptState(scriptState)
98 ScriptState::Scope scope(m_scriptState.get());
117 ScriptState::Scope scope(m_scriptState.get());
ScriptEventListener.h 50 ScriptState* eventListenerHandlerScriptState(LocalFrame*, EventListener*);
ScriptPreprocessor.h 55 RefPtr<ScriptState> m_scriptState;
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
V8TestCallbackInterface.cpp 21 V8TestCallbackInterface::V8TestCallbackInterface(v8::Handle<v8::Function> callback, ScriptState* scriptState)
22 : ActiveDOMCallback(scriptState->executionContext())
23 , m_scriptState(scriptState)
25 m_callback.set(scriptState->isolate(), callback);
40 ScriptState::Scope scope(m_scriptState.get());
54 ScriptState::Scope scope(m_scriptState.get());
71 ScriptState::Scope scope(m_scriptState.get());
91 ScriptState::Scope scope(m_scriptState.get());
111 ScriptState::Scope scope(m_scriptState.get())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
MediaKeys.cpp 30 #include "bindings/core/v8/ScriptState.h"
70 static ScriptPromise createRejectedPromise(ScriptState* scriptState, ExceptionCode error, const String& errorMessage)
72 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(error, errorMessage));
80 static ScriptPromise create(ScriptState*, const String& keySystem);
84 MediaKeysInitializer(ScriptState*, const String& keySystem);
91 ScriptPromise MediaKeysInitializer::create(ScriptState* scriptState, const String& keySystem)
93 RefPtr<MediaKeysInitializer> initializer = adoptRef(new MediaKeysInitializer(scriptState, keySystem));
99 MediaKeysInitializer::MediaKeysInitializer(ScriptState* scriptState, const String& keySystem
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
Body.cpp 9 #include "bindings/core/v8/ScriptState.h"
17 ScriptPromise Body::readAsync(ScriptState* scriptState, ResponseType type)
20 return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError("Already read", scriptState->isolate()));
28 ExecutionContext* executionContext = scriptState->executionContext();
36 m_resolver = ScriptPromiseResolver::create(scriptState);
80 ScriptPromise Body::arrayBuffer(ScriptState* scriptState)
82 return readAsync(scriptState, ResponseAsArrayBuffer)
    [all...]
ServiceWorkerContainerTest.cpp 11 #include "bindings/core/v8/ScriptState.h"
43 v8::Handle<v8::Function> function(ScriptState* scriptState)
45 return ScriptFunctionImpl::createFunction(scriptState, *this);
57 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, StubScriptFunction& owner)
59 ScriptFunctionImpl* self = new ScriptFunctionImpl(scriptState, owner);
64 ScriptFunctionImpl(ScriptState* scriptState, StubScriptFunction& owner)
65 : ScriptFunction(scriptState)
    [all...]
FetchEvent.h 32 void respondWith(ScriptState*, const ScriptValue&, ExceptionState&);
  /external/chromium_org/third_party/WebKit/Source/modules/geofencing/
Geofencing.cpp 53 ScriptPromise Geofencing::registerRegion(ScriptState* scriptState, GeofencingRegion* region)
57 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError));
59 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
66 ScriptPromise Geofencing::unregisterRegion(ScriptState* scriptState, const String& regionId)
70 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(NotSupportedError));
72 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
79 ScriptPromise Geofencing::getRegisteredRegions(ScriptState* scriptState) cons
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebDevToolsFrontendImpl.cpp 82 ScriptState* scriptState = ScriptState::forMainWorld(page->deprecatedLocalMainFrame());
83 ScriptState::Scope scope(scriptState);
88 v8::Handle<v8::Object> global = scriptState->context()->Global();
89 v8::Handle<v8::Value> frontendHostObj = toV8(m_frontendHost.get(), global, scriptState->isolate());
  /external/chromium_org/third_party/WebKit/Source/web/tests/
CustomEventTest.cpp 66 ScriptState::Scope scope(scriptState());
67 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate());
69 EXPECT_EQ(jsEvent->ToObject()->Get(v8::String::NewFromUtf8(scriptState()->isolate(), "detail")), v8::Boolean::New(scriptState()->isolate(), true));
72 static PassRefPtr<TestListener> create(ScriptState* scriptState)
74 return adoptRef(new TestListener(scriptState));
78 TestListener(ScriptState* scriptState)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.idl 59 [CallWith=ScriptState] readonly attribute Promise loaded;
61 [CallWith=ScriptState] Promise load();
  /external/chromium_org/third_party/WebKit/Source/core/imagebitmap/
ImageBitmapFactories.cpp 68 static ScriptPromise fulfillImageBitmap(ScriptState* scriptState, PassRefPtrWillBeRawPtr<ImageBitmap> imageBitmap)
70 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
75 resolver->reject(ScriptValue(scriptState, v8::Null(scriptState->isolate())));
80 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, ExceptionState& exceptionState)
83 return createImageBitmap(scriptState, eventTarget, image, 0, 0, s.width(), s.height(), exceptionState);
86 ScriptPromise ImageBitmapFactories::createImageBitmap(ScriptState* scriptState, EventTarget& eventTarget, HTMLImageElement* image, int sx, int sy, int sw, int sh, ExceptionState (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/streams/
ReadableStreamImpl.h 9 #include "bindings/core/v8/ScriptState.h"
33 static ScriptValue toScriptValue(ScriptState* scriptState, const HoldType& value)
35 return ScriptValue(scriptState, v8String(scriptState->isolate(), value));
47 static ScriptValue toScriptValue(ScriptState* scriptState, const HoldType& value)
49 return ScriptValue(scriptState, toV8NoInline(value.get(), scriptState->context()->Global(), scriptState->isolate()))
    [all...]

Completed in 2681 milliseconds

1 2 3 45 6 7 8 91011>>