context 257 Source/bindings/templates/attributes.cpp {# Pre-set context #} context 17 Source/bindings/templates/callback_interface.cpp {{v8_class}}::{{v8_class}}(v8::Handle<v8::Function> callback, ExecutionContext* context) context 18 Source/bindings/templates/callback_interface.cpp : ActiveDOMCallback(context) context 20 Source/bindings/templates/callback_interface.cpp v8::Isolate* isolate = toIsolate(context); context 39 Source/bindings/templates/callback_interface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 21 Source/bindings/templates/callback_interface.h static PassOwnPtr<{{v8_class}}> create(v8::Handle<v8::Function> callback, ExecutionContext* context) context 23 Source/bindings/templates/callback_interface.h ASSERT(context); context 24 Source/bindings/templates/callback_interface.h return adoptPtr(new {{v8_class}}(callback, context)); context 556 Source/bindings/templates/interface.cpp {% from 'methods.cpp' import named_constructor_callback with context %} context 1163 Source/bindings/templates/interface.cpp {# Define per-context enabled operations #} context 1166 Source/bindings/templates/interface.cpp ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationContext()); context 1168 Source/bindings/templates/interface.cpp if (context && context->isDocument() && {{method.per_context_enabled_function}}(toDocument(context))) context 63 Source/bindings/templates/interface_base.cpp with context %} context 89 Source/bindings/templates/interface_base.cpp with context %} context 392 Source/bindings/templates/methods.cpp ExecutionContext* context = currentExecutionContext(isolate); context 21 Source/bindings/tests/results/V8TestCallbackInterface.cpp V8TestCallbackInterface::V8TestCallbackInterface(v8::Handle<v8::Function> callback, ExecutionContext* context) context 22 Source/bindings/tests/results/V8TestCallbackInterface.cpp : ActiveDOMCallback(context) context 24 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Isolate* isolate = toIsolate(context); context 40 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 57 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 74 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 97 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 120 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 143 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 166 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 195 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 225 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 248 Source/bindings/tests/results/V8TestCallbackInterface.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 21 Source/bindings/tests/results/V8TestCallbackInterface.h static PassOwnPtr<V8TestCallbackInterface> create(v8::Handle<v8::Function> callback, ExecutionContext* context) context 23 Source/bindings/tests/results/V8TestCallbackInterface.h ASSERT(context); context 24 Source/bindings/tests/results/V8TestCallbackInterface.h return adoptPtr(new V8TestCallbackInterface(callback, context)); context 1366 Source/bindings/tests/results/V8TestInterface.cpp ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationContext()); context 1367 Source/bindings/tests/results/V8TestInterface.cpp if (context && context->isDocument() && ContextFeatures::partialContextNameEnabled(toDocument(context))) context 1369 Source/bindings/tests/results/V8TestInterface.cpp if (context && context->isDocument() && ContextFeatures::partialContextNameEnabled(toDocument(context))) context 53 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp ExecutionContext* context = currentExecutionContext(isolate); context 55 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, exceptionState); context 86 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp ExecutionContext* context = currentExecutionContext(isolate); context 88 Source/bindings/tests/results/V8TestInterfaceConstructor.cpp RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(context, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, sequenceDictionaryArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState); context 8149 Source/bindings/tests/results/V8TestObject.cpp ExecutionContext* context = toExecutionContext(prototypeTemplate->CreationContext()); context 8150 Source/bindings/tests/results/V8TestObject.cpp if (context && context->isDocument() && ContextFeatures::featureNameEnabled(toDocument(context))) context 40 Source/bindings/v8/ActiveDOMCallback.cpp ActiveDOMCallback::ActiveDOMCallback(ExecutionContext* context) context 41 Source/bindings/v8/ActiveDOMCallback.cpp : ContextLifecycleObserver(context) context 51 Source/bindings/v8/ActiveDOMCallback.cpp ExecutionContext* context = executionContext(); context 52 Source/bindings/v8/ActiveDOMCallback.cpp return context && !context->activeDOMObjectsAreSuspended() && !context->activeDOMObjectsAreStopped(); context 57 Source/bindings/v8/ActiveDOMCallback.cpp ExecutionContext* context = executionContext(); context 58 Source/bindings/v8/ActiveDOMCallback.cpp if (context && context->isWorkerGlobalScope()) { context 59 Source/bindings/v8/ActiveDOMCallback.cpp WorkerScriptController* scriptController = toWorkerGlobalScope(context)->script(); context 66 Source/bindings/v8/CallbackPromiseAdapter.h explicit CallbackPromiseAdapter(PassRefPtr<ScriptPromiseResolver> resolver, ExecutionContext* context) context 68 Source/bindings/v8/CallbackPromiseAdapter.h , m_requestState(context) context 63 Source/bindings/v8/CustomElementConstructorBuilder.cpp ASSERT(m_scriptState->context() == v8::Isolate::GetCurrent()->GetCurrentContext()); context 192 Source/bindings/v8/CustomElementConstructorBuilder.cpp V8HiddenValue::setHiddenValue(isolate, m_constructor, V8HiddenValue::customElementDocument(isolate), toV8(document, m_scriptState->context()->Global(), isolate)); context 96 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Context> context = creationContext.IsEmpty() ? isolate->GetCurrentContext() : creationContext->CreationContext(); context 98 Source/bindings/v8/CustomElementWrapper.cpp if (!element->isUpgradedCustomElement() || DOMWrapperWorld::world(context).isIsolatedWorld()) context 101 Source/bindings/v8/CustomElementWrapper.cpp V8PerContextData* perContextData = V8PerContextData::from(context); context 58 Source/bindings/v8/DOMRequestState.h , m_contextScope(state.context()) context 66 Source/bindings/v8/DOMRequestState.h v8::Local<v8::Context> context() context 72 Source/bindings/v8/DOMWrapperWorld.h static DOMWrapperWorld& world(v8::Handle<v8::Context> context) context 74 Source/bindings/v8/DOMWrapperWorld.h return NewScriptState::from(context)->world(); context 150 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, bool& value) const context 152 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 192 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, double& value) const context 194 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 198 Source/bindings/v8/Dictionary.cpp context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "is not of type 'double'.")); context 226 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, String& value) const context 228 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 249 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, ScriptValue& value) const context 251 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 360 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, MessagePortArray& value) const context 362 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 393 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, HashSet<AtomicString>& value) const context 395 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 401 Source/bindings/v8/Dictionary.cpp if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) context 405 Source/bindings/v8/Dictionary.cpp context.throwTypeError(ExceptionMessages::notASequenceTypeProperty(key)); context 573 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, Dictionary& value) const context 575 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 584 Source/bindings/v8/Dictionary.cpp if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) context 587 Source/bindings/v8/Dictionary.cpp context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does not have a Dictionary type.")); context 610 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, Vector<String>& value) const context 612 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 618 Source/bindings/v8/Dictionary.cpp if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) context 622 Source/bindings/v8/Dictionary.cpp context.throwTypeError(ExceptionMessages::notASequenceTypeProperty(key)); context 644 Source/bindings/v8/Dictionary.cpp bool Dictionary::convert(ConversionContext& context, const String& key, ArrayValue& value) const context 646 Source/bindings/v8/Dictionary.cpp ConversionContextScope scope(context); context 652 Source/bindings/v8/Dictionary.cpp if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) context 656 Source/bindings/v8/Dictionary.cpp context.throwTypeError(ExceptionMessages::notASequenceTypeProperty(key)); context 144 Source/bindings/v8/Dictionary.h ConversionContextScope(ConversionContext& context) context 145 Source/bindings/v8/Dictionary.h : m_context(context) { } context 291 Source/bindings/v8/Dictionary.h template<typename T> bool Dictionary::convert(ConversionContext& context, const String& key, T& value) const context 293 Source/bindings/v8/Dictionary.h ConversionContextScope scope(context); context 299 Source/bindings/v8/Dictionary.h value = IntegralTypeTraits<T>::toIntegral(v8Value, NormalConversion, context.exceptionState()); context 300 Source/bindings/v8/Dictionary.h if (context.exceptionState().throwIfNeeded()) context 306 Source/bindings/v8/Dictionary.h template<typename T> bool Dictionary::convert(ConversionContext& context, const String& key, Nullable<T>& value) const context 308 Source/bindings/v8/Dictionary.h ConversionContextScope scope(context); context 314 Source/bindings/v8/Dictionary.h if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) { context 319 Source/bindings/v8/Dictionary.h T converted = IntegralTypeTraits<T>::toIntegral(v8Value, NormalConversion, context.exceptionState()); context 321 Source/bindings/v8/Dictionary.h if (context.exceptionState().throwIfNeeded()) context 328 Source/bindings/v8/Dictionary.h template<template <typename> class PointerType, typename T> bool Dictionary::convert(ConversionContext& context, const String& key, PointerType<T>& value) const context 330 Source/bindings/v8/Dictionary.h ConversionContextScope scope(context); context 340 Source/bindings/v8/Dictionary.h if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) context 343 Source/bindings/v8/Dictionary.h context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does not have a " + context.typeName() + " type.")); context 61 Source/bindings/v8/ExceptionState.h ExceptionState(Context context, const char* propertyName, const char* interfaceName, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate) context 63 Source/bindings/v8/ExceptionState.h , m_context(context) context 69 Source/bindings/v8/ExceptionState.h ExceptionState(Context context, const char* interfaceName, const v8::Handle<v8::Object>& creationContext, v8::Isolate* isolate) context 71 Source/bindings/v8/ExceptionState.h , m_context(context) context 95 Source/bindings/v8/ExceptionState.h Context context() const { return m_context; } context 403 Source/bindings/v8/IDBBindingUtilities.cpp return canInjectNthValueOnKeyPath(v8Value, keyPathElements, keyPathElements.size() - 1, state->context()->GetIsolate()); context 410 Source/bindings/v8/IDBBindingUtilities.cpp v8::Local<v8::Context> context = state ? state->context() : isolate->GetCurrentContext(); context 412 Source/bindings/v8/IDBBindingUtilities.cpp v8::Handle<v8::Value> v8Value(toV8(any.get(), context->Global(), isolate)); context 420 Source/bindings/v8/IDBBindingUtilities.cpp v8::Local<v8::Context> context = state ? state->context() : isolate->GetCurrentContext(); context 422 Source/bindings/v8/IDBBindingUtilities.cpp v8::Handle<v8::Value> v8Value(toV8(key.get(), context->Global(), isolate)); context 27 Source/bindings/v8/MIDIAccessResolver.cpp v8::Context::Scope contextScope(m_scriptState->context()); context 35 Source/bindings/v8/MIDIAccessResolver.cpp v8::Context::Scope contextScope(m_scriptState->context()); context 235 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 236 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 239 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 290 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 291 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 294 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 339 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 340 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 343 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 357 Source/bindings/v8/NPV8Object.cpp v8::Local<v8::Value> v8result = frame->script().executeScriptAndReturnValue(context, ScriptSourceCode(script, KURL(ParsedURLString, filename))); context 375 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 376 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 379 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 409 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 410 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 413 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 417 Source/bindings/v8/NPV8Object.cpp obj->Set(npIdentifierToV8Identifier(propertyName, context->GetIsolate()), convertNPVariantToV8Object(value, object->rootObject->frame()->script().windowScriptNPObject(), context->GetIsolate())); context 438 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 439 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 441 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 458 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 459 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 461 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 481 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 482 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 484 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 508 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, 0, npObject); context 509 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 512 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 515 Source/bindings/v8/NPV8Object.cpp throwError(v8GeneralError, message, context->GetIsolate()); context 526 Source/bindings/v8/NPV8Object.cpp v8::Local<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 527 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 529 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 547 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Value> result = V8ScriptRunner::compileAndRunInternalScript(source, context->GetIsolate()); context 552 Source/bindings/v8/NPV8Object.cpp v8::Local<v8::Value> propsObj = V8ScriptRunner::callInternalFunction(enumerator, v8::Handle<v8::Object>::Cast(result), WTF_ARRAY_LENGTH(argv), argv, context->GetIsolate()); context 561 Source/bindings/v8/NPV8Object.cpp v8::Local<v8::Value> name = props->Get(v8::Integer::New(context->GetIsolate(), i)); context 582 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Context> context = mainWorldContext(isolate, npp, npObject); context 583 Source/bindings/v8/NPV8Object.cpp if (context.IsEmpty()) context 585 Source/bindings/v8/NPV8Object.cpp v8::Context::Scope scope(context); context 12 Source/bindings/v8/NewScriptState.cpp PassRefPtr<NewScriptState> NewScriptState::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) context 14 Source/bindings/v8/NewScriptState.cpp RefPtr<NewScriptState> scriptState = adoptRef(new NewScriptState(context, world)); context 28 Source/bindings/v8/NewScriptState.cpp NewScriptState::NewScriptState(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) context 29 Source/bindings/v8/NewScriptState.cpp : m_isolate(context->GetIsolate()) context 30 Source/bindings/v8/NewScriptState.cpp , m_context(m_isolate, context) context 32 Source/bindings/v8/NewScriptState.cpp , m_perContextData(V8PerContextData::create(context, m_world)) context 36 Source/bindings/v8/NewScriptState.cpp context->SetAlignedPointerInEmbedderData(v8ContextPerContextDataIndex, this); context 47 Source/bindings/v8/NewScriptState.cpp return toExecutionContext(context()); context 32 Source/bindings/v8/NewScriptState.h static NewScriptState* from(v8::Handle<v8::Context> context) context 34 Source/bindings/v8/NewScriptState.h ASSERT(!context.IsEmpty()); context 35 Source/bindings/v8/NewScriptState.h NewScriptState* scriptState = static_cast<NewScriptState*>(context->GetAlignedPointerFromEmbedderData(v8ContextPerContextDataIndex)); context 39 Source/bindings/v8/NewScriptState.h RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(scriptState->context() == context); context 46 Source/bindings/v8/NewScriptState.h v8::Handle<v8::Context> context() const { return m_context.newLocal(m_isolate); } context 57 Source/bindings/v8/PageScriptDebugServer.cpp static LocalFrame* retrieveFrameWithGlobalObjectCheck(v8::Handle<v8::Context> context) context 59 Source/bindings/v8/PageScriptDebugServer.cpp if (context.IsEmpty()) context 70 Source/bindings/v8/PageScriptDebugServer.cpp v8::Handle<v8::Value> global = V8Window::findInstanceInPrototypeChain(context->Global(), context->GetIsolate()); context 74 Source/bindings/v8/PageScriptDebugServer.cpp return toFrameIfNotDetached(context); context 119 Source/bindings/v8/PageScriptDebugServer.cpp v8::Local<v8::Context> context = shell->context(); context 121 Source/bindings/v8/PageScriptDebugServer.cpp v8::Handle<v8::Value> argv[] = { context->GetEmbedderData(0) }; context 183 Source/bindings/v8/PageScriptDebugServer.cpp ScriptDebugListener* PageScriptDebugServer::getDebugListenerForContext(v8::Handle<v8::Context> context) context 186 Source/bindings/v8/PageScriptDebugServer.cpp LocalFrame* frame = retrieveFrameWithGlobalObjectCheck(context); context 192 Source/bindings/v8/PageScriptDebugServer.cpp void PageScriptDebugServer::runMessageLoopOnPause(v8::Handle<v8::Context> context) context 195 Source/bindings/v8/PageScriptDebugServer.cpp LocalFrame* frame = retrieveFrameWithGlobalObjectCheck(context); context 48 Source/bindings/v8/ScheduledAction.cpp ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], v8::Isolate* isolate) context 49 Source/bindings/v8/ScheduledAction.cpp : m_context(isolate, context) context 59 Source/bindings/v8/ScheduledAction.cpp ScheduledAction::ScheduledAction(v8::Handle<v8::Context> context, const String& code, const KURL& url, v8::Isolate* isolate) context 60 Source/bindings/v8/ScheduledAction.cpp : m_context(isolate, context) context 72 Source/bindings/v8/ScheduledAction.cpp void ScheduledAction::execute(ExecutionContext* context) context 74 Source/bindings/v8/ScheduledAction.cpp if (context->isDocument()) { context 75 Source/bindings/v8/ScheduledAction.cpp LocalFrame* frame = toDocument(context)->frame(); context 82 Source/bindings/v8/ScheduledAction.cpp execute(toWorkerGlobalScope(context)); context 90 Source/bindings/v8/ScheduledAction.cpp v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); context 91 Source/bindings/v8/ScheduledAction.cpp if (context.IsEmpty()) context 97 Source/bindings/v8/ScheduledAction.cpp v8::Context::Scope scope(context); context 100 Source/bindings/v8/ScheduledAction.cpp frame->script().callFunction(m_function.newLocal(m_isolate), context->Global(), info.size(), info.data()); context 102 Source/bindings/v8/ScheduledAction.cpp frame->script().executeScriptAndReturnValue(context, ScriptSourceCode(m_code)); context 112 Source/bindings/v8/ScheduledAction.cpp v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); context 113 Source/bindings/v8/ScheduledAction.cpp ASSERT(!context.IsEmpty()); context 114 Source/bindings/v8/ScheduledAction.cpp v8::Context::Scope scope(context); context 118 Source/bindings/v8/ScheduledAction.cpp V8ScriptRunner::callFunction(m_function.newLocal(m_isolate), worker, context->Global(), info.size(), info.data(), m_isolate); context 127 Source/bindings/v8/ScriptCallStackFactory.cpp v8::Local<v8::Context> context = isolate->GetCurrentContext(); context 128 Source/bindings/v8/ScriptCallStackFactory.cpp ScriptState* state = ScriptState::forContext(context); context 160 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Value> ScriptController::callFunction(ExecutionContext* context, v8::Handle<v8::Function> function, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> info[], v8::Isolate* isolate) context 163 Source/bindings/v8/ScriptController.cpp if (InspectorInstrumentation::timelineAgentEnabled(context)) { context 168 Source/bindings/v8/ScriptController.cpp cookie = InspectorInstrumentation::willCallFunction(context, function->ScriptId(), resourceName, lineNumber); context 171 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Value> result = V8ScriptRunner::callFunction(function, context, receiver, argc, info, isolate); context 177 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Value> ScriptController::executeScriptAndReturnValue(v8::Handle<v8::Context> context, const ScriptSourceCode& source, AccessControlStatus corsStatus) context 179 Source/bindings/v8/ScriptController.cpp v8::Context::Scope scope(context); context 245 Source/bindings/v8/ScriptController.cpp v8::Handle<v8::Context> context = m_isolate->GetCurrentContext(); context 246 Source/bindings/v8/ScriptController.cpp if (context.IsEmpty() || !toDOMWindow(context)) context 283 Source/bindings/v8/ScriptController.cpp m_windowShell->context()->AllowCodeGenerationFromStrings(true); context 291 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Context> v8Context = m_windowShell->context(); context 451 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Context> v8Context = isolatedWorldShell->context(); context 465 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Context> context = m_windowShell->context(); context 466 Source/bindings/v8/ScriptController.cpp return V8PerContextDebugData::setContextDebugData(context, "page", debugId); context 469 Source/bindings/v8/ScriptController.cpp int ScriptController::contextDebugId(v8::Handle<v8::Context> context) context 471 Source/bindings/v8/ScriptController.cpp return V8PerContextDebugData::contextDebugId(context); context 619 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Context> context = isolatedWorldShell->context(); context 620 Source/bindings/v8/ScriptController.cpp v8::Context::Scope contextScope(context); context 624 Source/bindings/v8/ScriptController.cpp v8::Local<v8::Value> evaluationResult = executeScriptAndReturnValue(context, sources[i]); context 576 Source/bindings/v8/ScriptDebugServer.cpp v8::Handle<v8::Context> context = state->context(); context 577 Source/bindings/v8/ScriptDebugServer.cpp if (context.IsEmpty()) context 579 Source/bindings/v8/ScriptDebugServer.cpp v8::Context::Scope contextScope(context); context 613 Source/bindings/v8/ScriptDebugServer.cpp v8::Handle<v8::Context> context = state->context(); context 614 Source/bindings/v8/ScriptDebugServer.cpp if (context.IsEmpty()) context 616 Source/bindings/v8/ScriptDebugServer.cpp v8::Context::Scope contextScope(context); context 122 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); context 123 Source/bindings/v8/ScriptEventListener.cpp v8::Context::Scope contextScope(context); context 143 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); context 144 Source/bindings/v8/ScriptEventListener.cpp v8::Context::Scope contextScope(context); context 157 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> v8Context = frame->script().windowShell(v8Listener->world())->context(); context 168 Source/bindings/v8/ScriptEventListener.cpp v8::Handle<v8::Context> context = toV8Context(document, v8Listener->world()); context 169 Source/bindings/v8/ScriptEventListener.cpp v8::Context::Scope contextScope(context); context 70 Source/bindings/v8/ScriptPreprocessor.cpp v8::Local<v8::Context> context = toV8Context(m_isolate, frame, *m_world); context 72 Source/bindings/v8/ScriptPreprocessor.cpp m_context.set(m_isolate, context); context 45 Source/bindings/v8/ScriptPromiseResolver.cpp ScriptPromiseResolver::ScriptPromiseResolver(ExecutionContext* context) context 46 Source/bindings/v8/ScriptPromiseResolver.cpp : m_isolate(toIsolate(context)) context 48 Source/bindings/v8/ScriptPromiseResolver.cpp ASSERT(context); context 49 Source/bindings/v8/ScriptPromiseResolver.cpp v8::Isolate* isolate = toIsolate(context); context 54 Source/bindings/v8/ScriptPromiseResolver.cpp v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current(isolate)); context 90 Source/bindings/v8/ScriptPromiseResolver.cpp PassRefPtr<ScriptPromiseResolver> ScriptPromiseResolver::create(ExecutionContext* context) context 92 Source/bindings/v8/ScriptPromiseResolver.cpp ASSERT(context); context 93 Source/bindings/v8/ScriptPromiseResolver.cpp ASSERT(toIsolate(context)->InContext()); context 94 Source/bindings/v8/ScriptPromiseResolver.cpp return adoptRef(new ScriptPromiseResolver(context)); context 110 Source/bindings/v8/ScriptPromiseResolver.h void resolve(PassRefPtr<T> value, ExecutionContext* context) { resolve(value.get(), context); } context 112 Source/bindings/v8/ScriptPromiseResolver.h void resolve(RawPtr<T> value, ExecutionContext* context) { resolve(value.get(), context); } context 114 Source/bindings/v8/ScriptPromiseResolver.h void reject(PassRefPtr<T> value, ExecutionContext* context) { reject(value.get(), context); } context 116 Source/bindings/v8/ScriptPromiseResolver.h void reject(RawPtr<T> value, ExecutionContext* context) { reject(value.get(), context); } context 155 Source/bindings/v8/ScriptPromiseResolver.h void ScriptPromiseResolver::resolve(T* value, ExecutionContext* context) context 158 Source/bindings/v8/ScriptPromiseResolver.h v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current(m_isolate)); context 163 Source/bindings/v8/ScriptPromiseResolver.h void ScriptPromiseResolver::reject(T* value, ExecutionContext* context) context 166 Source/bindings/v8/ScriptPromiseResolver.h v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current(m_isolate)); context 43 Source/bindings/v8/ScriptScope.cpp , m_context(scriptState->context()) context 46 Source/bindings/v8/ScriptState.cpp ScriptState::ScriptState(v8::Handle<v8::Context> context) context 47 Source/bindings/v8/ScriptState.cpp : m_context(context->GetIsolate(), context) context 48 Source/bindings/v8/ScriptState.cpp , m_isolate(context->GetIsolate()) context 69 Source/bindings/v8/ScriptState.cpp ScriptState* ScriptState::forContext(v8::Handle<v8::Context> context) context 71 Source/bindings/v8/ScriptState.cpp v8::Context::Scope contextScope(context); context 73 Source/bindings/v8/ScriptState.cpp v8::Local<v8::Object> innerGlobal = v8::Local<v8::Object>::Cast(context->Global()->GetPrototype()); context 75 Source/bindings/v8/ScriptState.cpp v8::Local<v8::Value> scriptStateWrapper = V8HiddenValue::getHiddenValue(context->GetIsolate(), innerGlobal, V8HiddenValue::scriptState(context->GetIsolate())); context 79 Source/bindings/v8/ScriptState.cpp ScriptState* scriptState = new ScriptState(context); context 80 Source/bindings/v8/ScriptState.cpp V8HiddenValue::setHiddenValue(context->GetIsolate(), innerGlobal, V8HiddenValue::scriptState(context->GetIsolate()), v8::External::New(context->GetIsolate(), scriptState)); context 88 Source/bindings/v8/ScriptState.cpp v8::Local<v8::Context> context = isolate->GetCurrentContext(); context 89 Source/bindings/v8/ScriptState.cpp ASSERT(!context.IsEmpty()); context 90 Source/bindings/v8/ScriptState.cpp return ScriptState::forContext(context); context 101 Source/bindings/v8/ScriptState.cpp return context()->IsCodeGenerationFromStringsAllowed(); context 107 Source/bindings/v8/ScriptState.cpp return context()->AllowCodeGenerationFromStrings(enabled); context 124 Source/bindings/v8/ScriptState.cpp return ScriptState::forContext(script->context()); context 58 Source/bindings/v8/ScriptState.h v8::Local<v8::Context> context() const context 108 Source/bindings/v8/ScriptState.h m_context.set(scriptState->isolate(), scriptState->context()); context 125 Source/bindings/v8/ScriptValue.cpp v8::Context::Scope contextScope(scriptState->context()); context 66 Source/bindings/v8/V8AbstractEventListener.cpp void V8AbstractEventListener::handleEvent(ExecutionContext* context, Event* event) context 69 Source/bindings/v8/V8AbstractEventListener.cpp if (context->isJSExecutionForbidden()) context 80 Source/bindings/v8/V8AbstractEventListener.cpp v8::Local<v8::Context> v8Context = toV8Context(context, world()); context 92 Source/bindings/v8/V8AbstractEventListener.cpp invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent)); context 101 Source/bindings/v8/V8AbstractEventListener.cpp void V8AbstractEventListener::invokeEventHandler(ExecutionContext* context, Event* event, v8::Local<v8::Value> jsEvent) context 107 Source/bindings/v8/V8AbstractEventListener.cpp v8::Local<v8::Context> v8Context = toV8Context(context, world()); context 126 Source/bindings/v8/V8AbstractEventListener.cpp returnValue = callListenerFunction(context, jsEvent, event); context 131 Source/bindings/v8/V8AbstractEventListener.cpp if (context->isWorkerGlobalScope()) context 132 Source/bindings/v8/V8AbstractEventListener.cpp toWorkerGlobalScope(context)->script()->forbidExecution(); context 164 Source/bindings/v8/V8AbstractEventListener.cpp v8::Local<v8::Object> V8AbstractEventListener::getReceiverObject(ExecutionContext* context, Event* event) context 166 Source/bindings/v8/V8AbstractEventListener.cpp v8::Isolate* isolate = toV8Context(context, world())->GetIsolate(); context 78 Source/bindings/v8/V8AbstractEventListener.h v8::Local<v8::Object> getListenerObject(ExecutionContext* context) context 85 Source/bindings/v8/V8AbstractEventListener.h prepareListenerObject(context); context 498 Source/bindings/v8/V8Binding.cpp DOMWindow* toDOMWindow(v8::Handle<v8::Context> context) context 500 Source/bindings/v8/V8Binding.cpp if (context.IsEmpty()) context 502 Source/bindings/v8/V8Binding.cpp return toDOMWindow(context->Global(), context->GetIsolate()); context 517 Source/bindings/v8/V8Binding.cpp v8::Handle<v8::Context> context = isolate->GetCallingContext(); context 518 Source/bindings/v8/V8Binding.cpp if (context.IsEmpty()) { context 522 Source/bindings/v8/V8Binding.cpp context = isolate->GetEnteredContext(); context 524 Source/bindings/v8/V8Binding.cpp return toDOMWindow(context); context 527 Source/bindings/v8/V8Binding.cpp ExecutionContext* toExecutionContext(v8::Handle<v8::Context> context) context 529 Source/bindings/v8/V8Binding.cpp v8::Handle<v8::Object> global = context->Global(); context 530 Source/bindings/v8/V8Binding.cpp v8::Handle<v8::Object> windowWrapper = V8Window::findInstanceInPrototypeChain(global, context->GetIsolate()); context 533 Source/bindings/v8/V8Binding.cpp v8::Handle<v8::Object> workerWrapper = V8WorkerGlobalScope::findInstanceInPrototypeChain(global, context->GetIsolate()); context 547 Source/bindings/v8/V8Binding.cpp v8::Handle<v8::Context> context = isolate->GetCallingContext(); context 548 Source/bindings/v8/V8Binding.cpp if (context.IsEmpty()) { context 552 Source/bindings/v8/V8Binding.cpp context = isolate->GetEnteredContext(); context 554 Source/bindings/v8/V8Binding.cpp return toExecutionContext(context); context 557 Source/bindings/v8/V8Binding.cpp LocalFrame* toFrameIfNotDetached(v8::Handle<v8::Context> context) context 559 Source/bindings/v8/V8Binding.cpp DOMWindow* window = toDOMWindow(context); context 568 Source/bindings/v8/V8Binding.cpp v8::Local<v8::Context> toV8Context(ExecutionContext* context, DOMWrapperWorld& world) context 570 Source/bindings/v8/V8Binding.cpp ASSERT(context); context 571 Source/bindings/v8/V8Binding.cpp if (context->isDocument()) { context 572 Source/bindings/v8/V8Binding.cpp if (LocalFrame* frame = toDocument(context)->frame()) context 573 Source/bindings/v8/V8Binding.cpp return frame->script().windowShell(world)->context(); context 574 Source/bindings/v8/V8Binding.cpp } else if (context->isWorkerGlobalScope()) { context 575 Source/bindings/v8/V8Binding.cpp if (WorkerScriptController* script = toWorkerGlobalScope(context)->script()) context 576 Source/bindings/v8/V8Binding.cpp return script->context(); context 585 Source/bindings/v8/V8Binding.cpp v8::Local<v8::Context> context = frame->script().windowShell(world)->context(); context 586 Source/bindings/v8/V8Binding.cpp if (context.IsEmpty()) context 588 Source/bindings/v8/V8Binding.cpp LocalFrame* attachedFrame= toFrameIfNotDetached(context); context 589 Source/bindings/v8/V8Binding.cpp return frame == attachedFrame ? context : v8::Local<v8::Context>(); context 655 Source/bindings/v8/V8Binding.cpp v8::Isolate* toIsolate(ExecutionContext* context) context 657 Source/bindings/v8/V8Binding.cpp if (context && context->isDocument()) context 717 Source/bindings/v8/V8Binding.h v8::Handle<v8::Value> toV8NoInline(T* impl, ExecutionContext* context) context 719 Source/bindings/v8/V8Binding.h v8::Isolate* isolate = toIsolate(context); context 720 Source/bindings/v8/V8Binding.h v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current(isolate)); context 118 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 119 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp if (context.IsEmpty()) context 122 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp return V8PerContextData::from(context); context 163 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 164 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp if (context.IsEmpty()) context 167 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Context::Scope scope(context); context 185 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); context 216 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 217 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp if (context.IsEmpty()) context 220 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Context::Scope scope(context); context 222 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Object> receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); context 252 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 253 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp if (context.IsEmpty()) context 256 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Context::Scope scope(context); context 262 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Object> receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); context 75 Source/bindings/v8/V8DOMWrapper.cpp V8PerContextData* perContextData = V8PerContextData::from(scope.context()); context 160 Source/bindings/v8/V8DOMWrapper.h v8::Handle<v8::Context> context() const { return m_context; } context 51 Source/bindings/v8/V8ErrorHandler.cpp v8::Local<v8::Value> V8ErrorHandler::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) context 54 Source/bindings/v8/V8ErrorHandler.cpp return V8EventListener::callListenerFunction(context, jsEvent, event); context 58 Source/bindings/v8/V8ErrorHandler.cpp v8::Isolate* isolate = toV8Context(context, world())->GetIsolate(); context 62 Source/bindings/v8/V8ErrorHandler.cpp v8::Local<v8::Object> listener = getListenerObject(context); context 76 Source/bindings/v8/V8ErrorHandler.cpp returnValue = V8ScriptRunner::callFunction(callFunction, context, thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate); context 78 Source/bindings/v8/V8ErrorHandler.cpp returnValue = ScriptController::callFunction(context, callFunction, thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate); context 47 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Function> V8EventListener::getListenerFunction(ExecutionContext* context) context 49 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Object> listener = getListenerObject(context); context 70 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Value> V8EventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) context 73 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Function> handlerFunction = getListenerFunction(context); context 74 Source/bindings/v8/V8EventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); context 79 Source/bindings/v8/V8EventListener.cpp if (!context) context 82 Source/bindings/v8/V8EventListener.cpp if (!context->isDocument()) context 85 Source/bindings/v8/V8EventListener.cpp LocalFrame* frame = toDocument(context)->frame(); context 43 Source/bindings/v8/V8EventListenerList.cpp v8::Handle<v8::Context> context = isolate->GetCurrentContext(); context 44 Source/bindings/v8/V8EventListenerList.cpp if (context.IsEmpty()) context 52 Source/bindings/v8/V8EventListenerList.cpp if (toDOMWindow(context)) context 149 Source/bindings/v8/V8Initializer.cpp static bool codeGenerationCheckCallbackInMainThread(v8::Local<v8::Context> context) context 151 Source/bindings/v8/V8Initializer.cpp if (ExecutionContext* executionContext = toExecutionContext(context)) { context 153 Source/bindings/v8/V8Initializer.cpp return policy->allowEval(ScriptState::forContext(context)); context 218 Source/bindings/v8/V8Initializer.cpp if (ExecutionContext* context = currentExecutionContext(isolate)) { context 226 Source/bindings/v8/V8Initializer.cpp context->reportException(event.release(), nullptr, corsStatus); context 77 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Value> V8LazyEventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) context 79 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Object> listenerObject = getListenerObject(context); context 84 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); context 89 Source/bindings/v8/V8LazyEventListener.cpp if (!context) context 92 Source/bindings/v8/V8LazyEventListener.cpp if (!context->isDocument()) context 95 Source/bindings/v8/V8LazyEventListener.cpp LocalFrame* frame = toDocument(context)->frame(); context 111 Source/bindings/v8/V8LazyEventListener.cpp void V8LazyEventListener::prepareListenerObject(ExecutionContext* context) context 113 Source/bindings/v8/V8LazyEventListener.cpp if (context->isDocument() && !toDocument(context)->allowInlineEventHandlers(m_node, this, m_sourceURL, m_position.m_line)) { context 121 Source/bindings/v8/V8LazyEventListener.cpp ASSERT(context->isDocument()); context 123 Source/bindings/v8/V8LazyEventListener.cpp v8::Isolate* isolate = toIsolate(context); context 127 Source/bindings/v8/V8LazyEventListener.cpp v8::Local<v8::Context> v8Context = toV8Context(context, world()); context 134 Source/bindings/v8/V8LazyEventListener.cpp String listenerSource = InspectorInstrumentation::preprocessEventListener(toDocument(context)->frame(), m_code, m_sourceURL, m_functionName); context 39 Source/bindings/v8/V8MutationCallback.cpp V8MutationCallback::V8MutationCallback(v8::Handle<v8::Function> callback, ExecutionContext* context, v8::Handle<v8::Object> owner, v8::Isolate* isolate) context 40 Source/bindings/v8/V8MutationCallback.cpp : ActiveDOMCallback(context) context 56 Source/bindings/v8/V8MutationCallback.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 43 Source/bindings/v8/V8MutationCallback.h static PassOwnPtr<V8MutationCallback> create(v8::Handle<v8::Function> callback, ExecutionContext* context, v8::Handle<v8::Object> owner, v8::Isolate* isolate) context 45 Source/bindings/v8/V8MutationCallback.h ASSERT(context); context 46 Source/bindings/v8/V8MutationCallback.h return adoptPtr(new V8MutationCallback(callback, context, owner, isolate)); context 58 Source/bindings/v8/V8NodeFilterCondition.cpp ASSERT(!m_scriptState->context().IsEmpty()); context 84 Source/bindings/v8/V8NodeFilterCondition.cpp v8::Handle<v8::Object> object = m_scriptState->context()->Global(); context 52 Source/bindings/v8/V8PerContextData.cpp V8PerContextData::V8PerContextData(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) context 54 Source/bindings/v8/V8PerContextData.cpp , m_isolate(context->GetIsolate()) context 55 Source/bindings/v8/V8PerContextData.cpp , m_contextHolder(adoptPtr(new gin::ContextHolder(context->GetIsolate()))) context 56 Source/bindings/v8/V8PerContextData.cpp , m_context(m_isolate, context) context 59 Source/bindings/v8/V8PerContextData.cpp m_contextHolder->SetContext(context); context 61 Source/bindings/v8/V8PerContextData.cpp v8::Context::Scope contextScope(context); context 63 Source/bindings/v8/V8PerContextData.cpp v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(context->Global()->Get(v8AtomicString(m_isolate, "Error"))); context 76 Source/bindings/v8/V8PerContextData.cpp PassOwnPtr<V8PerContextData> V8PerContextData::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world) context 78 Source/bindings/v8/V8PerContextData.cpp return adoptPtr(new V8PerContextData(context, world)); context 81 Source/bindings/v8/V8PerContextData.cpp V8PerContextData* V8PerContextData::from(v8::Handle<v8::Context> context) context 83 Source/bindings/v8/V8PerContextData.cpp return NewScriptState::from(context)->perContextData(); context 90 Source/bindings/v8/V8PerContextData.cpp v8::Context::Scope scope(context()); context 104 Source/bindings/v8/V8PerContextData.cpp v8::Context::Scope scope(context()); context 179 Source/bindings/v8/V8PerContextData.cpp static v8::Handle<v8::Value> debugData(v8::Handle<v8::Context> context) context 181 Source/bindings/v8/V8PerContextData.cpp v8::Context::Scope contextScope(context); context 182 Source/bindings/v8/V8PerContextData.cpp return context->GetEmbedderData(v8ContextDebugIdIndex); context 185 Source/bindings/v8/V8PerContextData.cpp static void setDebugData(v8::Handle<v8::Context> context, v8::Handle<v8::Value> value) context 187 Source/bindings/v8/V8PerContextData.cpp v8::Context::Scope contextScope(context); context 188 Source/bindings/v8/V8PerContextData.cpp context->SetEmbedderData(v8ContextDebugIdIndex, value); context 191 Source/bindings/v8/V8PerContextData.cpp bool V8PerContextDebugData::setContextDebugData(v8::Handle<v8::Context> context, const char* worldName, int debugId) context 193 Source/bindings/v8/V8PerContextData.cpp if (!debugData(context)->IsUndefined()) context 195 Source/bindings/v8/V8PerContextData.cpp v8::HandleScope scope(context->GetIsolate()); context 196 Source/bindings/v8/V8PerContextData.cpp v8::Handle<v8::Value> debugData = createDebugData(worldName, debugId, context->GetIsolate()); context 197 Source/bindings/v8/V8PerContextData.cpp setDebugData(context, debugData); context 201 Source/bindings/v8/V8PerContextData.cpp int V8PerContextDebugData::contextDebugId(v8::Handle<v8::Context> context) context 203 Source/bindings/v8/V8PerContextData.cpp v8::HandleScope scope(context->GetIsolate()); context 204 Source/bindings/v8/V8PerContextData.cpp v8::Handle<v8::Value> data = debugData(context); context 70 Source/bindings/v8/V8PerContextData.h v8::Handle<v8::Context> context() { return m_context.newLocal(m_isolate); } context 132 Source/bindings/v8/V8PerIsolateData.cpp return m_blinkInJSScriptState->context(); context 60 Source/bindings/v8/V8RecursionScope.h V8RecursionScope(v8::Isolate* isolate, ExecutionContext* context) context 62 Source/bindings/v8/V8RecursionScope.h , m_isDocumentContext(context && context->isDocument()) context 89 Source/bindings/v8/V8ScriptRunner.cpp v8::Local<v8::Value> V8ScriptRunner::runCompiledScript(v8::Handle<v8::Script> script, ExecutionContext* context, v8::Isolate* isolate) context 99 Source/bindings/v8/V8ScriptRunner.cpp RELEASE_ASSERT(!context->isIteratingOverObservers()); context 104 Source/bindings/v8/V8ScriptRunner.cpp V8RecursionScope recursionScope(isolate, context); context 129 Source/bindings/v8/V8ScriptRunner.cpp v8::Local<v8::Value> V8ScriptRunner::callFunction(v8::Handle<v8::Function> function, ExecutionContext* context, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> args[], v8::Isolate* isolate) context 137 Source/bindings/v8/V8ScriptRunner.cpp RELEASE_ASSERT(!context->isIteratingOverObservers()); context 139 Source/bindings/v8/V8ScriptRunner.cpp V8RecursionScope recursionScope(isolate, context); context 188 Source/bindings/v8/V8ScriptRunner.cpp v8::Local<v8::Object> V8ScriptRunner::instantiateObjectInDocument(v8::Isolate* isolate, v8::Handle<v8::Function> function, ExecutionContext* context, int argc, v8::Handle<v8::Value> argv[]) context 192 Source/bindings/v8/V8ScriptRunner.cpp V8RecursionScope scope(isolate, context); context 98 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 99 Source/bindings/v8/V8WindowShell.cpp m_frame->loader().client()->willReleaseScriptContext(context, m_world->worldId()); context 102 Source/bindings/v8/V8WindowShell.cpp context->DetachGlobal(); context 129 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 130 Source/bindings/v8/V8WindowShell.cpp v8::Context::Scope contextScope(context); context 201 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 202 Source/bindings/v8/V8WindowShell.cpp v8::Context::Scope contextScope(context); context 205 Source/bindings/v8/V8WindowShell.cpp m_global.set(m_isolate, context->Global()); context 214 Source/bindings/v8/V8WindowShell.cpp if (mainWindow && !mainWindow->context().IsEmpty()) context 215 Source/bindings/v8/V8WindowShell.cpp setInjectedScriptContextDebugId(context, m_frame->script().contextDebugId(mainWindow->context())); context 229 Source/bindings/v8/V8WindowShell.cpp context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport)); context 230 Source/bindings/v8/V8WindowShell.cpp context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, csp->evalDisabledErrorMessage())); context 239 Source/bindings/v8/V8WindowShell.cpp context->UseDefaultSecurityToken(); context 243 Source/bindings/v8/V8WindowShell.cpp ScriptState* scriptState = ScriptState::forContext(v8::Local<v8::Context>::New(m_isolate, context)); context 247 Source/bindings/v8/V8WindowShell.cpp m_frame->loader().client()->didCreateScriptContext(context, m_world->extensionGroup(), m_world->worldId()); context 280 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = v8::Context::New(m_isolate, &extensionConfiguration, globalTemplate, m_global.newLocal(m_isolate)); context 281 Source/bindings/v8/V8WindowShell.cpp if (context.IsEmpty()) context 283 Source/bindings/v8/V8WindowShell.cpp m_scriptState = NewScriptState::create(context, m_world); context 292 Source/bindings/v8/V8WindowShell.cpp static v8::Handle<v8::Object> toInnerGlobalObject(v8::Handle<v8::Context> context) context 294 Source/bindings/v8/V8WindowShell.cpp return v8::Handle<v8::Object>::Cast(context->Global()->GetPrototype()); context 328 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Object> innerGlobalObject = toInnerGlobalObject(m_scriptState->context()); context 347 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 348 Source/bindings/v8/V8WindowShell.cpp v8::Context::Scope contextScope(context); context 350 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Value> documentWrapper = toV8(m_frame->document(), v8::Handle<v8::Object>(), context->GetIsolate()); context 363 Source/bindings/v8/V8WindowShell.cpp context->Global()->ForceSet(v8AtomicString(m_isolate, "document"), documentWrapper, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); context 368 Source/bindings/v8/V8WindowShell.cpp V8HiddenValue::setHiddenValue(m_isolate, toInnerGlobalObject(context), V8HiddenValue::document(m_isolate), documentWrapper); context 377 Source/bindings/v8/V8WindowShell.cpp m_scriptState->context()->Global()->ForceDelete(v8AtomicString(m_isolate, "document")); context 401 Source/bindings/v8/V8WindowShell.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 403 Source/bindings/v8/V8WindowShell.cpp context->UseDefaultSecurityToken(); context 410 Source/bindings/v8/V8WindowShell.cpp context->SetSecurityToken(v8AtomicString(m_isolate, utf8Token.data(), utf8Token.length())); context 470 Source/bindings/v8/V8WindowShell.cpp v8::Context::Scope contextScope(m_scriptState->context()); context 489 Source/bindings/v8/V8WindowShell.cpp v8::Context::Scope contextScope(m_scriptState->context()); context 60 Source/bindings/v8/V8WindowShell.h v8::Local<v8::Context> context() const { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); } context 52 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp void V8WorkerGlobalScopeEventListener::handleEvent(ExecutionContext* context, Event* event) context 54 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp if (!context) context 61 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Isolate* isolate = toIsolate(context); context 64 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp WorkerScriptController* script = toWorkerGlobalScope(context)->script(); context 68 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Handle<v8::Context> v8Context = script->context(); context 78 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp invokeEventHandler(context, event, v8::Local<v8::Value>::New(isolate, jsEvent)); context 81 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Value> V8WorkerGlobalScopeEventListener::callListenerFunction(ExecutionContext* context, v8::Handle<v8::Value> jsEvent, Event* event) context 83 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Function> handlerFunction = getListenerFunction(context); context 84 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Object> receiver = getReceiverObject(context, event); context 89 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp if (InspectorInstrumentation::timelineAgentEnabled(context)) { context 99 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp cookie = InspectorInstrumentation::willCallFunction(context, originalFunction->ScriptId(), resourceName, lineNumber); context 102 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Isolate* isolate = toIsolate(context); context 104 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Value> result = V8ScriptRunner::callFunction(handlerFunction, context, receiver, WTF_ARRAY_LENGTH(parameters), parameters, isolate); context 111 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Object> V8WorkerGlobalScopeEventListener::getReceiverObject(ExecutionContext* context, Event* event) context 113 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Local<v8::Object> listener = getListenerObject(context); context 119 Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp v8::Isolate* isolate = toIsolate(context); context 121 Source/bindings/v8/WorkerScriptController.cpp v8::Handle<v8::Context> context = v8::Context::New(m_isolate); context 122 Source/bindings/v8/WorkerScriptController.cpp if (context.IsEmpty()) context 125 Source/bindings/v8/WorkerScriptController.cpp m_scriptState = NewScriptState::create(context, m_world); context 127 Source/bindings/v8/WorkerScriptController.cpp v8::Context::Scope scope(context); context 130 Source/bindings/v8/WorkerScriptController.cpp context->SetEmbedderData(0, v8AtomicString(m_isolate, "worker")); context 148 Source/bindings/v8/WorkerScriptController.cpp v8::Handle<v8::Object> globalObject = v8::Handle<v8::Object>::Cast(m_scriptState->context()->Global()->GetPrototype()); context 161 Source/bindings/v8/WorkerScriptController.cpp v8::Handle<v8::Context> context = m_scriptState->context(); context 163 Source/bindings/v8/WorkerScriptController.cpp context->AllowCodeGenerationFromStrings(false); context 164 Source/bindings/v8/WorkerScriptController.cpp context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, m_disableEvalPending)); context 168 Source/bindings/v8/WorkerScriptController.cpp v8::Context::Scope scope(context); context 95 Source/bindings/v8/WorkerScriptController.h v8::Local<v8::Context> context() { return m_scriptState ? m_scriptState->context() : v8::Local<v8::Context>(); } context 50 Source/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp v8::Handle<v8::Context> v8Context = m_scriptState->context(); context 105 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp ScriptObject context(scriptState, v8::Handle<v8::Object>::Cast(v8Result)); context 106 Source/bindings/v8/custom/V8HTMLCanvasElementCustom.cpp ScriptObject wrapped = InspectorInstrumentation::wrapCanvas2DRenderingContextForInstrumentation(&impl->document(), context); context 61 Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp v8::Local<v8::Context> context = toV8Context(info.GetIsolate(), frame.get(), DOMWrapperWorld::current(info.GetIsolate())); context 63 Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp if (context.IsEmpty()) context 65 Source/bindings/v8/custom/V8HTMLDocumentCustom.cpp v8::Local<v8::Object> global = context->Global(); context 79 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp v8::Local<v8::Context> context = state->context(); context 80 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp v8::Context::Scope contextScope(context); context 256 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp v8::Local<v8::Context> context = toV8Context(executionContext, v8Listener->world()); context 258 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp if (context != isolate->GetCurrentContext()) context 81 Source/bindings/v8/custom/V8InjectedScriptManager.cpp v8::Local<v8::Context> inspectedContext = inspectedScriptState->context(); context 110 Source/bindings/v8/custom/V8InjectedScriptManager.cpp v8::Local<v8::Context> context = scriptState->context(); context 111 Source/bindings/v8/custom/V8InjectedScriptManager.cpp v8::Local<v8::Object> global = context->Global(); context 114 Source/bindings/v8/custom/V8InjectedScriptManager.cpp v8::Handle<v8::Object> holder = V8Window::findInstanceInPrototypeChain(global, context->GetIsolate()); context 119 Source/bindings/v8/custom/V8InjectedScriptManager.cpp v8::Context::Scope contextScope(context); context 45 Source/bindings/v8/custom/V8MessageChannelCustom.cpp ExecutionContext* context = currentExecutionContext(info.GetIsolate()); context 47 Source/bindings/v8/custom/V8MessageChannelCustom.cpp RefPtr<MessageChannel> obj = MessageChannel::create(context); context 60 Source/bindings/v8/custom/V8MutationObserverCustom.cpp ExecutionContext* context = currentExecutionContext(info.GetIsolate()); context 63 Source/bindings/v8/custom/V8MutationObserverCustom.cpp OwnPtr<MutationCallback> callback = V8MutationCallback::create(v8::Handle<v8::Function>::Cast(arg), context, wrapper, info.GetIsolate()); context 212 Source/bindings/v8/custom/V8PromiseCustom.cpp ExecutionContext* context = currentExecutionContext(isolate); context 213 Source/bindings/v8/custom/V8PromiseCustom.cpp if (InspectorInstrumentation::isPromiseTrackerEnabled(context)) context 214 Source/bindings/v8/custom/V8PromiseCustom.cpp InspectorInstrumentation::didUpdatePromiseState(context, ScriptObject(ScriptState::forContext(isolate->GetCurrentContext()), promise), state, ScriptValue(value, isolate)); context 219 Source/bindings/v8/custom/V8PromiseCustom.cpp TaskPerformScopeForInstrumentation(ExecutionContext* context, ExecutionContextTask* task) context 220 Source/bindings/v8/custom/V8PromiseCustom.cpp : m_cookie(InspectorInstrumentation::willPerformPromiseTask(context, task)) context 235 Source/bindings/v8/custom/V8PromiseCustom.cpp CallHandlerTask(v8::Handle<v8::Object> promise, v8::Handle<v8::Function> handler, v8::Handle<v8::Value> argument, V8PromiseCustom::PromiseState originatorState, v8::Isolate* isolate, ExecutionContext* context) context 239 Source/bindings/v8/custom/V8PromiseCustom.cpp , m_requestState(context) context 244 Source/bindings/v8/custom/V8PromiseCustom.cpp InspectorInstrumentation::didPostPromiseTask(context, this, originatorState == V8PromiseCustom::Fulfilled); context 257 Source/bindings/v8/custom/V8PromiseCustom.cpp void CallHandlerTask::performTask(ExecutionContext* context) context 259 Source/bindings/v8/custom/V8PromiseCustom.cpp TaskPerformScopeForInstrumentation performTaskScope(context, this); context 261 Source/bindings/v8/custom/V8PromiseCustom.cpp ASSERT(context); context 262 Source/bindings/v8/custom/V8PromiseCustom.cpp if (context->activeDOMObjectsAreStopped()) context 269 Source/bindings/v8/custom/V8PromiseCustom.cpp v8::Local<v8::Value> value = V8ScriptRunner::callFunction(m_handler.newLocal(isolate), context, v8::Undefined(isolate), WTF_ARRAY_LENGTH(info), info, isolate); context 279 Source/bindings/v8/custom/V8PromiseCustom.cpp UpdateDerivedTask(v8::Handle<v8::Object> promise, v8::Handle<v8::Function> onFulfilled, v8::Handle<v8::Function> onRejected, v8::Handle<v8::Object> originatorValueObject, v8::Isolate* isolate, ExecutionContext* context) context 284 Source/bindings/v8/custom/V8PromiseCustom.cpp , m_requestState(context) context 288 Source/bindings/v8/custom/V8PromiseCustom.cpp InspectorInstrumentation::didPostPromiseTask(context, this, true); context 302 Source/bindings/v8/custom/V8PromiseCustom.cpp void UpdateDerivedTask::performTask(ExecutionContext* context) context 304 Source/bindings/v8/custom/V8PromiseCustom.cpp TaskPerformScopeForInstrumentation performTaskScope(context, this); context 306 Source/bindings/v8/custom/V8PromiseCustom.cpp ASSERT(context); context 307 Source/bindings/v8/custom/V8PromiseCustom.cpp if (context->activeDOMObjectsAreStopped()) context 506 Source/bindings/v8/custom/V8PromiseCustom.cpp ExecutionContext* context = currentExecutionContext(isolate); context 507 Source/bindings/v8/custom/V8PromiseCustom.cpp if (InspectorInstrumentation::isPromiseTrackerEnabled(context)) { context 509 Source/bindings/v8/custom/V8PromiseCustom.cpp InspectorInstrumentation::didUpdatePromiseParent(context, ScriptObject(scriptState, derivedPromise), ScriptObject(scriptState, promise)); context 682 Source/bindings/v8/custom/V8PromiseCustom.cpp ExecutionContext* context = currentExecutionContext(isolate); context 683 Source/bindings/v8/custom/V8PromiseCustom.cpp if (InspectorInstrumentation::isPromiseTrackerEnabled(context)) context 684 Source/bindings/v8/custom/V8PromiseCustom.cpp InspectorInstrumentation::didCreatePromise(context, ScriptObject(ScriptState::forContext(isolate->GetCurrentContext()), promise)); context 279 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 289 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp args = context->getBufferParameter(target, pname); context 292 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp args = context->getRenderbufferParameter(target, pname); context 295 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp args = context->getTexParameter(target, pname); context 299 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp args = context->getVertexAttrib(target, pname); context 327 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 335 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp bool succeed = context->getAttachedShaders(program, shaders); context 375 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 383 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLGetInfo args = context->getFramebufferAttachmentParameter(target, attachment, pname); context 396 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 400 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLGetInfo args = context->getParameter(pname); context 414 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 424 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLGetInfo args = context->getProgramParameter(program, pname); context 444 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 454 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLGetInfo args = context->getShaderParameter(shader, pname); context 489 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 506 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLGetInfo args = context->getUniform(program, location); context 578 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 585 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1fv(location, array); break; context 586 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2fv(location, array); break; context 587 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3fv(location, array); break; context 588 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4fv(location, array); break; context 589 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib1v: context->vertexAttrib1fv(index, array); break; context 590 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib2v: context->vertexAttrib2fv(index, array); break; context 591 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib3v: context->vertexAttrib3fv(index, array); break; context 592 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib4v: context->vertexAttrib4fv(index, array); break; context 615 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1fv(location, data, len); break; context 616 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2fv(location, data, len); break; context 617 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3fv(location, data, len); break; context 618 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4fv(location, data, len); break; context 619 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib1v: context->vertexAttrib1fv(index, data, len); break; context 620 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib2v: context->vertexAttrib2fv(index, data, len); break; context 621 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib3v: context->vertexAttrib3fv(index, data, len); break; context 622 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib4v: context->vertexAttrib4fv(index, data, len); break; context 647 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 660 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1iv(location, array); break; context 661 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2iv(location, array); break; context 662 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3iv(location, array); break; context 663 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4iv(location, array); break; context 686 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1iv(location, data, len); break; context 687 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2iv(location, data, len); break; context 688 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3iv(location, data, len); break; context 689 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4iv(location, data, len); break; context 760 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp WebGLRenderingContext* context = V8WebGLRenderingContext::toNative(info.Holder()); context 776 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 2: context->uniformMatrix2fv(location, transpose, array); break; context 777 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 3: context->uniformMatrix3fv(location, transpose, array); break; context 778 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 4: context->uniformMatrix4fv(location, transpose, array); break; context 801 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 2: context->uniformMatrix2fv(location, transpose, data, len); break; context 802 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 3: context->uniformMatrix3fv(location, transpose, data, len); break; context 803 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 4: context->uniformMatrix4fv(location, transpose, data, len); break; context 85 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Context> context = toV8Context(info.GetIsolate(), impl->frame(), DOMWrapperWorld::current(info.GetIsolate())); context 86 Source/bindings/v8/custom/V8WindowCustom.cpp if (context.IsEmpty()) { context 129 Source/bindings/v8/custom/V8WindowCustom.cpp action = adoptPtr(new ScheduledAction(context, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate())); context 136 Source/bindings/v8/custom/V8WindowCustom.cpp action = adoptPtr(new ScheduledAction(context, functionString, KURL(), info.GetIsolate())); context 166 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Local<v8::Context> context = toV8Context(info.GetIsolate(), frame, DOMWrapperWorld::current(info.GetIsolate())); context 167 Source/bindings/v8/custom/V8WindowCustom.cpp if (context.IsEmpty()) context 170 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Value> jsEvent = V8HiddenValue::getHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(info.GetIsolate())); context 186 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Local<v8::Context> context = toV8Context(info.GetIsolate(), frame, DOMWrapperWorld::current(info.GetIsolate())); context 187 Source/bindings/v8/custom/V8WindowCustom.cpp if (context.IsEmpty()) context 190 Source/bindings/v8/custom/V8WindowCustom.cpp V8HiddenValue::setHiddenValue(info.GetIsolate(), context->Global(), V8HiddenValue::event(info.GetIsolate()), value); context 553 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Context> context = toV8Context(isolate, frame, DOMWrapperWorld::current(isolate)); context 554 Source/bindings/v8/custom/V8WindowCustom.cpp if (context.IsEmpty()) context 557 Source/bindings/v8/custom/V8WindowCustom.cpp v8::Handle<v8::Object> global = context->Global(); context 65 Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp v8::Handle<v8::Context> v8Context = script->context(); context 118 Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp v8::Handle<v8::Object> global = script->context()->Global(); context 56 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ExecutionContext* context = currentExecutionContext(info.GetIsolate()); context 59 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp if (context->isDocument()) { context 65 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp RefPtrWillBeRawPtr<XMLHttpRequest> xmlHttpRequest = XMLHttpRequest::create(context, securityOrigin); context 176 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ExecutionContext* context = currentExecutionContext(info.GetIsolate()); context 177 Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp KURL url = context->completeURL(urlstring); context 242 Source/core/animation/KeyframeEffectModel.cpp void KeyframeEffectModelBase::PropertySpecificKeyframeGroup::addSyntheticKeyframeIfRequired(const KeyframeEffectModelBase* context) context 66 Source/core/animation/KeyframeEffectModel.h void addSyntheticKeyframeIfRequired(const KeyframeEffectModelBase* context); context 74 Source/core/clipboard/DataTransferItem.cpp void DataTransferItem::getAsString(ExecutionContext* context, PassOwnPtr<StringCallback> callback) const context 81 Source/core/clipboard/DataTransferItem.cpp StringCallback::scheduleCallback(callback, context, m_item->getAsString()); context 72 Source/core/css/CSSGroupingRule.cpp CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet)); context 73 Source/core/css/CSSGroupingRule.cpp BisonCSSParser parser(context); context 126 Source/core/css/CSSKeyframesRule.cpp CSSParserContext context(parserContext(), UseCounter::getFrom(styleSheet)); context 127 Source/core/css/CSSKeyframesRule.cpp BisonCSSParser parser(context); context 71 Source/core/css/CSSPageRule.cpp CSSParserContext context(parserContext(), 0); context 72 Source/core/css/CSSPageRule.cpp BisonCSSParser parser(context); context 94 Source/core/css/CSSStyleRule.cpp CSSParserContext context(parserContext(), 0); context 95 Source/core/css/CSSStyleRule.cpp BisonCSSParser p(context); context 306 Source/core/css/CSSStyleSheet.cpp CSSParserContext context(m_contents->parserContext(), UseCounter::getFrom(this)); context 307 Source/core/css/CSSStyleSheet.cpp BisonCSSParser p(context); context 83 Source/core/css/DOMWindowCSS.cpp CSSParserContext context(HTMLStandardMode, 0); context 84 Source/core/css/DOMWindowCSS.cpp BisonCSSParser parser(context); context 47 Source/core/css/ElementRuleCollector.cpp ElementRuleCollector::ElementRuleCollector(const ElementResolveContext& context, context 49 Source/core/css/ElementRuleCollector.cpp : m_context(context) context 54 Source/core/css/ElementRuleCollector.cpp , m_canUseFastReject(m_selectorFilter.parentStackIsConsistent(context.parentNode())) context 261 Source/core/css/ElementRuleCollector.cpp SelectorChecker::SelectorCheckingContext context(ruleData.selector(), m_context.element(), SelectorChecker::VisitedMatchEnabled); context 262 Source/core/css/ElementRuleCollector.cpp context.elementStyle = m_style.get(); context 263 Source/core/css/ElementRuleCollector.cpp context.scope = scope; context 264 Source/core/css/ElementRuleCollector.cpp context.pseudoId = m_pseudoStyleRequest.pseudoId; context 265 Source/core/css/ElementRuleCollector.cpp context.scrollbar = m_pseudoStyleRequest.scrollbar; context 266 Source/core/css/ElementRuleCollector.cpp context.scrollbarPart = m_pseudoStyleRequest.scrollbarPart; context 267 Source/core/css/ElementRuleCollector.cpp context.behaviorAtBoundary = behaviorAtBoundary; context 268 Source/core/css/ElementRuleCollector.cpp SelectorChecker::Match match = selectorChecker.match(context, DOMSiblingTraversalStrategy(), result); context 69 Source/core/css/FontFace.cpp static PassOwnPtr<FontFaceReadyPromiseResolver> create(ExecutionContext* context) context 71 Source/core/css/FontFace.cpp return adoptPtr(new FontFaceReadyPromiseResolver(context)); context 92 Source/core/css/FontFace.cpp FontFaceReadyPromiseResolver(ExecutionContext* context) context 94 Source/core/css/FontFace.cpp , m_resolver(ScriptPromiseResolver::create(context)) context 109 Source/core/css/FontFace.cpp static bool initFontFace(FontFace* fontFace, ExecutionContext* context, const AtomicString& family, const Dictionary& descriptors, ExceptionState& exceptionState) context 111 Source/core/css/FontFace.cpp fontFace->setFamily(context, family, exceptionState); context 117 Source/core/css/FontFace.cpp fontFace->setStyle(context, value, exceptionState); context 122 Source/core/css/FontFace.cpp fontFace->setWeight(context, value, exceptionState); context 127 Source/core/css/FontFace.cpp fontFace->setStretch(context, value, exceptionState); context 132 Source/core/css/FontFace.cpp fontFace->setUnicodeRange(context, value, exceptionState); context 137 Source/core/css/FontFace.cpp fontFace->setVariant(context, value, exceptionState); context 142 Source/core/css/FontFace.cpp fontFace->setFeatureSettings(context, value, exceptionState); context 149 Source/core/css/FontFace.cpp PassRefPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, const String& source, const Dictionary& descriptors, ExceptionState& exceptionState) context 151 Source/core/css/FontFace.cpp RefPtrWillBeRawPtr<CSSValue> src = parseCSSValue(toDocument(context), source, CSSPropertySrc); context 158 Source/core/css/FontFace.cpp if (initFontFace(fontFace.get(), context, family, descriptors, exceptionState)) context 159 Source/core/css/FontFace.cpp fontFace->initCSSFontFace(toDocument(context), src); context 163 Source/core/css/FontFace.cpp PassRefPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<ArrayBuffer> source, const Dictionary& descriptors, ExceptionState& exceptionState) context 166 Source/core/css/FontFace.cpp if (initFontFace(fontFace.get(), context, family, descriptors, exceptionState)) context 171 Source/core/css/FontFace.cpp PassRefPtr<FontFace> FontFace::create(ExecutionContext* context, const AtomicString& family, PassRefPtr<ArrayBufferView> source, const Dictionary& descriptors, ExceptionState& exceptionState) context 174 Source/core/css/FontFace.cpp if (initFontFace(fontFace.get(), context, family, descriptors, exceptionState)) context 247 Source/core/css/FontFace.cpp void FontFace::setStyle(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 249 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyFontStyle, exceptionState); context 252 Source/core/css/FontFace.cpp void FontFace::setWeight(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 254 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyFontWeight, exceptionState); context 257 Source/core/css/FontFace.cpp void FontFace::setStretch(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 259 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyFontStretch, exceptionState); context 262 Source/core/css/FontFace.cpp void FontFace::setUnicodeRange(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 264 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyUnicodeRange, exceptionState); context 267 Source/core/css/FontFace.cpp void FontFace::setVariant(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 269 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyFontVariant, exceptionState); context 272 Source/core/css/FontFace.cpp void FontFace::setFeatureSettings(ExecutionContext* context, const String& s, ExceptionState& exceptionState) context 274 Source/core/css/FontFace.cpp setPropertyFromString(toDocument(context), s, CSSPropertyWebkitFontFeatureSettings, exceptionState); context 395 Source/core/css/FontFace.cpp ScriptPromise FontFace::load(ExecutionContext* context) context 397 Source/core/css/FontFace.cpp OwnPtr<FontFaceReadyPromiseResolver> resolver = FontFaceReadyPromiseResolver::create(context); context 404 Source/core/css/FontFace.cpp loadInternal(context); context 408 Source/core/css/FontFace.cpp void FontFace::loadWithCallback(PassRefPtr<LoadFontCallback> callback, ExecutionContext* context) context 410 Source/core/css/FontFace.cpp loadInternal(context); context 419 Source/core/css/FontFace.cpp void FontFace::loadInternal(ExecutionContext* context) context 430 Source/core/css/FontFace.cpp CSSFontSelector* fontSelector = toDocument(context)->styleEngine()->fontSelector(); context 54 Source/core/css/FontFaceSet.cpp static PassRefPtr<LoadFontPromiseResolver> create(FontFaceArray faces, ExecutionContext* context) context 56 Source/core/css/FontFaceSet.cpp return adoptRef(new LoadFontPromiseResolver(faces, context)); context 66 Source/core/css/FontFaceSet.cpp LoadFontPromiseResolver(FontFaceArray faces, ExecutionContext* context) context 70 Source/core/css/FontFaceSet.cpp , m_resolver(ScriptPromiseResolver::create(context)) context 82 Source/core/css/FontFaceSet.cpp void LoadFontPromiseResolver::loadFonts(ExecutionContext* context) context 90 Source/core/css/FontFaceSet.cpp m_fontFaces[i]->loadWithCallback(this, context); context 115 Source/core/css/FontFaceSet.cpp static PassOwnPtr<FontsReadyPromiseResolver> create(ExecutionContext* context) context 117 Source/core/css/FontFaceSet.cpp return adoptPtr(new FontsReadyPromiseResolver(context)); context 129 Source/core/css/FontFaceSet.cpp FontsReadyPromiseResolver(ExecutionContext* context) context 131 Source/core/css/FontFaceSet.cpp , m_resolver(ScriptPromiseResolver::create(context)) context 156 Source/core/css/FontFaceSet.cpp ExecutionContext* context = executionContext(); context 157 Source/core/css/FontFaceSet.cpp return context && toDocument(context)->isActive(); context 33 Source/core/css/MediaQueryListListener.cpp v8::Handle<v8::Context> context = state->context(); context 34 Source/core/css/MediaQueryListListener.cpp if (context.IsEmpty()) context 37 Source/core/css/MediaQueryListListener.cpp v8::Context::Scope scope(context); context 38 Source/core/css/MediaQueryListListener.cpp callback.appendArgument(ScriptValue(toV8(query, v8::Handle<v8::Object>(), context->GetIsolate()), context->GetIsolate())); context 80 Source/core/css/SelectorChecker.cpp Element* SelectorChecker::parentElement(const SelectorCheckingContext& context, bool allowToCrossBoundary) const context 84 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); context 87 Source/core/css/SelectorChecker.cpp if (context.behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) context 88 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); context 90 Source/core/css/SelectorChecker.cpp if ((context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) != SelectorChecker::StaysWithinTreeScope) context 91 Source/core/css/SelectorChecker.cpp return context.element->parentElement(); context 97 Source/core/css/SelectorChecker.cpp if (context.scope && context.scope->treeScope() == context.element->treeScope()) context 98 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); context 100 Source/core/css/SelectorChecker.cpp return context.element->parentElement(); context 103 Source/core/css/SelectorChecker.cpp bool SelectorChecker::scopeContainsLastMatchedElement(const SelectorCheckingContext& context) const context 105 Source/core/css/SelectorChecker.cpp if (!(context.behaviorAtBoundary & SelectorChecker::ScopeContainsLastMatchedElement)) context 108 Source/core/css/SelectorChecker.cpp ASSERT(context.scope); context 110 Source/core/css/SelectorChecker.cpp if (!(context.behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost)) context 111 Source/core/css/SelectorChecker.cpp return context.scope->contains(context.element); context 114 Source/core/css/SelectorChecker.cpp if (context.element == context.scope) context 117 Source/core/css/SelectorChecker.cpp ShadowRoot* root = context.element->containingShadowRoot(); context 122 Source/core/css/SelectorChecker.cpp return root->host() == context.scope; context 125 Source/core/css/SelectorChecker.cpp static inline bool nextSelectorExceedsScope(const SelectorChecker::SelectorCheckingContext& context) context 127 Source/core/css/SelectorChecker.cpp if ((context.behaviorAtBoundary & SelectorChecker::BoundaryBehaviorMask) != SelectorChecker::StaysWithinTreeScope) context 128 Source/core/css/SelectorChecker.cpp return context.element == context.scope; context 130 Source/core/css/SelectorChecker.cpp if (context.scope && context.scope->isInShadowTree()) context 131 Source/core/css/SelectorChecker.cpp return context.element == context.scope->containingShadowRoot()->host(); context 142 Source/core/css/SelectorChecker.cpp SelectorChecker::Match SelectorChecker::match(const SelectorCheckingContext& context, const SiblingTraversalStrategy& siblingTraversalStrategy, MatchResult* result) const context 146 Source/core/css/SelectorChecker.cpp if (!checkOne(context, siblingTraversalStrategy, &specificity)) context 149 Source/core/css/SelectorChecker.cpp if (context.selector->m_match == CSSSelector::PseudoElement) { context 150 Source/core/css/SelectorChecker.cpp if (context.selector->isCustomPseudoElement()) { context 151 Source/core/css/SelectorChecker.cpp if (!matchesCustomPseudoElement(context.element, *context.selector)) context 153 Source/core/css/SelectorChecker.cpp } else if (context.selector->isContentPseudoElement()) { context 154 Source/core/css/SelectorChecker.cpp if (!context.element->isInShadowTree() || !context.element->isInsertionPoint()) context 156 Source/core/css/SelectorChecker.cpp } else if (context.selector->isShadowPseudoElement()) { context 157 Source/core/css/SelectorChecker.cpp if (!context.element->isInShadowTree()) context 160 Source/core/css/SelectorChecker.cpp if ((!context.elementStyle && m_mode == ResolvingStyle) || m_mode == QueryingRules) context 163 Source/core/css/SelectorChecker.cpp PseudoId pseudoId = CSSSelector::pseudoId(context.selector->pseudoType()); context 165 Source/core/css/SelectorChecker.cpp context.element->document().styleEngine()->setUsesFirstLetterRules(true); context 172 Source/core/css/SelectorChecker.cpp const CSSSelector* historySelector = context.selector->tagHistory(); context 174 Source/core/css/SelectorChecker.cpp if (scopeContainsLastMatchedElement(context)) { context 183 Source/core/css/SelectorChecker.cpp if (context.selector->relation() != CSSSelector::SubSelector) { context 185 Source/core/css/SelectorChecker.cpp if (nextSelectorExceedsScope(context)) context 189 Source/core/css/SelectorChecker.cpp if (context.pseudoId != NOPSEUDO && (!result || context.pseudoId != result->dynamicPseudo)) context 194 Source/core/css/SelectorChecker.cpp match = matchForRelation(context, siblingTraversalStrategy, result); context 196 Source/core/css/SelectorChecker.cpp return matchForRelation(context, siblingTraversalStrategy, 0); context 199 Source/core/css/SelectorChecker.cpp match = matchForSubSelector(context, siblingTraversalStrategy, result); context 208 Source/core/css/SelectorChecker.cpp static inline SelectorChecker::SelectorCheckingContext prepareNextContextForRelation(const SelectorChecker::SelectorCheckingContext& context) context 210 Source/core/css/SelectorChecker.cpp SelectorChecker::SelectorCheckingContext nextContext(context); context 211 Source/core/css/SelectorChecker.cpp ASSERT(context.selector->tagHistory()); context 212 Source/core/css/SelectorChecker.cpp nextContext.selector = context.selector->tagHistory(); context 222 Source/core/css/SelectorChecker.cpp SelectorChecker::Match SelectorChecker::matchForSubSelector(const SelectorCheckingContext& context, const SiblingTraversalStrategy& siblingTraversalStrategy, MatchResult* result) const context 224 Source/core/css/SelectorChecker.cpp SelectorCheckingContext nextContext = prepareNextContextForRelation(context); context 230 Source/core/css/SelectorChecker.cpp nextContext.hasScrollbarPseudo = dynamicPseudo != NOPSEUDO && (context.scrollbar || dynamicPseudo == SCROLLBAR_CORNER || dynamicPseudo == RESIZER); context 232 Source/core/css/SelectorChecker.cpp if ((context.elementStyle || m_mode == CollectingCSSRules || m_mode == CollectingStyleRules || m_mode == QueryingRules) && dynamicPseudo != NOPSEUDO context 247 Source/core/css/SelectorChecker.cpp SelectorChecker::Match SelectorChecker::matchForPseudoShadow(const ContainerNode* node, const SelectorCheckingContext& context, const SiblingTraversalStrategy& siblingTraversalStrategy, MatchResult* result) const context 251 Source/core/css/SelectorChecker.cpp return match(context, siblingTraversalStrategy, result); context 255 Source/core/css/SelectorChecker.cpp SelectorChecker::Match SelectorChecker::matchForRelation(const SelectorCheckingContext& context, const SiblingTraversalStrategy& siblingTraversalStrategy, MatchResult* result) const context 257 Source/core/css/SelectorChecker.cpp SelectorCheckingContext nextContext = prepareNextContextForRelation(context); context 259 Source/core/css/SelectorChecker.cpp CSSSelector::Relation relation = context.selector->relation(); context 262 Source/core/css/SelectorChecker.cpp if (!context.isSubSelector && (context.element->isLink() || (relation != CSSSelector::Descendant && relation != CSSSelector::Child))) context 269 Source/core/css/SelectorChecker.cpp if (context.selector->relationIsAffectedByPseudoContent()) { context 270 Source/core/css/SelectorChecker.cpp for (Element* element = context.element; element; element = element->parentElement()) { context 280 Source/core/css/SelectorChecker.cpp return matchForPseudoShadow(context.element->containingShadowRoot(), nextContext, siblingTraversalStrategy, result); context 282 Source/core/css/SelectorChecker.cpp for (nextContext.element = parentElement(context); nextContext.element; nextContext.element = parentElement(nextContext)) { context 292 Source/core/css/SelectorChecker.cpp if (context.selector->relationIsAffectedByPseudoContent()) context 293 Source/core/css/SelectorChecker.cpp return matchForShadowDistributed(context.element, siblingTraversalStrategy, nextContext, result); context 299 Source/core/css/SelectorChecker.cpp return matchForPseudoShadow(context.element->parentNode(), nextContext, siblingTraversalStrategy, result); context 301 Source/core/css/SelectorChecker.cpp nextContext.element = parentElement(context); context 308 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = context.element->parentElementOrShadowRoot()) context 311 Source/core/css/SelectorChecker.cpp nextContext.element = ElementTraversal::previousSibling(*context.element); context 320 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = context.element->parentElementOrShadowRoot()) context 323 Source/core/css/SelectorChecker.cpp nextContext.element = ElementTraversal::previousSibling(*context.element); context 336 Source/core/css/SelectorChecker.cpp if (context.scope && context.scope->treeScope() == context.element->treeScope() && (context.behaviorAtBoundary & BoundaryBehaviorMask) != StaysWithinTreeScope) context 339 Source/core/css/SelectorChecker.cpp Element* shadowHost = context.element->shadowHost(); context 352 Source/core/css/SelectorChecker.cpp for (nextContext.element = parentElement(context, true); nextContext.element; nextContext.element = parentElement(nextContext, true)) { context 512 Source/core/css/SelectorChecker.cpp bool SelectorChecker::checkOne(const SelectorCheckingContext& context, const SiblingTraversalStrategy& siblingTraversalStrategy, unsigned* specificity) const context 514 Source/core/css/SelectorChecker.cpp ASSERT(context.element); context 515 Source/core/css/SelectorChecker.cpp Element& element = *context.element; context 516 Source/core/css/SelectorChecker.cpp ASSERT(context.selector); context 517 Source/core/css/SelectorChecker.cpp const CSSSelector& selector = *context.selector; context 519 Source/core/css/SelectorChecker.cpp bool elementIsHostInItsShadowTree = isHostInItsShadowTree(element, context.behaviorAtBoundary, context.scope); context 542 Source/core/css/SelectorChecker.cpp SelectorCheckingContext subContext(context); context 560 Source/core/css/SelectorChecker.cpp } else if (context.hasScrollbarPseudo) { context 563 Source/core/css/SelectorChecker.cpp return checkScrollbarPseudoClass(context, &element.document(), selector); context 564 Source/core/css/SelectorChecker.cpp } else if (context.hasSelectionPseudo) { context 592 Source/core/css/SelectorChecker.cpp if (context.elementStyle) context 593 Source/core/css/SelectorChecker.cpp context.elementStyle->setEmptyState(result); context 604 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); context 626 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); context 649 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); context 678 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); context 734 Source/core/css/SelectorChecker.cpp SelectorCheckingContext subContext(context); context 753 Source/core/css/SelectorChecker.cpp return element.isLink() && context.visitedMatchType == VisitedMatchEnabled; context 756 Source/core/css/SelectorChecker.cpp if (context.elementStyle) context 757 Source/core/css/SelectorChecker.cpp context.elementStyle->setAffectedByDrag(); context 766 Source/core/css/SelectorChecker.cpp if (context.elementStyle) context 767 Source/core/css/SelectorChecker.cpp context.elementStyle->setAffectedByFocus(); context 775 Source/core/css/SelectorChecker.cpp if (m_strictParsing || context.isSubSelector || (selector.m_match == CSSSelector::Tag && selector.tagQName() != anyQName() && !isHTMLAnchorElement(element)) || element.isLink()) { context 777 Source/core/css/SelectorChecker.cpp if (context.elementStyle) context 778 Source/core/css/SelectorChecker.cpp context.elementStyle->setAffectedByHover(); context 789 Source/core/css/SelectorChecker.cpp if (m_strictParsing || context.isSubSelector || (selector.m_match == CSSSelector::Tag && selector.tagQName() != anyQName() && !isHTMLAnchorElement(element)) || element.isLink()) { context 791 Source/core/css/SelectorChecker.cpp if (context.elementStyle) context 792 Source/core/css/SelectorChecker.cpp context.elementStyle->setAffectedByActive(); context 898 Source/core/css/SelectorChecker.cpp const Node* contextualReferenceNode = !context.scope ? element.document().documentElement() : context.scope; context 915 Source/core/css/SelectorChecker.cpp if (!context.scope) context 917 Source/core/css/SelectorChecker.cpp const ContainerNode* shadowHost = (context.behaviorAtBoundary & ScopeIsShadowHost) ? context.scope : (context.scope->isInShadowTree() ? context.scope->shadowHost() : 0); context 926 Source/core/css/SelectorChecker.cpp SelectorCheckingContext subContext(context); context 986 Source/core/css/SelectorChecker.cpp SelectorCheckingContext subContext(context); context 990 Source/core/css/SelectorChecker.cpp const CSSSelector* contextSelector = context.selector; context 1002 Source/core/css/SelectorChecker.cpp bool SelectorChecker::checkScrollbarPseudoClass(const SelectorCheckingContext& context, Document* document, const CSSSelector& selector) const context 1004 Source/core/css/SelectorChecker.cpp RenderScrollbar* scrollbar = context.scrollbar; context 1005 Source/core/css/SelectorChecker.cpp ScrollbarPart part = context.scrollbarPart; context 344 Source/core/css/StylePropertySet.cpp CSSParserContext context(cssParserMode(), UseCounter::getFrom(contextStyleSheet)); context 346 Source/core/css/StylePropertySet.cpp context = contextStyleSheet->parserContext(); context 347 Source/core/css/StylePropertySet.cpp context.setMode(cssParserMode()); context 350 Source/core/css/StylePropertySet.cpp BisonCSSParser parser(context); context 75 Source/core/css/StyleRuleImport.cpp CSSParserContext context = m_parentStyleSheet ? m_parentStyleSheet->parserContext() : strictCSSParserContext(); context 76 Source/core/css/StyleRuleImport.cpp context.setCharset(charset); context 78 Source/core/css/StyleRuleImport.cpp context.setBaseURL(baseURL); context 80 Source/core/css/StyleRuleImport.cpp m_styleSheet = StyleSheetContents::create(this, href, context); context 59 Source/core/css/StyleSheetContents.cpp StyleSheetContents::StyleSheetContents(StyleRuleImport* ownerRule, const String& originalURL, const CSSParserContext& context) context 70 Source/core/css/StyleSheetContents.cpp , m_parserContext(context) context 329 Source/core/css/StyleSheetContents.cpp CSSParserContext context(parserContext(), UseCounter::getFrom(this)); context 330 Source/core/css/StyleSheetContents.cpp BisonCSSParser p(context); context 352 Source/core/css/StyleSheetContents.cpp CSSParserContext context(parserContext(), UseCounter::getFrom(this)); context 353 Source/core/css/StyleSheetContents.cpp BisonCSSParser p(context); context 50 Source/core/css/StyleSheetContents.h static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const CSSParserContext& context) context 52 Source/core/css/StyleSheetContents.h return adoptRefWillBeNoop(new StyleSheetContents(0, String(), context)); context 54 Source/core/css/StyleSheetContents.h static PassRefPtrWillBeRawPtr<StyleSheetContents> create(const String& originalURL, const CSSParserContext& context) context 56 Source/core/css/StyleSheetContents.h return adoptRefWillBeNoop(new StyleSheetContents(0, originalURL, context)); context 58 Source/core/css/StyleSheetContents.h static PassRefPtrWillBeRawPtr<StyleSheetContents> create(StyleRuleImport* ownerRule, const String& originalURL, const CSSParserContext& context) context 60 Source/core/css/StyleSheetContents.h return adoptRefWillBeNoop(new StyleSheetContents(ownerRule, originalURL, context)); context 108 Source/core/css/parser/BisonCSSParser-in.cpp BisonCSSParser::BisonCSSParser(const CSSParserContext& context) context 109 Source/core/css/parser/BisonCSSParser-in.cpp : m_context(context) context 1024 Source/core/css/parser/BisonCSSParser-in.cpp CSSParserContext context(document, UseCounter::getFrom(&document)); context 1026 Source/core/css/parser/BisonCSSParser-in.cpp if (parseSimpleLengthValue(declaration, propertyID, string, important, context.mode())) context 1028 Source/core/css/parser/BisonCSSParser-in.cpp if (parseColorValue(declaration, propertyID, string, important, context.mode())) context 1030 Source/core/css/parser/BisonCSSParser-in.cpp if (parseKeywordValue(declaration, propertyID, string, important, context)) context 1033 Source/core/css/parser/BisonCSSParser-in.cpp BisonCSSParser parser(context); context 1045 Source/core/css/parser/BisonCSSParser-in.cpp CSSParserContext context(cssParserMode, 0); context 1047 Source/core/css/parser/BisonCSSParser-in.cpp context = contextStyleSheet->parserContext(); context 1048 Source/core/css/parser/BisonCSSParser-in.cpp context.setMode(cssParserMode); context 1051 Source/core/css/parser/BisonCSSParser-in.cpp if (parseKeywordValue(declaration, propertyID, string, important, context)) context 1056 Source/core/css/parser/BisonCSSParser-in.cpp BisonCSSParser parser(context); context 1156 Source/core/css/parser/BisonCSSParser-in.cpp CSSParserContext context = CSSParserContext(document.elementSheet().contents()->parserContext(), UseCounter::getFrom(&document)); context 1157 Source/core/css/parser/BisonCSSParser-in.cpp context.setMode((element->isHTMLElement() && !document.inQuirksMode()) ? HTMLStandardMode : HTMLQuirksMode); context 1158 Source/core/css/parser/BisonCSSParser-in.cpp return BisonCSSParser(context).parseDeclaration(string, document.elementSheet().contents()); context 171 Source/core/css/parser/CSSPropertyParser.cpp const CSSParserContext& context, bool inViewport, bool savedImportant, context 174 Source/core/css/parser/CSSPropertyParser.cpp , m_context(context) context 1222 Source/core/css/parser/CSSPropertyParser.cpp AnimationParseContext context; context 1223 Source/core/css/parser/CSSPropertyParser.cpp if (parseAnimationProperty(propId, val, context)) { context 1873 Source/core/css/parser/CSSPropertyParser.cpp AnimationParseContext context; context 1893 Source/core/css/parser/CSSPropertyParser.cpp context.commitFirstAnimation(); context 1900 Source/core/css/parser/CSSPropertyParser.cpp if (parseAnimationProperty(animationProperties.properties()[i], val, context)) { context 1937 Source/core/css/parser/CSSPropertyParser.cpp AnimationParseContext context; context 1957 Source/core/css/parser/CSSPropertyParser.cpp context.commitFirstAnimation(); context 1964 Source/core/css/parser/CSSPropertyParser.cpp if (parseAnimationProperty(shorthand.properties()[i], val, context)) { context 1970 Source/core/css/parser/CSSPropertyParser.cpp if (!context.animationPropertyKeywordAllowed() && context.hasCommittedFirstAnimation()) context 3110 Source/core/css/parser/CSSPropertyParser.cpp PassRefPtrWillBeRawPtr<CSSValue> CSSPropertyParser::parseAnimationProperty(AnimationParseContext& context) context 3119 Source/core/css/parser/CSSPropertyParser.cpp context.sawAnimationPropertyKeyword(); context 3123 Source/core/css/parser/CSSPropertyParser.cpp context.commitAnimationPropertyKeyword(); context 3124 Source/core/css/parser/CSSPropertyParser.cpp context.sawAnimationPropertyKeyword(); context 3246 Source/core/css/parser/CSSPropertyParser.cpp bool CSSPropertyParser::parseAnimationProperty(CSSPropertyID propId, RefPtrWillBeRawPtr<CSSValue>& result, AnimationParseContext& context) context 3313 Source/core/css/parser/CSSPropertyParser.cpp currValue = parseAnimationProperty(context); context 3314 Source/core/css/parser/CSSPropertyParser.cpp if (value && !context.animationPropertyKeywordAllowed()) context 5518 Source/core/css/parser/CSSPropertyParser.cpp ShadowParseContext context(propId, this); context 5523 Source/core/css/parser/CSSPropertyParser.cpp if (val->iValue != ',' || !context.allowBreak) { context 5529 Source/core/css/parser/CSSPropertyParser.cpp context.commitValue(); context 5532 Source/core/css/parser/CSSPropertyParser.cpp if (!context.allowLength()) context 5536 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowBlur && !validUnit(val, FLength | FNonNeg, HTMLStandardMode)) context 5540 Source/core/css/parser/CSSPropertyParser.cpp context.commitLength(val); context 5542 Source/core/css/parser/CSSPropertyParser.cpp if (!context.allowStyle) context 5545 Source/core/css/parser/CSSPropertyParser.cpp context.commitStyle(val); context 5553 Source/core/css/parser/CSSPropertyParser.cpp if (!context.allowColor) context 5562 Source/core/css/parser/CSSPropertyParser.cpp if (!parsedColor || !context.allowColor) context 5566 Source/core/css/parser/CSSPropertyParser.cpp context.commitColor(parsedColor.release()); context 5572 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowBreak) { context 5573 Source/core/css/parser/CSSPropertyParser.cpp context.commitValue(); context 5574 Source/core/css/parser/CSSPropertyParser.cpp if (context.values && context.values->length()) context 5575 Source/core/css/parser/CSSPropertyParser.cpp return context.values.release(); context 5819 Source/core/css/parser/CSSPropertyParser.cpp bool BorderImageParseContext::buildFromParser(CSSPropertyParser& parser, CSSPropertyID propId, BorderImageParseContext& context) context 5823 Source/core/css/parser/CSSPropertyParser.cpp context.setCanAdvance(false); context 5825 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.allowForwardSlashOperator() && isForwardSlashOperator(val)) context 5826 Source/core/css/parser/CSSPropertyParser.cpp context.commitForwardSlashOperator(); context 5828 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.allowImage()) { context 5830 Source/core/css/parser/CSSPropertyParser.cpp context.commitImage(CSSImageValue::create(val->string, parser.m_context.completeURL(val->string))); context 5834 Source/core/css/parser/CSSPropertyParser.cpp context.commitImage(value.release()); context 5840 Source/core/css/parser/CSSPropertyParser.cpp context.commitImage(value.release()); context 5844 Source/core/css/parser/CSSPropertyParser.cpp context.commitImage(cssValuePool().createIdentifierValue(CSSValueNone)); context 5847 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.allowImageSlice()) { context 5850 Source/core/css/parser/CSSPropertyParser.cpp context.commitImageSlice(imageSlice.release()); context 5853 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.allowRepeat()) { context 5856 Source/core/css/parser/CSSPropertyParser.cpp context.commitRepeat(repeat.release()); context 5859 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.requireWidth()) { context 5862 Source/core/css/parser/CSSPropertyParser.cpp context.commitBorderWidth(borderSlice.release()); context 5865 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance() && context.requireOutset()) { context 5868 Source/core/css/parser/CSSPropertyParser.cpp context.commitBorderOutset(borderOutset.release()); context 5871 Source/core/css/parser/CSSPropertyParser.cpp if (!context.canAdvance()) context 5877 Source/core/css/parser/CSSPropertyParser.cpp return context.allowCommit(); context 5882 Source/core/css/parser/CSSPropertyParser.cpp BorderImageParseContext context; context 5883 Source/core/css/parser/CSSPropertyParser.cpp if (BorderImageParseContext::buildFromParser(*this, propId, context)) { context 5886 Source/core/css/parser/CSSPropertyParser.cpp context.commitMaskBoxImage(this, important); context 5889 Source/core/css/parser/CSSPropertyParser.cpp context.commitBorderImage(this, important); context 5901 Source/core/css/parser/CSSPropertyParser.cpp BorderImageParseContext context; context 5902 Source/core/css/parser/CSSPropertyParser.cpp if (BorderImageParseContext::buildFromParser(*this, propId, context)) { context 5903 Source/core/css/parser/CSSPropertyParser.cpp return context.commitCSSValue(); context 6025 Source/core/css/parser/CSSPropertyParser.cpp BorderImageSliceParseContext context(this); context 6029 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowNumber() && !isCalculation(val) && validUnit(val, FInteger | FNonNeg | FPercent, HTMLStandardMode)) { context 6030 Source/core/css/parser/CSSPropertyParser.cpp context.commitNumber(val); context 6031 Source/core/css/parser/CSSPropertyParser.cpp } else if (context.allowFill() && val->id == CSSValueFill) context 6032 Source/core/css/parser/CSSPropertyParser.cpp context.commitFill(); context 6037 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowFinalCommit()) { context 6046 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowFinalCommit()) { context 6050 Source/core/css/parser/CSSPropertyParser.cpp context.commitFill(); context 6053 Source/core/css/parser/CSSPropertyParser.cpp result = context.commitBorderImageSlice(); context 6140 Source/core/css/parser/CSSPropertyParser.cpp BorderImageQuadParseContext context(this); context 6143 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowNumber() && (validUnit(val, validUnits, HTMLStandardMode) || val->id == CSSValueAuto)) { context 6144 Source/core/css/parser/CSSPropertyParser.cpp context.commitNumber(val); context 6149 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowFinalCommit()) context 6156 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowFinalCommit()) { context 6158 Source/core/css/parser/CSSPropertyParser.cpp result = context.commitBorderImageQuad(); context 43 Source/core/css/resolver/SharedStyleFinder.h SharedStyleFinder(const ElementResolveContext& context, context 51 Source/core/css/resolver/SharedStyleFinder.h , m_context(context) context 65 Source/core/dom/ActiveDOMObject.cpp if (ExecutionContext* context = executionContext()) context 66 Source/core/dom/ActiveDOMObject.cpp context->suspendActiveDOMObjectIfNeeded(this); context 90 Source/core/dom/ActiveDOMObject.cpp void ActiveDOMObject::didMoveToNewExecutionContext(ExecutionContext* context) context 92 Source/core/dom/ActiveDOMObject.cpp observeContext(context); context 94 Source/core/dom/ActiveDOMObject.cpp if (context->activeDOMObjectsAreStopped()) { context 99 Source/core/dom/ActiveDOMObject.cpp if (context->activeDOMObjectsAreSuspended()) { context 44 Source/core/dom/ActiveDOMObjectTest.cpp MockActiveDOMObject(ExecutionContext* context) : ActiveDOMObject(context) { } context 34 Source/core/dom/AddConsoleMessageTask.cpp void AddConsoleMessageTask::performTask(ExecutionContext* context) context 36 Source/core/dom/AddConsoleMessageTask.cpp context->addConsoleMessage(m_source, m_level, m_message); context 643 Source/core/dom/ContainerNode.cpp void ContainerNode::attach(const AttachContext& context) context 645 Source/core/dom/ContainerNode.cpp attachChildren(context); context 647 Source/core/dom/ContainerNode.cpp Node::attach(context); context 650 Source/core/dom/ContainerNode.cpp void ContainerNode::detach(const AttachContext& context) context 652 Source/core/dom/ContainerNode.cpp detachChildren(context); context 654 Source/core/dom/ContainerNode.cpp Node::detach(context); context 253 Source/core/dom/ContainerNode.h inline void ContainerNode::attachChildren(const AttachContext& context) context 255 Source/core/dom/ContainerNode.h AttachContext childrenContext(context); context 265 Source/core/dom/ContainerNode.h inline void ContainerNode::detachChildren(const AttachContext& context) context 267 Source/core/dom/ContainerNode.h AttachContext childrenContext(context); context 36 Source/core/dom/ContextLifecycleNotifier.cpp ContextLifecycleNotifier::ContextLifecycleNotifier(ExecutionContext* context) context 37 Source/core/dom/ContextLifecycleNotifier.cpp : LifecycleNotifier<ExecutionContext>(context) context 72 Source/core/dom/ContextLifecycleNotifier.cpp ASSERT((*iter)->executionContext() == context()); context 83 Source/core/dom/ContextLifecycleNotifier.cpp ASSERT((*iter)->executionContext() == context()); context 94 Source/core/dom/ContextLifecycleNotifier.cpp ASSERT((*iter)->executionContext() == context()); context 105 Source/core/dom/ContextLifecycleNotifier.cpp ASSERT((*iter)->executionContext() == context()); context 69 Source/core/dom/ContextLifecycleNotifier.h inline PassOwnPtr<ContextLifecycleNotifier> ContextLifecycleNotifier::create(ExecutionContext* context) context 71 Source/core/dom/ContextLifecycleNotifier.h return adoptPtr(new ContextLifecycleNotifier(context)); context 34 Source/core/dom/ContextLifecycleObserver.cpp template<> void observerContext(ExecutionContext* context, LifecycleObserver<ExecutionContext>* observer) context 36 Source/core/dom/ContextLifecycleObserver.cpp context->wasObservedBy(observer); context 39 Source/core/dom/ContextLifecycleObserver.cpp template<> void unobserverContext(ExecutionContext* context, LifecycleObserver<ExecutionContext>* observer) context 41 Source/core/dom/ContextLifecycleObserver.cpp context->wasUnobservedBy(observer); context 79 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 81 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1); context 110 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 112 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2); context 144 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 146 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3); context 181 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 183 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3, m_parameter4); context 221 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 223 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3, m_parameter4, m_parameter5); context 264 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 266 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3, m_parameter4, m_parameter5, m_parameter6); context 310 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 312 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3, m_parameter4, m_parameter5, m_parameter6, m_parameter7); context 359 Source/core/dom/CrossThreadTask.h virtual void performTask(ExecutionContext* context) context 361 Source/core/dom/CrossThreadTask.h (*m_method)(context, m_parameter1, m_parameter2, m_parameter3, m_parameter4, m_parameter5, m_parameter6, m_parameter7, m_parameter8); context 360 Source/core/dom/Document.cpp virtual void performTask(ExecutionContext* context) OVERRIDE context 362 Source/core/dom/Document.cpp Document* document = toDocument(context); context 2074 Source/core/dom/Document.cpp void Document::attach(const AttachContext& context) context 2086 Source/core/dom/Document.cpp ContainerNode::attach(context); context 2095 Source/core/dom/Document.cpp void Document::detach(const AttachContext& context) context 2145 Source/core/dom/Document.cpp ContainerNode::detach(context); context 4759 Source/core/dom/Document.cpp CanvasRenderingContext* context = element.getContext(type); context 4760 Source/core/dom/Document.cpp if (!context) context 4763 Source/core/dom/Document.cpp if (context->is2d()) { context 4765 Source/core/dom/Document.cpp context2d = toCanvasRenderingContext2D(context); context 4766 Source/core/dom/Document.cpp } else if (context->is3d()) { context 4768 Source/core/dom/Document.cpp context3d = toWebGLRenderingContext(context); context 1407 Source/core/dom/Document.h DEFINE_TYPE_CASTS(Document, ExecutionContext, context, context->isDocument(), context.isDocument()); context 34 Source/core/dom/DocumentLifecycleObserver.cpp template<> void observerContext(Document* context, LifecycleObserver<Document>* observer) context 36 Source/core/dom/DocumentLifecycleObserver.cpp static_cast<LifecycleContext<Document>*>(context)->wasObservedBy(observer); context 39 Source/core/dom/DocumentLifecycleObserver.cpp template<> void unobserverContext(Document* context, LifecycleObserver<Document>* observer) context 41 Source/core/dom/DocumentLifecycleObserver.cpp static_cast<LifecycleContext<Document>*>(context)->wasUnobservedBy(observer); context 1364 Source/core/dom/Element.cpp void Element::attach(const AttachContext& context) context 1375 Source/core/dom/Element.cpp if (!context.resolvedStyle) context 1379 Source/core/dom/Element.cpp RenderTreeBuilder(this, context.resolvedStyle).createRendererForElementIfNeeded(); context 1389 Source/core/dom/Element.cpp shadow->attach(context); context 1391 Source/core/dom/Element.cpp ContainerNode::attach(context); context 1414 Source/core/dom/Element.cpp void Element::detach(const AttachContext& context) context 1433 Source/core/dom/Element.cpp if (context.performingReattach) { context 1447 Source/core/dom/Element.cpp shadow->detach(context); context 1449 Source/core/dom/Element.cpp ContainerNode::detach(context); context 64 Source/core/dom/MainThreadTaskRunner.cpp MainThreadTaskRunner::MainThreadTaskRunner(ExecutionContext* context) context 65 Source/core/dom/MainThreadTaskRunner.cpp : m_context(context) context 70 Source/core/dom/MainThreadTaskRunner.h inline PassOwnPtr<MainThreadTaskRunner> MainThreadTaskRunner::create(ExecutionContext* context) context 72 Source/core/dom/MainThreadTaskRunner.h return adoptPtr(new MainThreadTaskRunner(context)); context 88 Source/core/dom/MainThreadTaskRunnerTest.cpp virtual void performTask(ExecutionContext* context) OVERRIDE context 98 Source/core/dom/MainThreadTaskRunnerTest.cpp RefPtr<NullExecutionContext> context = adoptRef(new NullExecutionContext()); context 99 Source/core/dom/MainThreadTaskRunnerTest.cpp OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); context 110 Source/core/dom/MainThreadTaskRunnerTest.cpp RefPtr<NullExecutionContext> context = adoptRef(new NullExecutionContext()); context 111 Source/core/dom/MainThreadTaskRunnerTest.cpp OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); context 114 Source/core/dom/MainThreadTaskRunnerTest.cpp context->setTasksNeedSuspention(true); context 120 Source/core/dom/MainThreadTaskRunnerTest.cpp context->setTasksNeedSuspention(false); context 128 Source/core/dom/MainThreadTaskRunnerTest.cpp RefPtr<NullExecutionContext> context = adoptRef(new NullExecutionContext()); context 129 Source/core/dom/MainThreadTaskRunnerTest.cpp OwnPtr<MainThreadTaskRunner> runner = MainThreadTaskRunner::create(context.get()); context 132 Source/core/dom/MainThreadTaskRunnerTest.cpp context->setTasksNeedSuspention(true); context 51 Source/core/dom/MessageChannel.cpp MessageChannel::MessageChannel(ExecutionContext* context) context 52 Source/core/dom/MessageChannel.cpp : m_port1(MessagePort::create(*context)) context 53 Source/core/dom/MessageChannel.cpp , m_port2(MessagePort::create(*context)) context 42 Source/core/dom/MessageChannel.h static PassRefPtr<MessageChannel> create(ExecutionContext* context) { return adoptRef(new MessageChannel(context)); } context 106 Source/core/dom/MessagePort.cpp PassOwnPtr<MessagePortArray> MessagePort::toMessagePortArray(ExecutionContext* context, const blink::WebMessagePortChannelArray& webChannels) context 113 Source/core/dom/MessagePort.cpp ports = MessagePort::entanglePorts(*context, channels.release()); context 245 Source/core/dom/MessagePort.cpp PassOwnPtr<MessagePortArray> MessagePort::entanglePorts(ExecutionContext& context, PassOwnPtr<MessagePortChannelArray> channels) context 252 Source/core/dom/MessagePort.cpp RefPtr<MessagePort> port = MessagePort::create(context); context 50 Source/core/dom/Microtask.cpp v8::Local<v8::Context> context = isolateData->ensureDomInJSContext(); context 51 Source/core/dom/Microtask.cpp v8::Context::Scope scope(context); context 72 Source/core/dom/Microtask.cpp v8::Local<v8::Context> context = isolateData->ensureDomInJSContext(); context 73 Source/core/dom/Microtask.cpp v8::Context::Scope scope(context); context 945 Source/core/dom/Node.cpp void Node::reattach(const AttachContext& context) context 947 Source/core/dom/Node.cpp AttachContext reattachContext(context); context 977 Source/core/dom/Node.cpp void Node::detach(const AttachContext& context) context 990 Source/core/dom/Node.cpp if (!context.performingReattach) { context 1350 Source/core/dom/Node.cpp const Element* context; context 1354 Source/core/dom/Node.cpp context = toElement(this); context 1357 Source/core/dom/Node.cpp context = toDocument(this)->documentElement(); context 1361 Source/core/dom/Node.cpp context = 0; context 1365 Source/core/dom/Node.cpp context = toAttr(this)->ownerElement(); context 1368 Source/core/dom/Node.cpp context = parentElement(); context 1372 Source/core/dom/Node.cpp if (!context) context 1375 Source/core/dom/Node.cpp return context->locateNamespacePrefix(namespaceURI); context 862 Source/core/dom/Node.h AttachContext context; context 863 Source/core/dom/Node.h context.performingReattach = true; context 865 Source/core/dom/Node.h detach(context); context 86 Source/core/dom/PseudoElement.cpp void PseudoElement::attach(const AttachContext& context) context 90 Source/core/dom/PseudoElement.cpp Element::attach(context); context 67 Source/core/dom/StringCallback.cpp void StringCallback::scheduleCallback(PassOwnPtr<StringCallback> callback, ExecutionContext* context, const String& data) context 69 Source/core/dom/StringCallback.cpp context->postTask(DispatchCallbackTask::create(callback, data)); context 309 Source/core/dom/Text.cpp void Text::attach(const AttachContext& context) context 311 Source/core/dom/Text.cpp RenderTreeBuilder(this, context.resolvedStyle).createRendererForTextIfNeeded(); context 312 Source/core/dom/Text.cpp CharacterData::attach(context); context 39 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp PassOwnPtr<CustomElementMicrotaskResolutionStep> CustomElementMicrotaskResolutionStep::create(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) context 41 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp return adoptPtr(new CustomElementMicrotaskResolutionStep(context, element, descriptor)); context 44 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp CustomElementMicrotaskResolutionStep::CustomElementMicrotaskResolutionStep(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) context 45 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp : m_context(context) context 144 Source/core/dom/custom/CustomElementRegistrationContext.cpp if (CustomElementRegistrationContext* context = element->document().registrationContext()) context 145 Source/core/dom/custom/CustomElementRegistrationContext.cpp context->didGiveTypeExtension(element, type); context 69 Source/core/dom/custom/CustomElementScheduler.cpp void CustomElementScheduler::resolveOrScheduleResolution(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) context 72 Source/core/dom/custom/CustomElementScheduler.cpp context->resolve(element.get(), descriptor); context 77 Source/core/dom/custom/CustomElementScheduler.cpp OwnPtr<CustomElementMicrotaskResolutionStep> step = CustomElementMicrotaskResolutionStep::create(context, element, descriptor); context 185 Source/core/dom/shadow/ElementShadow.cpp void ElementShadow::attach(const Node::AttachContext& context) context 187 Source/core/dom/shadow/ElementShadow.cpp Node::AttachContext childrenContext(context); context 196 Source/core/dom/shadow/ElementShadow.cpp void ElementShadow::detach(const Node::AttachContext& context) context 198 Source/core/dom/shadow/ElementShadow.cpp Node::AttachContext childrenContext(context); context 98 Source/core/dom/shadow/InsertionPoint.cpp void InsertionPoint::attach(const AttachContext& context) context 106 Source/core/dom/shadow/InsertionPoint.cpp m_distribution.at(i)->attach(context); context 109 Source/core/dom/shadow/InsertionPoint.cpp HTMLElement::attach(context); context 112 Source/core/dom/shadow/InsertionPoint.cpp void InsertionPoint::detach(const AttachContext& context) context 117 Source/core/dom/shadow/InsertionPoint.cpp HTMLElement::detach(context); context 196 Source/core/dom/shadow/ShadowRoot.cpp void ShadowRoot::attach(const AttachContext& context) context 199 Source/core/dom/shadow/ShadowRoot.cpp DocumentFragment::attach(context); context 231 Source/core/editing/Caret.cpp void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoint& paintOffset, const LayoutRect& clipRect) const context 256 Source/core/editing/Caret.cpp context->fillRect(caret, caretColor); context 1046 Source/core/editing/EditingStyle.cpp PassRefPtr<EditingStyle> EditingStyle::wrappingStyleForSerialization(Node* context, bool shouldAnnotate) context 1050 Source/core/editing/EditingStyle.cpp wrappingStyle = EditingStyle::create(context, EditingStyle::EditingPropertiesInEffect); context 1055 Source/core/editing/EditingStyle.cpp wrappingStyle->removeStyleAddedByNode(enclosingNodeOfType(firstPositionInOrBeforeNode(context), isMailBlockquote, CanCrossEditingBoundary)); context 1066 Source/core/editing/EditingStyle.cpp for (Node* node = context; node && !node->isDocumentNode(); node = node->parentNode()) { context 1177 Source/core/editing/EditingStyle.cpp void EditingStyle::removeStyleFromRulesAndContext(Element* element, Node* context) context 1189 Source/core/editing/EditingStyle.cpp RefPtr<EditingStyle> computedStyle = EditingStyle::create(context, EditingPropertiesInEffect); context 130 Source/core/editing/EditingStyle.h static PassRefPtr<EditingStyle> wrappingStyleForSerialization(Node* context, bool shouldAnnotate); context 133 Source/core/editing/EditingStyle.h void removeStyleFromRulesAndContext(Element*, Node* context); context 1278 Source/core/editing/FrameSelection.cpp void FrameSelection::paintCaret(GraphicsContext* context, const LayoutPoint& paintOffset, const LayoutRect& clipRect) context 1281 Source/core/editing/FrameSelection.cpp CaretBase::paintCaret(m_selection.start().deprecatedNode(), context, paintOffset, clipRect); context 497 Source/core/editing/ReplaceSelectionCommand.cpp ContainerNode* context = element->parentNode(); context 501 Source/core/editing/ReplaceSelectionCommand.cpp Node* blockquoteNode = !context || isMailPasteAsQuotationNode(context) ? context : enclosingNodeOfType(firstPositionInNode(context), isMailBlockquote, CanCrossEditingBoundary); context 505 Source/core/editing/ReplaceSelectionCommand.cpp newInlineStyle->removeStyleFromRulesAndContext(element, context); context 770 Source/core/editing/ReplaceSelectionCommand.cpp ContainerNode* context = wrappingStyleSpan->parentNode(); context 774 Source/core/editing/ReplaceSelectionCommand.cpp Node* blockquoteNode = isMailPasteAsQuotationNode(context) ? context : enclosingNodeOfType(firstPositionInNode(context), isMailBlockquote, CanCrossEditingBoundary); context 776 Source/core/editing/ReplaceSelectionCommand.cpp context = document().documentElement(); context 779 Source/core/editing/ReplaceSelectionCommand.cpp style->prepareToApplyAt(firstPositionInNode(context)); context 79 Source/core/editing/SimplifyMarkupCommand.cpp unsigned context; context 80 Source/core/editing/SimplifyMarkupCommand.cpp if (currentNode->renderStyle()->visualInvalidationDiff(*startingStyle, context) == StyleDifferenceEqual) context 817 Source/core/editing/markup.cpp PassRefPtr<DocumentFragment> createFragmentFromText(Range* context, const String& text) context 819 Source/core/editing/markup.cpp if (!context) context 822 Source/core/editing/markup.cpp Document& document = context->ownerDocument(); context 832 Source/core/editing/markup.cpp if (shouldPreserveNewline(*context)) { context 849 Source/core/editing/markup.cpp Node* blockNode = enclosingBlock(context->firstNode()); context 855 Source/core/editing/markup.cpp && block != editableRootForPosition(context->startPosition()); context 856 Source/core/editing/markup.cpp bool useLineBreak = enclosingTextFormControl(context->startPosition()); context 50 Source/core/editing/markup.h PassRefPtr<DocumentFragment> createFragmentFromText(Range* context, const String& text); context 40 Source/core/events/DOMWindowEventQueue.cpp DOMWindowEventQueueTimer(DOMWindowEventQueue* eventQueue, ExecutionContext* context) context 41 Source/core/events/DOMWindowEventQueue.cpp : SuspendableTimer(context) context 49 Source/core/events/DOMWindowEventQueue.cpp PassRefPtr<DOMWindowEventQueue> DOMWindowEventQueue::create(ExecutionContext* context) context 51 Source/core/events/DOMWindowEventQueue.cpp return adoptRef(new DOMWindowEventQueue(context)); context 54 Source/core/events/DOMWindowEventQueue.cpp DOMWindowEventQueue::DOMWindowEventQueue(ExecutionContext* context) context 55 Source/core/events/DOMWindowEventQueue.cpp : m_pendingEventTimer(adoptPtr(new DOMWindowEventQueueTimer(this, context))) context 77 Source/core/events/EventTarget.cpp if (ExecutionContext* context = executionContext()) context 78 Source/core/events/EventTarget.cpp return context->executingWindow(); context 324 Source/core/events/EventTarget.cpp ExecutionContext* context = executionContext(); context 325 Source/core/events/EventTarget.cpp if (!context) context 331 Source/core/events/EventTarget.cpp registeredListener.listener->handleEvent(context, event); context 182 Source/core/events/MessageEvent.cpp void MessageEvent::entangleMessagePorts(ExecutionContext* context) context 184 Source/core/events/MessageEvent.cpp m_ports = MessagePort::entanglePorts(*context, m_channels.release()); context 151 Source/core/fetch/CSSStyleSheetResource.cpp PassRefPtrWillBeRawPtr<StyleSheetContents> CSSStyleSheetResource::restoreParsedStyleSheet(const CSSParserContext& context) context 165 Source/core/fetch/CSSStyleSheetResource.cpp if (m_parsedStyleSheetCache->parserContext() != context) context 503 Source/core/fetch/MemoryCache.cpp void MemoryCache::removeURLFromCache(ExecutionContext* context, const KURL& url) context 505 Source/core/fetch/MemoryCache.cpp if (context->isWorkerGlobalScope()) { context 506 Source/core/fetch/MemoryCache.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 510 Source/core/fetch/MemoryCache.cpp removeURLFromCacheInternal(context, url); context 455 Source/core/fetch/ResourceFetcher.cpp context().reportLocalLoadFailed(url); context 773 Source/core/fetch/ResourceFetcher.cpp context().addAdditionalRequestHeaders(document(), request, (type == Resource::MainResource) ? FetchMainResource : FetchSubresource); context 791 Source/core/fetch/ResourceFetcher.cpp ASSERT(context().cachePolicy(document()) != CachePolicyReload); context 792 Source/core/fetch/ResourceFetcher.cpp if (context().cachePolicy(document()) == CachePolicyRevalidate) context 897 Source/core/fetch/ResourceFetcher.cpp CachePolicy cachePolicy = context().cachePolicy(document()); context 1092 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidLoadResourceFromMemoryCache(request, resource->response()); context 1096 Source/core/fetch/ResourceFetcher.cpp context().sendRemainingDelegateMessages(m_documentLoader, identifier, resource->response(), resource->encodedSize()); context 1183 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidFinishLoading(m_documentLoader, resource->identifier(), finishTime, encodedDataLength); context 1189 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidChangeResourcePriority(resource->identifier(), loadPriority, intraPriorityValue); context 1195 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidFail(m_documentLoader, resource->identifier(), error); context 1200 Source/core/fetch/ResourceFetcher.cpp context().dispatchWillSendRequest(m_documentLoader, identifier, request, redirectResponse, initiatorInfo); context 1205 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidReceiveResponse(m_documentLoader, resource->identifier(), response, resource->loader()); context 1210 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidReceiveData(m_documentLoader, resource->identifier(), data, dataLength, encodedDataLength); context 1215 Source/core/fetch/ResourceFetcher.cpp context().dispatchDidDownloadData(m_documentLoader, resource->identifier(), dataLength, encodedDataLength); context 114 Source/core/fetch/ResourceFetcher.h FetchContext& context() const; context 135 Source/core/fileapi/FileReader.cpp PassRefPtrWillBeRawPtr<FileReader> FileReader::create(ExecutionContext* context) context 137 Source/core/fileapi/FileReader.cpp RefPtrWillBeRawPtr<FileReader> fileReader(adoptRefWillBeRefCountedGarbageCollected(new FileReader(context))); context 142 Source/core/fileapi/FileReader.cpp FileReader::FileReader(ExecutionContext* context) context 143 Source/core/fileapi/FileReader.cpp : ActiveDOMObject(context) context 40 Source/core/fileapi/Stream.cpp Stream::Stream(ExecutionContext* context, const String& mediaType) context 41 Source/core/fileapi/Stream.cpp : ActiveDOMObject(context) context 48 Source/core/fileapi/Stream.h static PassRefPtrWillBeRawPtr<Stream> create(ExecutionContext* context, const String& mediaType) context 50 Source/core/fileapi/Stream.h RefPtrWillBeRawPtr<Stream> stream = adoptRefWillBeRefCountedGarbageCollected(new Stream(context, mediaType)); context 61 Source/core/frame/Console.h virtual ExecutionContext* context() OVERRIDE; context 88 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSource, ClearMessageType, LogMessageLevel, String(), state, arguments); context 106 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleCount(context(), state, arguments); context 111 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTimeStamp(context(), title); context 116 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleProfile(context(), title, state); context 121 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleProfileEnd(context(), title); context 126 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTime(context(), title); context 133 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTimeEnd(context(), title, state); context 138 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTimeStamp(context(), title); context 143 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTimeline(context(), title, state); context 148 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::consoleTimelineEnd(context(), title, state); context 153 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSource, StartGroupMessageType, LogMessageLevel, String(), state, arguments); context 158 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSource, StartGroupCollapsedMessageType, LogMessageLevel, String(), state, arguments); context 163 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSource, EndGroupMessageType, LogMessageLevel, String(), nullptr); context 168 Source/core/frame/ConsoleBase.cpp if (!context()) context 180 Source/core/frame/ConsoleBase.cpp InspectorInstrumentation::addMessageToConsole(context(), ConsoleAPIMessageSource, type, level, message, state, arguments); context 79 Source/core/frame/ConsoleBase.h virtual ExecutionContext* context() = 0; context 70 Source/core/frame/DOMTimer.cpp int DOMTimer::install(ExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot) context 72 Source/core/frame/DOMTimer.cpp int timeoutID = context->installNewTimeout(action, timeout, singleShot); context 73 Source/core/frame/DOMTimer.cpp InspectorInstrumentation::didInstallTimer(context, timeoutID, timeout, singleShot); context 77 Source/core/frame/DOMTimer.cpp void DOMTimer::removeByID(ExecutionContext* context, int timeoutID) context 79 Source/core/frame/DOMTimer.cpp context->removeTimeoutByID(timeoutID); context 80 Source/core/frame/DOMTimer.cpp InspectorInstrumentation::didRemoveTimer(context, timeoutID); context 83 Source/core/frame/DOMTimer.cpp DOMTimer::DOMTimer(ExecutionContext* context, PassOwnPtr<ScheduledAction> action, int interval, bool singleShot, int timeoutID) context 84 Source/core/frame/DOMTimer.cpp : SuspendableTimer(context) context 113 Source/core/frame/DOMTimer.cpp ExecutionContext* context = executionContext(); context 115 Source/core/frame/DOMTimer.cpp ASSERT(!context->activeDOMObjectsAreSuspended()); context 119 Source/core/frame/DOMTimer.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willFireTimer(context, m_timeoutID); context 130 Source/core/frame/DOMTimer.cpp m_action->execute(context); context 141 Source/core/frame/DOMTimer.cpp context->removeTimeoutByID(m_timeoutID); context 143 Source/core/frame/DOMTimer.cpp action->execute(context); context 63 Source/core/frame/DOMTimer.h static PassOwnPtr<DOMTimer> create(ExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot, int timeoutID) context 65 Source/core/frame/DOMTimer.h return adoptPtr(new DOMTimer(context, action, timeout, singleShot, timeoutID)); context 913 Source/core/frame/DOMWindow.cpp void DOMWindow::focus(ExecutionContext* context) context 923 Source/core/frame/DOMWindow.cpp if (context) { context 925 Source/core/frame/DOMWindow.cpp Document* activeDocument = toDocument(context); context 944 Source/core/frame/DOMWindow.cpp void DOMWindow::close(ExecutionContext* context) context 953 Source/core/frame/DOMWindow.cpp if (context) { context 955 Source/core/frame/DOMWindow.cpp Document* activeDocument = toDocument(context); context 158 Source/core/frame/DOMWindow.h typedef void (*PrepareDialogFunction)(DOMWindow*, void* context); context 32 Source/core/frame/DOMWindowLifecycleNotifier.cpp DOMWindowLifecycleNotifier::DOMWindowLifecycleNotifier(DOMWindow* context) context 33 Source/core/frame/DOMWindowLifecycleNotifier.cpp : LifecycleNotifier<DOMWindow>(context) context 57 Source/core/frame/DOMWindowLifecycleNotifier.cpp PassOwnPtr<DOMWindowLifecycleNotifier> DOMWindowLifecycleNotifier::create(DOMWindow* context) context 59 Source/core/frame/DOMWindowLifecycleNotifier.cpp return adoptPtr(new DOMWindowLifecycleNotifier(context)); context 34 Source/core/frame/DOMWindowLifecycleObserver.cpp template<> void observerContext(DOMWindow* context, LifecycleObserver<DOMWindow>* observer) context 36 Source/core/frame/DOMWindowLifecycleObserver.cpp context->wasObservedBy(observer); context 39 Source/core/frame/DOMWindowLifecycleObserver.cpp template<> void unobserverContext(DOMWindow* context, LifecycleObserver<DOMWindow>* observer) context 41 Source/core/frame/DOMWindowLifecycleObserver.cpp context->wasUnobservedBy(observer); context 55 Source/core/frame/DOMWindowTimers.cpp if (ExecutionContext* context = eventTarget.executionContext()) context 56 Source/core/frame/DOMWindowTimers.cpp DOMTimer::removeByID(context, timeoutID); context 61 Source/core/frame/DOMWindowTimers.cpp if (ExecutionContext* context = eventTarget.executionContext()) context 62 Source/core/frame/DOMWindowTimers.cpp DOMTimer::removeByID(context, timeoutID); context 2587 Source/core/frame/FrameView.cpp void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) context 2589 Source/core/frame/FrameView.cpp if (context->updatingControlTints()) { context 2597 Source/core/frame/FrameView.cpp context->fillRect(cornerRect, baseBackgroundColor()); context 2598 Source/core/frame/FrameView.cpp m_scrollCorner->paintIntoRect(context, cornerRect.location(), cornerRect); context 2602 Source/core/frame/FrameView.cpp ScrollView::paintScrollCorner(context, cornerRect); context 2605 Source/core/frame/FrameView.cpp void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect) context 2611 Source/core/frame/FrameView.cpp context->fillRect(toFill, baseBackgroundColor()); context 2614 Source/core/frame/FrameView.cpp ScrollView::paintScrollbar(context, bar, rect); context 2695 Source/core/frame/FrameView.cpp GraphicsContext context(0); // NULL canvas to get a non-painting context. context 2696 Source/core/frame/FrameView.cpp context.setUpdatingControlTints(true); context 2697 Source/core/frame/FrameView.cpp paint(&context, frameRect()); context 2823 Source/core/frame/FrameView.cpp void FrameView::paintOverhangAreas(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) context 2825 Source/core/frame/FrameView.cpp if (context->paintingDisabled()) context 2832 Source/core/frame/FrameView.cpp if (m_frame->page()->chrome().client().paintCustomOverhangArea(context, horizontalOverhangArea, verticalOverhangArea, dirtyRect)) context 2836 Source/core/frame/FrameView.cpp ScrollView::paintOverhangAreas(context, horizontalOverhangArea, verticalOverhangArea, dirtyRect); context 88 Source/core/frame/History.cpp void History::back(ExecutionContext* context) context 90 Source/core/frame/History.cpp go(context, -1); context 93 Source/core/frame/History.cpp void History::forward(ExecutionContext* context) context 95 Source/core/frame/History.cpp go(context, 1); context 98 Source/core/frame/History.cpp void History::go(ExecutionContext* context, int distance) context 104 Source/core/frame/History.cpp Document* activeDocument = toDocument(context); context 69 Source/core/frame/ImageBitmap.cpp GraphicsContext* c = buf->context(); context 218 Source/core/frame/ImageBitmapTest.cpp CanvasRenderingContext* context = canvasElement->getContext("2d"); context 220 Source/core/frame/ImageBitmapTest.cpp toCanvasRenderingContext2D(context)->drawImage(imageBitmapDerived.get(), 0, 0, exceptionState); context 557 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); context 558 Source/core/frame/LocalFrame.cpp buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); context 559 Source/core/frame/LocalFrame.cpp buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); context 561 Source/core/frame/LocalFrame.cpp m_view->paintContents(buffer->context(), paintingRect); context 586 Source/core/frame/LocalFrame.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); context 587 Source/core/frame/LocalFrame.cpp buffer->context()->translate(-paintingRect.x(), -paintingRect.y()); context 588 Source/core/frame/LocalFrame.cpp buffer->context()->clip(FloatRect(0, 0, paintingRect.maxX(), paintingRect.maxY())); context 590 Source/core/frame/LocalFrame.cpp m_view->paintContents(buffer->context(), paintingRect); context 71 Source/core/frame/PageConsole.cpp ExecutionContext* context = m_frameHost.page().mainFrame()->document(); context 72 Source/core/frame/PageConsole.cpp if (!context) context 78 Source/core/frame/PageConsole.cpp InspectorInstrumentation::addMessageToConsole(context, source, LogMessageType, level, message, callStack, requestIdentifier); context 81 Source/core/frame/PageConsole.cpp InspectorInstrumentation::addMessageToConsole(context, source, LogMessageType, level, message, url, lineNumber, columnNumber, state, requestIdentifier); context 32 Source/core/frame/SuspendableTimer.cpp SuspendableTimer::SuspendableTimer(ExecutionContext* context) context 33 Source/core/frame/SuspendableTimer.cpp : ActiveDOMObject(context) context 601 Source/core/frame/UseCounter.cpp void UseCounter::count(const ExecutionContext* context, Feature feature) context 603 Source/core/frame/UseCounter.cpp if (!context || !context->isDocument()) context 605 Source/core/frame/UseCounter.cpp count(*toDocument(context), feature); context 608 Source/core/frame/UseCounter.cpp void UseCounter::countDeprecation(ExecutionContext* context, Feature feature) context 610 Source/core/frame/UseCounter.cpp if (!context || !context->isDocument()) context 612 Source/core/frame/UseCounter.cpp UseCounter::countDeprecation(*toDocument(context), feature); context 716 Source/core/frame/UseCounter.cpp void UseCounter::count(CSSParserContext context, CSSPropertyID feature) context 722 Source/core/frame/UseCounter.cpp if (!isUseCounterEnabledForMode(context.mode())) context 779 Source/core/frame/csp/ContentSecurityPolicy.cpp bool ContentSecurityPolicy::shouldBypassMainWorld(ExecutionContext* context) context 781 Source/core/frame/csp/ContentSecurityPolicy.cpp if (context && context->isDocument()) { context 782 Source/core/frame/csp/ContentSecurityPolicy.cpp Document* document = toDocument(context); context 306 Source/core/html/HTMLCanvasElement.cpp void HTMLCanvasElement::paint(GraphicsContext* context, const LayoutRect& r) context 311 Source/core/html/HTMLCanvasElement.cpp if (context->paintingDisabled()) context 325 Source/core/html/HTMLCanvasElement.cpp context->drawImage(m_presentedImage.get(), pixelSnappedIntRect(r), compositeOperator, DoNotRespectImageOrientation); context 327 Source/core/html/HTMLCanvasElement.cpp context->drawImageBuffer(imageBuffer, pixelSnappedIntRect(r), compositeOperator, blink::WebBlendModeNormal); context 500 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->setShouldClampToSourceRect(false); context 501 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->disableAntialiasingOptimizationForHairlineImages(); context 502 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->setImageInterpolationQuality(CanvasDefaultInterpolationQuality); context 507 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->setShouldAntialias(false); context 510 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->setMiterLimit(10); context 511 Source/core/html/HTMLCanvasElement.cpp m_imageBuffer->context()->setStrokeThickness(1); context 512 Source/core/html/HTMLCanvasElement.cpp m_contextStateSaver = adoptPtr(new GraphicsContextStateSaver(*m_imageBuffer->context())); context 554 Source/core/html/HTMLCanvasElement.cpp return buffer() ? m_imageBuffer->context() : 0; context 107 Source/core/html/HTMLContentElement.cpp SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled); context 109 Source/core/html/HTMLContentElement.cpp return selectorChecker.match(context, strategy) == SelectorChecker::SelectorMatches; context 213 Source/core/html/HTMLFormControlElement.cpp void HTMLFormControlElement::attach(const AttachContext& context) context 215 Source/core/html/HTMLFormControlElement.cpp HTMLElement::attach(context); context 64 Source/core/html/HTMLFrameElement.cpp void HTMLFrameElement::attach(const AttachContext& context) context 66 Source/core/html/HTMLFrameElement.cpp HTMLFrameElementBase::attach(context); context 157 Source/core/html/HTMLFrameElementBase.cpp void HTMLFrameElementBase::attach(const AttachContext& context) context 159 Source/core/html/HTMLFrameElementBase.cpp HTMLFrameOwnerElement::attach(context); context 167 Source/core/html/HTMLFrameSetElement.cpp void HTMLFrameSetElement::attach(const AttachContext& context) context 184 Source/core/html/HTMLFrameSetElement.cpp HTMLElement::attach(context); context 210 Source/core/html/HTMLImageElement.cpp void HTMLImageElement::attach(const AttachContext& context) context 212 Source/core/html/HTMLImageElement.cpp HTMLElement::attach(context); context 771 Source/core/html/HTMLInputElement.cpp void HTMLInputElement::attach(const AttachContext& context) context 776 Source/core/html/HTMLInputElement.cpp HTMLTextFormControlElement::attach(context); context 785 Source/core/html/HTMLInputElement.cpp void HTMLInputElement::detach(const AttachContext& context) context 787 Source/core/html/HTMLInputElement.cpp HTMLTextFormControlElement::detach(context); context 82 Source/core/html/HTMLLIElement.cpp void HTMLLIElement::attach(const AttachContext& context) context 84 Source/core/html/HTMLLIElement.cpp HTMLElement::attach(context); context 474 Source/core/html/HTMLMediaElement.cpp void HTMLMediaElement::attach(const AttachContext& context) context 476 Source/core/html/HTMLMediaElement.cpp HTMLElement::attach(context); context 82 Source/core/html/HTMLOptGroupElement.cpp void HTMLOptGroupElement::attach(const AttachContext& context) context 84 Source/core/html/HTMLOptGroupElement.cpp if (context.resolvedStyle) { context 85 Source/core/html/HTMLOptGroupElement.cpp ASSERT(!m_style || m_style == context.resolvedStyle); context 86 Source/core/html/HTMLOptGroupElement.cpp m_style = context.resolvedStyle; context 88 Source/core/html/HTMLOptGroupElement.cpp HTMLElement::attach(context); context 91 Source/core/html/HTMLOptGroupElement.cpp void HTMLOptGroupElement::detach(const AttachContext& context) context 94 Source/core/html/HTMLOptGroupElement.cpp HTMLElement::detach(context); context 82 Source/core/html/HTMLOptionElement.cpp void HTMLOptionElement::attach(const AttachContext& context) context 84 Source/core/html/HTMLOptionElement.cpp AttachContext optionContext(context); context 85 Source/core/html/HTMLOptionElement.cpp if (context.resolvedStyle) { context 86 Source/core/html/HTMLOptionElement.cpp ASSERT(!m_style || m_style == context.resolvedStyle); context 87 Source/core/html/HTMLOptionElement.cpp m_style = context.resolvedStyle; context 95 Source/core/html/HTMLOptionElement.cpp void HTMLOptionElement::detach(const AttachContext& context) context 98 Source/core/html/HTMLOptionElement.cpp HTMLElement::detach(context); context 114 Source/core/html/HTMLPlugInElement.cpp void HTMLPlugInElement::attach(const AttachContext& context) context 116 Source/core/html/HTMLPlugInElement.cpp HTMLFrameOwnerElement::attach(context); context 175 Source/core/html/HTMLPlugInElement.cpp void HTMLPlugInElement::detach(const AttachContext& context) context 205 Source/core/html/HTMLPlugInElement.cpp HTMLFrameOwnerElement::detach(context); context 88 Source/core/html/HTMLProgressElement.cpp void HTMLProgressElement::attach(const AttachContext& context) context 90 Source/core/html/HTMLProgressElement.cpp LabelableElement::attach(context); context 72 Source/core/html/HTMLVideoElement.cpp void HTMLVideoElement::attach(const AttachContext& context) context 74 Source/core/html/HTMLVideoElement.cpp HTMLMediaElement::attach(context); context 188 Source/core/html/HTMLVideoElement.cpp void HTMLVideoElement::paintCurrentFrameInContext(GraphicsContext* context, const IntRect& destRect) const context 193 Source/core/html/HTMLVideoElement.cpp player->paint(context, destRect); context 196 Source/core/html/HTMLVideoElement.cpp bool HTMLVideoElement::copyVideoTextureToPlatformTexture(blink::WebGraphicsContext3D* context, Platform3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premultiplyAlpha, bool flipY) context 200 Source/core/html/HTMLVideoElement.cpp return player()->copyVideoTextureToPlatformTexture(context, texture, level, type, internalFormat, premultiplyAlpha, flipY); context 290 Source/core/html/HTMLVideoElement.cpp paintCurrentFrameInContext(imageBuffer->context(), IntRect(IntPoint(0, 0), intrinsicSize)); context 43 Source/core/html/MediaController.cpp PassRefPtr<MediaController> MediaController::create(ExecutionContext* context) context 45 Source/core/html/MediaController.cpp return adoptRef(new MediaController(context)); context 48 Source/core/html/MediaController.cpp MediaController::MediaController(ExecutionContext* context) context 59 Source/core/html/MediaController.cpp , m_executionContext(context) context 178 Source/core/html/PluginDocument.cpp void PluginDocument::detach(const AttachContext& context) context 182 Source/core/html/PluginDocument.cpp HTMLDocument::detach(context); context 38 Source/core/html/PublicURLManager.cpp PassOwnPtr<PublicURLManager> PublicURLManager::create(ExecutionContext* context) context 40 Source/core/html/PublicURLManager.cpp OwnPtr<PublicURLManager> publicURLManager(adoptPtr(new PublicURLManager(context))); context 45 Source/core/html/PublicURLManager.cpp PublicURLManager::PublicURLManager(ExecutionContext* context) context 46 Source/core/html/PublicURLManager.cpp : ActiveDOMObject(context) context 39 Source/core/html/canvas/ANGLEInstancedArrays.cpp ANGLEInstancedArrays::ANGLEInstancedArrays(WebGLRenderingContextBase* context) context 40 Source/core/html/canvas/ANGLEInstancedArrays.cpp : WebGLExtension(context) context 43 Source/core/html/canvas/ANGLEInstancedArrays.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_ANGLE_instanced_arrays"); context 55 Source/core/html/canvas/ANGLEInstancedArrays.cpp PassRefPtr<ANGLEInstancedArrays> ANGLEInstancedArrays::create(WebGLRenderingContextBase* context) context 57 Source/core/html/canvas/ANGLEInstancedArrays.cpp return adoptRef(new ANGLEInstancedArrays(context)); context 60 Source/core/html/canvas/ANGLEInstancedArrays.cpp bool ANGLEInstancedArrays::supported(WebGLRenderingContextBase* context) context 62 Source/core/html/canvas/ANGLEInstancedArrays.cpp return context->extensionsUtil()->supportsExtension("GL_ANGLE_instanced_arrays"); context 109 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (GraphicsContext* context = canvas()->existingDrawingContext()) { context 111 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->restore(); context 127 Source/core/html/canvas/CanvasRenderingContext2D.cpp GraphicsContext* context = drawingContext(); context 128 Source/core/html/canvas/CanvasRenderingContext2D.cpp return context && context->isAccelerated(); context 351 Source/core/html/canvas/CanvasRenderingContext2D.cpp GraphicsContext* context = drawingContext(); context 352 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (context) context 353 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->save(); context 1263 Source/core/html/canvas/CanvasRenderingContext2D.cpp GraphicsContext* context = drawingContext(); context 1264 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!context) context 1276 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->save(); context 1278 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->clearShadow(); context 1282 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->save(); context 1285 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->setAlphaAsFloat(1); context 1289 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->save(); context 1292 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->setCompositeOperation(CompositeSourceOver); context 1294 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->clearRect(rect); context 1296 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->restore(); context 1643 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void drawImageToContext(Image* image, GraphicsContext* context, const FloatRect& dest, const FloatRect& src, CompositeOperator op) context 1645 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->drawImage(image, dest, src, op); context 1657 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void fillPrimitive(const FloatRect& rect, GraphicsContext* context) context 1659 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->fillRect(rect); context 1662 Source/core/html/canvas/CanvasRenderingContext2D.cpp static void fillPrimitive(const Path& path, GraphicsContext* context) context 1664 Source/core/html/canvas/CanvasRenderingContext2D.cpp context->fillPath(path); context 361 Source/core/html/canvas/CanvasRenderingContext2D.h DEFINE_TYPE_CASTS(CanvasRenderingContext2D, CanvasRenderingContext, context, context->is2d(), context.is2d()); context 220 Source/core/html/canvas/CanvasStyle.cpp void CanvasStyle::applyStrokeColor(GraphicsContext* context) context 222 Source/core/html/canvas/CanvasStyle.cpp if (!context) context 226 Source/core/html/canvas/CanvasStyle.cpp context->setStrokeColor(m_rgba); context 231 Source/core/html/canvas/CanvasStyle.cpp context->setStrokeColor(m_rgba); context 235 Source/core/html/canvas/CanvasStyle.cpp context->setStrokeGradient(canvasGradient()->gradient()); context 238 Source/core/html/canvas/CanvasStyle.cpp context->setStrokePattern(canvasPattern()->pattern()); context 247 Source/core/html/canvas/CanvasStyle.cpp void CanvasStyle::applyFillColor(GraphicsContext* context) context 249 Source/core/html/canvas/CanvasStyle.cpp if (!context) context 253 Source/core/html/canvas/CanvasStyle.cpp context->setFillColor(m_rgba); context 258 Source/core/html/canvas/CanvasStyle.cpp context->setFillColor(m_rgba); context 262 Source/core/html/canvas/CanvasStyle.cpp context->setFillGradient(canvasGradient()->gradient()); context 265 Source/core/html/canvas/CanvasStyle.cpp context->setFillPattern(canvasPattern()->pattern()); context 32 Source/core/html/canvas/EXTFragDepth.cpp EXTFragDepth::EXTFragDepth(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/EXTFragDepth.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/EXTFragDepth.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_EXT_frag_depth"); context 48 Source/core/html/canvas/EXTFragDepth.cpp PassRefPtr<EXTFragDepth> EXTFragDepth::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/EXTFragDepth.cpp return adoptRef(new EXTFragDepth(context)); context 53 Source/core/html/canvas/EXTFragDepth.cpp bool EXTFragDepth::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/EXTFragDepth.cpp return context->extensionsUtil()->supportsExtension("GL_EXT_frag_depth"); context 32 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp EXTTextureFilterAnisotropic::EXTTextureFilterAnisotropic(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_EXT_texture_filter_anisotropic"); context 48 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp PassRefPtr<EXTTextureFilterAnisotropic> EXTTextureFilterAnisotropic::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp return adoptRef(new EXTTextureFilterAnisotropic(context)); context 53 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp bool EXTTextureFilterAnisotropic::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/EXTTextureFilterAnisotropic.cpp return context->extensionsUtil()->supportsExtension("GL_EXT_texture_filter_anisotropic"); context 32 Source/core/html/canvas/OESElementIndexUint.cpp OESElementIndexUint::OESElementIndexUint(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESElementIndexUint.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESElementIndexUint.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_element_index_uint"); context 48 Source/core/html/canvas/OESElementIndexUint.cpp PassRefPtr<OESElementIndexUint> OESElementIndexUint::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/OESElementIndexUint.cpp return adoptRef(new OESElementIndexUint(context)); context 53 Source/core/html/canvas/OESElementIndexUint.cpp bool OESElementIndexUint::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/OESElementIndexUint.cpp return context->extensionsUtil()->supportsExtension("GL_OES_element_index_uint"); context 32 Source/core/html/canvas/OESStandardDerivatives.cpp OESStandardDerivatives::OESStandardDerivatives(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESStandardDerivatives.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESStandardDerivatives.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_standard_derivatives"); context 48 Source/core/html/canvas/OESStandardDerivatives.cpp PassRefPtr<OESStandardDerivatives> OESStandardDerivatives::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/OESStandardDerivatives.cpp return adoptRef(new OESStandardDerivatives(context)); context 53 Source/core/html/canvas/OESStandardDerivatives.cpp bool OESStandardDerivatives::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/OESStandardDerivatives.cpp return context->extensionsUtil()->supportsExtension("GL_OES_standard_derivatives"); context 32 Source/core/html/canvas/OESTextureFloat.cpp OESTextureFloat::OESTextureFloat(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESTextureFloat.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESTextureFloat.cpp if (context->extensionsUtil()->ensureExtensionEnabled("GL_OES_texture_float")) { context 38 Source/core/html/canvas/OESTextureFloat.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_CHROMIUM_color_buffer_float_rgba"); context 39 Source/core/html/canvas/OESTextureFloat.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_CHROMIUM_color_buffer_float_rgb"); context 52 Source/core/html/canvas/OESTextureFloat.cpp PassRefPtr<OESTextureFloat> OESTextureFloat::create(WebGLRenderingContextBase* context) context 54 Source/core/html/canvas/OESTextureFloat.cpp return adoptRef(new OESTextureFloat(context)); context 57 Source/core/html/canvas/OESTextureFloat.cpp bool OESTextureFloat::supported(WebGLRenderingContextBase* context) context 59 Source/core/html/canvas/OESTextureFloat.cpp return context->extensionsUtil()->supportsExtension("GL_OES_texture_float"); context 32 Source/core/html/canvas/OESTextureFloatLinear.cpp OESTextureFloatLinear::OESTextureFloatLinear(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESTextureFloatLinear.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESTextureFloatLinear.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_texture_float_linear"); context 48 Source/core/html/canvas/OESTextureFloatLinear.cpp PassRefPtr<OESTextureFloatLinear> OESTextureFloatLinear::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/OESTextureFloatLinear.cpp return adoptRef(new OESTextureFloatLinear(context)); context 53 Source/core/html/canvas/OESTextureFloatLinear.cpp bool OESTextureFloatLinear::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/OESTextureFloatLinear.cpp return context->extensionsUtil()->supportsExtension("GL_OES_texture_float_linear"); context 32 Source/core/html/canvas/OESTextureHalfFloat.cpp OESTextureHalfFloat::OESTextureHalfFloat(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESTextureHalfFloat.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESTextureHalfFloat.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_texture_half_float"); context 48 Source/core/html/canvas/OESTextureHalfFloat.cpp PassRefPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/OESTextureHalfFloat.cpp return adoptRef(new OESTextureHalfFloat(context)); context 53 Source/core/html/canvas/OESTextureHalfFloat.cpp bool OESTextureHalfFloat::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/OESTextureHalfFloat.cpp return context->extensionsUtil()->supportsExtension("GL_OES_texture_half_float"); context 32 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp OESTextureHalfFloatLinear::OESTextureHalfFloatLinear(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_texture_half_float_linear"); context 48 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp PassRefPtr<OESTextureHalfFloatLinear> OESTextureHalfFloatLinear::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp return adoptRef(new OESTextureHalfFloatLinear(context)); context 53 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp bool OESTextureHalfFloatLinear::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/OESTextureHalfFloatLinear.cpp return context->extensionsUtil()->supportsExtension("GL_OES_texture_half_float_linear"); context 36 Source/core/html/canvas/OESVertexArrayObject.cpp OESVertexArrayObject::OESVertexArrayObject(WebGLRenderingContextBase* context) context 37 Source/core/html/canvas/OESVertexArrayObject.cpp : WebGLExtension(context) context 40 Source/core/html/canvas/OESVertexArrayObject.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_OES_vertex_array_object"); context 52 Source/core/html/canvas/OESVertexArrayObject.cpp PassRefPtr<OESVertexArrayObject> OESVertexArrayObject::create(WebGLRenderingContextBase* context) context 54 Source/core/html/canvas/OESVertexArrayObject.cpp return adoptRef(new OESVertexArrayObject(context)); context 94 Source/core/html/canvas/OESVertexArrayObject.cpp if (arrayObject && (arrayObject->isDeleted() || !arrayObject->validate(0, context()))) { context 110 Source/core/html/canvas/OESVertexArrayObject.cpp bool OESVertexArrayObject::supported(WebGLRenderingContextBase* context) context 112 Source/core/html/canvas/OESVertexArrayObject.cpp return context->extensionsUtil()->supportsExtension("GL_OES_vertex_array_object"); context 32 Source/core/html/canvas/WebGLCompressedTextureATC.cpp WebGLCompressedTextureATC::WebGLCompressedTextureATC(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/WebGLCompressedTextureATC.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/WebGLCompressedTextureATC.cpp context->addCompressedTextureFormat(GC3D_COMPRESSED_ATC_RGB_AMD); context 37 Source/core/html/canvas/WebGLCompressedTextureATC.cpp context->addCompressedTextureFormat(GC3D_COMPRESSED_ATC_RGBA_EXPLICIT_ALPHA_AMD); context 38 Source/core/html/canvas/WebGLCompressedTextureATC.cpp context->addCompressedTextureFormat(GC3D_COMPRESSED_ATC_RGBA_INTERPOLATED_ALPHA_AMD); context 50 Source/core/html/canvas/WebGLCompressedTextureATC.cpp PassRefPtr<WebGLCompressedTextureATC> WebGLCompressedTextureATC::create(WebGLRenderingContextBase* context) context 52 Source/core/html/canvas/WebGLCompressedTextureATC.cpp return adoptRef(new WebGLCompressedTextureATC(context)); context 55 Source/core/html/canvas/WebGLCompressedTextureATC.cpp bool WebGLCompressedTextureATC::supported(WebGLRenderingContextBase* context) context 57 Source/core/html/canvas/WebGLCompressedTextureATC.cpp return context->extensionsUtil()->supportsExtension("GL_AMD_compressed_ATC_texture"); context 34 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp WebGLCompressedTexturePVRTC::WebGLCompressedTexturePVRTC(WebGLRenderingContextBase* context) context 35 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp : WebGLExtension(context) context 38 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG); context 39 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG); context 40 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG); context 41 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG); context 53 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp PassRefPtr<WebGLCompressedTexturePVRTC> WebGLCompressedTexturePVRTC::create(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp return adoptRef(new WebGLCompressedTexturePVRTC(context)); context 58 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp bool WebGLCompressedTexturePVRTC::supported(WebGLRenderingContextBase* context) context 60 Source/core/html/canvas/WebGLCompressedTexturePVRTC.cpp return context->extensionsUtil()->supportsExtension("GL_IMG_texture_compression_pvrtc"); context 34 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp WebGLCompressedTextureS3TC::WebGLCompressedTextureS3TC(WebGLRenderingContextBase* context) context 35 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp : WebGLExtension(context) context 38 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGB_S3TC_DXT1_EXT); context 39 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGBA_S3TC_DXT1_EXT); context 40 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGBA_S3TC_DXT3_EXT); context 41 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp context->addCompressedTextureFormat(GL_COMPRESSED_RGBA_S3TC_DXT5_EXT); context 53 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp PassRefPtr<WebGLCompressedTextureS3TC> WebGLCompressedTextureS3TC::create(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp return adoptRef(new WebGLCompressedTextureS3TC(context)); context 58 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp bool WebGLCompressedTextureS3TC::supported(WebGLRenderingContextBase* context) context 60 Source/core/html/canvas/WebGLCompressedTextureS3TC.cpp Extensions3DUtil* extensionsUtil = context->extensionsUtil(); context 56 Source/core/html/canvas/WebGLContextGroup.cpp void WebGLContextGroup::addContext(WebGLRenderingContextBase* context) context 58 Source/core/html/canvas/WebGLContextGroup.cpp m_contexts.add(context); context 61 Source/core/html/canvas/WebGLContextGroup.cpp void WebGLContextGroup::removeContext(WebGLRenderingContextBase* context) context 64 Source/core/html/canvas/WebGLContextGroup.cpp if (m_contexts.size() == 1 && m_contexts.contains(context)) context 67 Source/core/html/canvas/WebGLContextGroup.cpp m_contexts.remove(context); context 34 Source/core/html/canvas/WebGLContextObject.cpp WebGLContextObject::WebGLContextObject(WebGLRenderingContextBase* context) context 35 Source/core/html/canvas/WebGLContextObject.cpp : WebGLObject(context) context 36 Source/core/html/canvas/WebGLContextObject.cpp , m_context(context) context 45 Source/core/html/canvas/WebGLContextObject.h WebGLRenderingContextBase* context() const { return m_context; } context 47 Source/core/html/canvas/WebGLContextObject.h virtual bool validate(const WebGLContextGroup*, const WebGLRenderingContextBase* context) const OVERRIDE FINAL context 49 Source/core/html/canvas/WebGLContextObject.h return context == m_context; context 32 Source/core/html/canvas/WebGLDebugRendererInfo.cpp WebGLDebugRendererInfo::WebGLDebugRendererInfo(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/WebGLDebugRendererInfo.cpp : WebGLExtension(context) context 47 Source/core/html/canvas/WebGLDebugRendererInfo.cpp PassRefPtr<WebGLDebugRendererInfo> WebGLDebugRendererInfo::create(WebGLRenderingContextBase* context) context 49 Source/core/html/canvas/WebGLDebugRendererInfo.cpp return adoptRef(new WebGLDebugRendererInfo(context)); context 35 Source/core/html/canvas/WebGLDebugShaders.cpp WebGLDebugShaders::WebGLDebugShaders(WebGLRenderingContextBase* context) context 36 Source/core/html/canvas/WebGLDebugShaders.cpp : WebGLExtension(context) context 50 Source/core/html/canvas/WebGLDebugShaders.cpp PassRefPtr<WebGLDebugShaders> WebGLDebugShaders::create(WebGLRenderingContextBase* context) context 52 Source/core/html/canvas/WebGLDebugShaders.cpp return adoptRef(new WebGLDebugShaders(context)); context 64 Source/core/html/canvas/WebGLDebugShaders.cpp bool WebGLDebugShaders::supported(WebGLRenderingContextBase* context) context 66 Source/core/html/canvas/WebGLDebugShaders.cpp return context->extensionsUtil()->supportsExtension("GL_ANGLE_translated_shader_source"); context 32 Source/core/html/canvas/WebGLDepthTexture.cpp WebGLDepthTexture::WebGLDepthTexture(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/WebGLDepthTexture.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/WebGLDepthTexture.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_CHROMIUM_depth_texture"); context 48 Source/core/html/canvas/WebGLDepthTexture.cpp PassRefPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/WebGLDepthTexture.cpp return adoptRef(new WebGLDepthTexture(context)); context 53 Source/core/html/canvas/WebGLDepthTexture.cpp bool WebGLDepthTexture::supported(WebGLRenderingContextBase* context) context 55 Source/core/html/canvas/WebGLDepthTexture.cpp Extensions3DUtil* extensionsUtil = context->extensionsUtil(); context 32 Source/core/html/canvas/WebGLDrawBuffers.cpp WebGLDrawBuffers::WebGLDrawBuffers(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/WebGLDrawBuffers.cpp : WebGLExtension(context) context 36 Source/core/html/canvas/WebGLDrawBuffers.cpp context->extensionsUtil()->ensureExtensionEnabled("GL_EXT_draw_buffers"); context 48 Source/core/html/canvas/WebGLDrawBuffers.cpp PassRefPtr<WebGLDrawBuffers> WebGLDrawBuffers::create(WebGLRenderingContextBase* context) context 50 Source/core/html/canvas/WebGLDrawBuffers.cpp return adoptRef(new WebGLDrawBuffers(context)); context 54 Source/core/html/canvas/WebGLDrawBuffers.cpp bool WebGLDrawBuffers::supported(WebGLRenderingContextBase* context) context 56 Source/core/html/canvas/WebGLDrawBuffers.cpp return (context->extensionsUtil()->supportsExtension("GL_EXT_draw_buffers") context 57 Source/core/html/canvas/WebGLDrawBuffers.cpp && satisfiesWebGLRequirements(context)); context 102 Source/core/html/canvas/WebGLDrawBuffers.cpp blink::WebGraphicsContext3D* context = webglContext->webGraphicsContext3D(); context 108 Source/core/html/canvas/WebGLDrawBuffers.cpp context->getIntegerv(GL_MAX_DRAW_BUFFERS_EXT, &maxDrawBuffers); context 109 Source/core/html/canvas/WebGLDrawBuffers.cpp context->getIntegerv(GL_MAX_COLOR_ATTACHMENTS_EXT, &maxColorAttachments); context 113 Source/core/html/canvas/WebGLDrawBuffers.cpp Platform3DObject fbo = context->createFramebuffer(); context 114 Source/core/html/canvas/WebGLDrawBuffers.cpp context->bindFramebuffer(GL_FRAMEBUFFER, fbo); context 124 Source/core/html/canvas/WebGLDrawBuffers.cpp depthStencil = context->createTexture(); context 125 Source/core/html/canvas/WebGLDrawBuffers.cpp context->bindTexture(GL_TEXTURE_2D, depthStencil); context 126 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL_OES, 1, 1, 0, GL_DEPTH_STENCIL_OES, GL_UNSIGNED_INT_24_8_OES, buffer); context 130 Source/core/html/canvas/WebGLDrawBuffers.cpp depth = context->createTexture(); context 131 Source/core/html/canvas/WebGLDrawBuffers.cpp context->bindTexture(GL_TEXTURE_2D, depth); context 132 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, 1, 1, 0, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT, buffer); context 139 Source/core/html/canvas/WebGLDrawBuffers.cpp Platform3DObject color = context->createTexture(); context 141 Source/core/html/canvas/WebGLDrawBuffers.cpp context->bindTexture(GL_TEXTURE_2D, color); context 142 Source/core/html/canvas/WebGLDrawBuffers.cpp context->texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer); context 143 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + i, GL_TEXTURE_2D, color, 0); context 144 Source/core/html/canvas/WebGLDrawBuffers.cpp if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { context 149 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depth, 0); context 150 Source/core/html/canvas/WebGLDrawBuffers.cpp if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { context 154 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, 0); context 157 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthStencil, 0); context 158 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, depthStencil, 0); context 159 Source/core/html/canvas/WebGLDrawBuffers.cpp if (context->checkFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) { context 163 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, 0, 0); context 164 Source/core/html/canvas/WebGLDrawBuffers.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, 0, 0); context 169 Source/core/html/canvas/WebGLDrawBuffers.cpp context->deleteFramebuffer(fbo); context 172 Source/core/html/canvas/WebGLDrawBuffers.cpp context->deleteTexture(depth); context 174 Source/core/html/canvas/WebGLDrawBuffers.cpp context->deleteTexture(depthStencil); context 176 Source/core/html/canvas/WebGLDrawBuffers.cpp context->deleteTexture(colors[i]); context 32 Source/core/html/canvas/WebGLExtension.cpp WebGLExtension::WebGLExtension(WebGLRenderingContextBase* context) context 33 Source/core/html/canvas/WebGLExtension.cpp : m_context(context) context 38 Source/core/html/canvas/WebGLExtension.h WebGLRenderingContextBase* context() { return m_context; } context 110 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLRenderbufferAttachment::onDetached(blink::WebGraphicsContext3D* context) context 112 Source/core/html/canvas/WebGLFramebuffer.cpp m_renderbuffer->onDetached(context); context 115 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLRenderbufferAttachment::attach(blink::WebGraphicsContext3D* context, GLenum attachment) context 119 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, object); context 120 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, objectOrZero(m_renderbuffer->emulatedStencilBuffer())); context 122 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, object); context 126 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLRenderbufferAttachment::unattach(blink::WebGraphicsContext3D* context, GLenum attachment) context 129 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, 0); context 130 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_RENDERBUFFER, 0); context 132 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferRenderbuffer(GL_FRAMEBUFFER, attachment, GL_RENDERBUFFER, 0); context 208 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLTextureAttachment::onDetached(blink::WebGraphicsContext3D* context) context 210 Source/core/html/canvas/WebGLFramebuffer.cpp m_texture->onDetached(context); context 213 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLTextureAttachment::attach(blink::WebGraphicsContext3D* context, GLenum attachment) context 216 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, attachment, m_target, object, m_level); context 219 Source/core/html/canvas/WebGLFramebuffer.cpp void WebGLTextureAttachment::unattach(blink::WebGraphicsContext3D* context, GLenum attachment) context 222 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, m_target, 0, m_level); context 223 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, m_target, 0, m_level); context 225 Source/core/html/canvas/WebGLFramebuffer.cpp context->framebufferTexture2D(GL_FRAMEBUFFER, attachment, m_target, 0, m_level); context 305 Source/core/html/canvas/WebGLFramebuffer.cpp attachmentObject->attach(context()->webGraphicsContext3D(), attachmentPoint); context 333 Source/core/html/canvas/WebGLFramebuffer.cpp if (!(context()->extensionEnabled(WebGLDepthTextureName) && internalformat == GL_DEPTH_COMPONENT context 356 Source/core/html/canvas/WebGLFramebuffer.cpp if (!(context()->extensionEnabled(WebGLDepthTextureName) && internalformat == GL_DEPTH_STENCIL_OES context 363 Source/core/html/canvas/WebGLFramebuffer.cpp || (context()->extensionEnabled(WebGLDrawBuffersName) && attachment > GL_COLOR_ATTACHMENT0 context 364 Source/core/html/canvas/WebGLFramebuffer.cpp && attachment < static_cast<GLenum>(GL_COLOR_ATTACHMENT0 + context()->maxColorAttachments()))) { context 384 Source/core/html/canvas/WebGLFramebuffer.cpp && !(type == GL_FLOAT && context()->extensionEnabled(OESTextureFloatName)) context 385 Source/core/html/canvas/WebGLFramebuffer.cpp && !(type == GL_HALF_FLOAT_OES && context()->extensionEnabled(OESTextureHalfFloatName))) { context 416 Source/core/html/canvas/WebGLFramebuffer.cpp attachmentObject->onDetached(context()->webGraphicsContext3D()); context 449 Source/core/html/canvas/WebGLFramebuffer.cpp attachmentObject->unattach(context()->webGraphicsContext3D(), attachmentType); context 572 Source/core/html/canvas/WebGLFramebuffer.cpp return (context()->m_framebufferBinding.get() == this); context 586 Source/core/html/canvas/WebGLFramebuffer.cpp if (!context()->extensionEnabled(WebGLDrawBuffersName)) context 604 Source/core/html/canvas/WebGLFramebuffer.cpp context()->webGraphicsContext3D()->drawBuffersEXT( context 34 Source/core/html/canvas/WebGLLoseContext.cpp WebGLLoseContext::WebGLLoseContext(WebGLRenderingContextBase* context) context 35 Source/core/html/canvas/WebGLLoseContext.cpp : WebGLExtension(context) context 55 Source/core/html/canvas/WebGLLoseContext.cpp PassRefPtr<WebGLLoseContext> WebGLLoseContext::create(WebGLRenderingContextBase* context) context 57 Source/core/html/canvas/WebGLLoseContext.cpp return adoptRef(new WebGLLoseContext(context)); context 183 Source/core/html/canvas/WebGLProgram.cpp blink::WebGraphicsContext3D* context = getAWebGraphicsContext3D(); context 184 Source/core/html/canvas/WebGLProgram.cpp if (!context) context 187 Source/core/html/canvas/WebGLProgram.cpp context->getProgramiv(object(), GL_LINK_STATUS, &linkStatus); context 190 Source/core/html/canvas/WebGLProgram.cpp cacheActiveAttribLocations(context); context 85 Source/core/html/canvas/WebGLRenderingContext.cpp OwnPtr<blink::WebGraphicsContext3D> context = adoptPtr(blink::Platform::current()->createOffscreenGraphicsContext3D(attributes, 0)); context 86 Source/core/html/canvas/WebGLRenderingContext.cpp if (!context || !context->makeContextCurrent()) { context 91 Source/core/html/canvas/WebGLRenderingContext.cpp Extensions3DUtil extensionsUtil(context.get()); context 93 Source/core/html/canvas/WebGLRenderingContext.cpp context->pushGroupMarkerEXT("WebGLRenderingContext"); context 95 Source/core/html/canvas/WebGLRenderingContext.cpp OwnPtr<WebGLRenderingContext> renderingContext = adoptPtr(new WebGLRenderingContext(canvas, context.release(), attrs)); context 107 Source/core/html/canvas/WebGLRenderingContext.cpp WebGLRenderingContext::WebGLRenderingContext(HTMLCanvasElement* passedCanvas, PassOwnPtr<blink::WebGraphicsContext3D> context, WebGLContextAttributes* requestedAttributes) context 108 Source/core/html/canvas/WebGLRenderingContext.cpp : WebGLRenderingContextBase(passedCanvas, context, requestedAttributes) context 67 Source/core/html/canvas/WebGLRenderingContext.h DEFINE_TYPE_CASTS(WebGLRenderingContext, CanvasRenderingContext, context, context 68 Source/core/html/canvas/WebGLRenderingContext.h context->is3d() && WebGLRenderingContextBase::getWebGLVersion(context) == 1, context 69 Source/core/html/canvas/WebGLRenderingContext.h context.is3d() && WebGLRenderingContextBase::getWebGLVersion(&context) == 1); context 128 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLRenderingContextBase* context = activeContexts()[ii]; context 129 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (context->webGraphicsContext3D() && candidate->webGraphicsContext3D() && context->webGraphicsContext3D()->lastFlushID() < candidate->webGraphicsContext3D()->lastFlushID()) { context 130 Source/core/html/canvas/WebGLRenderingContextBase.cpp candidate = context; context 152 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::activateContext(WebGLRenderingContextBase* context) context 160 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!activeContexts().contains(context)) context 161 Source/core/html/canvas/WebGLRenderingContextBase.cpp activeContexts().append(context); context 164 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::deactivateContext(WebGLRenderingContextBase* context, bool addToEvictedList) context 166 Source/core/html/canvas/WebGLRenderingContextBase.cpp size_t position = activeContexts().find(context); context 170 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (addToEvictedList && !forciblyEvictedContexts().contains(context)) context 171 Source/core/html/canvas/WebGLRenderingContextBase.cpp forciblyEvictedContexts().append(context); context 174 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::willDestroyContext(WebGLRenderingContextBase* context) context 176 Source/core/html/canvas/WebGLRenderingContextBase.cpp size_t position = forciblyEvictedContexts().find(context); context 180 Source/core/html/canvas/WebGLRenderingContextBase.cpp deactivateContext(context, false); context 460 Source/core/html/canvas/WebGLRenderingContextBase.cpp ScopedTexture2DRestorer(WebGLRenderingContextBase* context) context 461 Source/core/html/canvas/WebGLRenderingContextBase.cpp : m_context(context) context 499 Source/core/html/canvas/WebGLRenderingContextBase.cpp WebGLRenderingContextBase::WebGLRenderingContextBase(HTMLCanvasElement* passedCanvas, PassOwnPtr<blink::WebGraphicsContext3D> context, WebGLContextAttributes* requestedAttributes) context 502 Source/core/html/canvas/WebGLRenderingContextBase.cpp , m_context(context) context 664 Source/core/html/canvas/WebGLRenderingContextBase.cpp unsigned WebGLRenderingContextBase::getWebGLVersion(const CanvasRenderingContext* context) context 666 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!context->is3d()) context 668 Source/core/html/canvas/WebGLRenderingContextBase.cpp return static_cast<const WebGLRenderingContextBase*>(context)->version(); context 3363 Source/core/html/canvas/WebGLRenderingContextBase.cpp buf->context()->drawImage(image, destRect, srcRect); context 3478 Source/core/html/canvas/WebGLRenderingContextBase.cpp video->paintCurrentFrameInContext(buf->context(), destRect); context 5373 Source/core/html/canvas/WebGLRenderingContextBase.cpp OwnPtr<blink::WebGraphicsContext3D> context = adoptPtr(blink::Platform::current()->createOffscreenGraphicsContext3D(attributes, 0)); context 5375 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (context) { context 5382 Source/core/html/canvas/WebGLRenderingContextBase.cpp drawingBuffer = DrawingBuffer::create(context.get(), clampedCanvasSize(), preserve, contextEvictionManager.release()); context 5386 Source/core/html/canvas/WebGLRenderingContextBase.cpp context.clear(); context 5389 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!context) { context 5404 Source/core/html/canvas/WebGLRenderingContextBase.cpp m_context = context.release(); context 607 Source/core/html/canvas/WebGLRenderingContextBase.h virtual PassRefPtr<WebGLExtension> getExtension(WebGLRenderingContextBase* context) OVERRIDE context 610 Source/core/html/canvas/WebGLRenderingContextBase.h m_extension = T::create(context); context 617 Source/core/html/canvas/WebGLRenderingContextBase.h virtual bool supported(WebGLRenderingContextBase* context) const OVERRIDE context 619 Source/core/html/canvas/WebGLRenderingContextBase.h return T::supported(context); context 920 Source/core/html/canvas/WebGLRenderingContextBase.h DEFINE_TYPE_CASTS(WebGLRenderingContextBase, CanvasRenderingContext, context, context->is3d(), context.is3d()); context 35 Source/core/html/canvas/WebGLSharedObject.cpp WebGLSharedObject::WebGLSharedObject(WebGLRenderingContextBase* context) context 36 Source/core/html/canvas/WebGLSharedObject.cpp : WebGLObject(context), context 37 Source/core/html/canvas/WebGLSharedObject.cpp m_contextGroup(context->contextGroup()) context 52 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp setObject(context()->webGraphicsContext3D()->createVertexArrayOES()); context 68 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp context()->webGraphicsContext3D()->deleteVertexArrayOES(object); context 87 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp m_boundElementArrayBuffer->onDetached(context()->webGraphicsContext3D()); context 102 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp state.bufferBinding->onDetached(context()->webGraphicsContext3D()); context 117 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp m_boundElementArrayBuffer->onDetached(context()->webGraphicsContext3D()); context 124 Source/core/html/canvas/WebGLVertexArrayObjectOES.cpp buffer->onDetached(context()->webGraphicsContext3D()); context 54 Source/core/html/shadow/ClearButtonElement.cpp void ClearButtonElement::detach(const AttachContext& context) context 60 Source/core/html/shadow/ClearButtonElement.cpp HTMLDivElement::detach(context); context 100 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp void PasswordGeneratorButtonElement::attach(const AttachContext& context) context 102 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp HTMLDivElement::attach(context); context 135 Source/core/html/shadow/PickerIndicatorElement.cpp void PickerIndicatorElement::detach(const AttachContext& context) context 138 Source/core/html/shadow/PickerIndicatorElement.cpp HTMLDivElement::detach(context); context 385 Source/core/html/shadow/SliderThumbElement.cpp void SliderThumbElement::detach(const AttachContext& context) context 391 Source/core/html/shadow/SliderThumbElement.cpp HTMLDivElement::detach(context); context 63 Source/core/html/shadow/SpinButtonElement.cpp void SpinButtonElement::detach(const AttachContext& context) context 66 Source/core/html/shadow/SpinButtonElement.cpp HTMLDivElement::detach(context); context 213 Source/core/html/shadow/TextControlInnerElements.cpp void SearchFieldCancelButtonElement::detach(const AttachContext& context) context 219 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::detach(context); context 406 Source/core/html/shadow/TextControlInnerElements.cpp void InputFieldSpeechButtonElement::attach(const AttachContext& context) context 411 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::attach(context); context 414 Source/core/html/shadow/TextControlInnerElements.cpp void InputFieldSpeechButtonElement::detach(const AttachContext& context) context 428 Source/core/html/shadow/TextControlInnerElements.cpp HTMLDivElement::detach(context); context 181 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didInstallTimer(ExecutionContext* context, int timerId, bool singleShot, const ScriptValue& callFrames) context 183 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 188 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = createContextDataIfNeeded(context); context 194 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didRemoveTimer(ExecutionContext* context, int timerId) context 196 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 200 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = m_executionContextDataMap.get(context); context 207 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::willFireTimer(ExecutionContext* context, int timerId) context 209 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 213 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) { context 223 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didRequestAnimationFrame(ExecutionContext* context, int callbackId, const ScriptValue& callFrames) context 225 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 230 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = createContextDataIfNeeded(context); context 234 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didCancelAnimationFrame(ExecutionContext* context, int callbackId) context 236 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 240 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 244 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::willFireAnimationFrame(ExecutionContext* context, int callbackId) context 246 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 250 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 335 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didEnqueueMutationRecord(ExecutionContext* context, MutationObserver* observer, const ScriptValue& callFrames) context 337 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 341 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = createContextDataIfNeeded(context); context 345 Source/core/inspector/AsyncCallStackTracker.cpp bool AsyncCallStackTracker::hasEnqueuedMutationRecord(ExecutionContext* context, MutationObserver* observer) context 347 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 349 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 354 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didClearAllMutationRecords(ExecutionContext* context, MutationObserver* observer) context 356 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 358 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 362 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::willDeliverMutationRecords(ExecutionContext* context, MutationObserver* observer) context 364 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 366 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 372 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::didPostPromiseTask(ExecutionContext* context, ExecutionContextTask* task, bool isResolved, const ScriptValue& callFrames) context 374 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 377 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = createContextDataIfNeeded(context); context 381 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = createContextDataIfNeeded(context); context 386 Source/core/inspector/AsyncCallStackTracker.cpp void AsyncCallStackTracker::willPerformPromiseTask(ExecutionContext* context, ExecutionContextTask* task) context 388 Source/core/inspector/AsyncCallStackTracker.cpp ASSERT(context); context 390 Source/core/inspector/AsyncCallStackTracker.cpp if (ExecutionContextData* data = m_executionContextDataMap.get(context)) context 441 Source/core/inspector/AsyncCallStackTracker.cpp AsyncCallStackTracker::ExecutionContextData* AsyncCallStackTracker::createContextDataIfNeeded(ExecutionContext* context) context 443 Source/core/inspector/AsyncCallStackTracker.cpp ExecutionContextData* data = m_executionContextDataMap.get(context); context 445 Source/core/inspector/AsyncCallStackTracker.cpp data = new AsyncCallStackTracker::ExecutionContextData(this, context); context 446 Source/core/inspector/AsyncCallStackTracker.cpp m_executionContextDataMap.set(context, data); context 64 Source/core/inspector/InjectedScriptCanvasModule.cpp ScriptObject InjectedScriptCanvasModule::wrapCanvas2DContext(const ScriptObject& context) context 66 Source/core/inspector/InjectedScriptCanvasModule.cpp return callWrapContextFunction("wrapCanvas2DContext", context); context 74 Source/core/inspector/InjectedScriptCanvasModule.cpp ScriptObject InjectedScriptCanvasModule::callWrapContextFunction(const String& functionName, const ScriptObject& context) context 77 Source/core/inspector/InjectedScriptCanvasModule.cpp function.appendArgument(context); context 84 Source/core/inspector/InjectedScriptCanvasModule.cpp return ScriptObject(context.scriptState(), resultValue); context 83 Source/core/inspector/InspectorCSSAgent.h InlineStyleOverrideScope(SecurityContext* context) context 84 Source/core/inspector/InspectorCSSAgent.h : m_contentSecurityPolicy(context->contentSecurityPolicy()) context 190 Source/core/inspector/InspectorCanvasAgent.cpp ScriptObject InspectorCanvasAgent::wrapCanvas2DRenderingContextForInstrumentation(const ScriptObject& context) context 193 Source/core/inspector/InspectorCanvasAgent.cpp InjectedScriptCanvasModule module = injectedScriptCanvasModule(&error, context); context 196 Source/core/inspector/InspectorCanvasAgent.cpp return notifyRenderingContextWasWrapped(module.wrapCanvas2DContext(context)); context 226 Source/core/inspector/InspectorConsoleAgent.cpp void InspectorConsoleAgent::consoleTimeline(ExecutionContext* context, const String& title, ScriptState* state) context 228 Source/core/inspector/InspectorConsoleAgent.cpp m_timelineAgent->consoleTimeline(context, title, state); context 231 Source/core/inspector/InspectorConsoleAgent.cpp void InspectorConsoleAgent::consoleTimelineEnd(ExecutionContext* context, const String& title, ScriptState* state) context 233 Source/core/inspector/InspectorConsoleAgent.cpp m_timelineAgent->consoleTimelineEnd(context, title, state); context 293 Source/core/inspector/InspectorController.cpp void InspectorController::drawHighlight(GraphicsContext& context) const context 295 Source/core/inspector/InspectorController.cpp m_overlay->paint(context); context 671 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didInstallTimer(ExecutionContext* context, int timerId, int timeout, bool singleShot) context 674 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didInstallTimer(context, timerId, singleShot, scriptDebugServer().currentCallFramesForAsyncStack()); context 677 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didRemoveTimer(ExecutionContext* context, int timerId) context 680 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didRemoveTimer(context, timerId); context 683 Source/core/inspector/InspectorDebuggerAgent.cpp bool InspectorDebuggerAgent::willFireTimer(ExecutionContext* context, int timerId) context 686 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.willFireTimer(context, timerId); context 759 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didEnqueueMutationRecord(ExecutionContext* context, MutationObserver* observer) context 761 Source/core/inspector/InspectorDebuggerAgent.cpp if (m_asyncCallStackTracker.isEnabled() && !m_asyncCallStackTracker.hasEnqueuedMutationRecord(context, observer)) context 762 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didEnqueueMutationRecord(context, observer, scriptDebugServer().currentCallFramesForAsyncStack()); context 765 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didClearAllMutationRecords(ExecutionContext* context, MutationObserver* observer) context 768 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didClearAllMutationRecords(context, observer); context 771 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::willDeliverMutationRecords(ExecutionContext* context, MutationObserver* observer) context 774 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.willDeliverMutationRecords(context, observer); context 783 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::didPostPromiseTask(ExecutionContext* context, ExecutionContextTask* task, bool isResolved) context 786 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.didPostPromiseTask(context, task, isResolved, scriptDebugServer().currentCallFramesForAsyncStack()); context 789 Source/core/inspector/InspectorDebuggerAgent.cpp void InspectorDebuggerAgent::willPerformPromiseTask(ExecutionContext* context, ExecutionContextTask* task) context 792 Source/core/inspector/InspectorDebuggerAgent.cpp m_asyncCallStackTracker.willPerformPromiseTask(context, task); context 224 Source/core/inspector/InspectorInstrumentation.cpp InstrumentingAgents* instrumentingAgentsForNonDocumentContext(ExecutionContext* context) context 226 Source/core/inspector/InspectorInstrumentation.cpp if (context->isWorkerGlobalScope()) context 227 Source/core/inspector/InspectorInstrumentation.cpp return instrumentationForWorkerGlobalScope(toWorkerGlobalScope(context)); context 145 Source/core/inspector/InspectorInstrumentation.h inline InstrumentingAgents* instrumentingAgentsFor(ExecutionContext* context) context 147 Source/core/inspector/InspectorInstrumentation.h if (!context) context 149 Source/core/inspector/InspectorInstrumentation.h return context->isDocument() ? instrumentingAgentsFor(*toDocument(context)) : instrumentingAgentsForNonDocumentContext(context); context 331 Source/core/inspector/InspectorLayerTreeAgent.cpp GraphicsContext* context = recorder.record(size, layer->contentsOpaque()); context 332 Source/core/inspector/InspectorLayerTreeAgent.cpp layer->paint(*context, IntRect(IntPoint(0, 0), size)); context 105 Source/core/inspector/InspectorOverlay.cpp void drawOutlinedQuad(GraphicsContext* context, const FloatQuad& quad, const Color& fillColor, const Color& outlineColor) context 114 Source/core/inspector/InspectorOverlay.cpp context->save(); context 115 Source/core/inspector/InspectorOverlay.cpp context->clipOut(quadPath); context 117 Source/core/inspector/InspectorOverlay.cpp context->setStrokeThickness(outlineThickness); context 118 Source/core/inspector/InspectorOverlay.cpp context->setStrokeColor(outlineColor); context 119 Source/core/inspector/InspectorOverlay.cpp context->strokePath(quadPath); context 121 Source/core/inspector/InspectorOverlay.cpp context->restore(); context 125 Source/core/inspector/InspectorOverlay.cpp context->setFillColor(fillColor); context 126 Source/core/inspector/InspectorOverlay.cpp context->fillPath(quadPath); context 258 Source/core/inspector/InspectorOverlay.cpp void InspectorOverlay::paint(GraphicsContext& context) context 262 Source/core/inspector/InspectorOverlay.cpp GraphicsContextStateSaver stateSaver(context); context 265 Source/core/inspector/InspectorOverlay.cpp view->paint(&context, IntRect(0, 0, view->width(), view->height())); context 322 Source/core/inspector/InspectorOverlay.cpp void InspectorOverlay::drawOutline(GraphicsContext* context, const LayoutRect& rect, const Color& color) context 325 Source/core/inspector/InspectorOverlay.cpp drawOutlinedQuad(context, outlineRect, Color(), color); context 1016 Source/core/inspector/InspectorPageAgent.cpp void InspectorPageAgent::didPaint(RenderObject*, const GraphicsLayer*, GraphicsContext* context, const LayoutRect& rect) context 1030 Source/core/inspector/InspectorPageAgent.cpp m_overlay->drawOutline(context, inflatedRect, colors[colorSelector++ % WTF_ARRAY_LENGTH(colors)]); context 237 Source/core/inspector/InspectorTimelineAgent.cpp static LocalFrame* frameForExecutionContext(ExecutionContext* context) context 240 Source/core/inspector/InspectorTimelineAgent.cpp if (context->isDocument()) context 241 Source/core/inspector/InspectorTimelineAgent.cpp frame = toDocument(context)->frame(); context 462 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willCallFunction(ExecutionContext* context, int scriptId, const String& scriptName, int scriptLine) context 464 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createFunctionCallData(scriptId, scriptName, scriptLine), TimelineRecordType::FunctionCall, true, frameForExecutionContext(context)); context 692 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didInstallTimer(ExecutionContext* context, int timerId, int timeout, bool singleShot) context 694 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createTimerInstallData(timerId, timeout, singleShot), TimelineRecordType::TimerInstall, true, frameForExecutionContext(context)); context 697 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didRemoveTimer(ExecutionContext* context, int timerId) context 699 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createGenericTimerData(timerId), TimelineRecordType::TimerRemove, true, frameForExecutionContext(context)); context 702 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willFireTimer(ExecutionContext* context, int timerId) context 704 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createGenericTimerData(timerId), TimelineRecordType::TimerFire, false, frameForExecutionContext(context)); context 713 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willDispatchXHRReadyStateChangeEvent(ExecutionContext* context, XMLHttpRequest* request) context 717 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createXHRReadyStateChangeData(request->url().string(), request->readyState()), TimelineRecordType::XHRReadyStateChange, false, frameForExecutionContext(context)); context 726 Source/core/inspector/InspectorTimelineAgent.cpp bool InspectorTimelineAgent::willDispatchXHRLoadEvent(ExecutionContext* context, XMLHttpRequest* request) context 730 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createXHRLoadData(request->url().string()), TimelineRecordType::XHRLoad, true, frameForExecutionContext(context)); context 788 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::consoleTimeStamp(ExecutionContext* context, const String& title) context 790 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createTimeStampData(title), TimelineRecordType::TimeStamp, true, frameForExecutionContext(context)); context 793 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::consoleTime(ExecutionContext* context, const String& message) context 795 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createConsoleTimeData(message), TimelineRecordType::ConsoleTime, false, frameForExecutionContext(context)); context 799 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::consoleTimeEnd(ExecutionContext* context, const String& message, ScriptState*) context 810 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::consoleTimeline(ExecutionContext* context, const String& title, ScriptState* state) context 823 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createTimeStampData(message), TimelineRecordType::TimeStamp, true, frameForExecutionContext(context)); context 826 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::consoleTimelineEnd(ExecutionContext* context, const String& title, ScriptState* state) context 839 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createTimeStampData(message), TimelineRecordType::TimeStamp, true, frameForExecutionContext(context)); context 76 Source/core/inspector/WorkerInspectorController.cpp WorkerStateClient(WorkerGlobalScope* context) : m_workerGlobalScope(context) { } context 87 Source/core/inspector/WorkerRuntimeAgent.cpp void WorkerRuntimeAgent::willEvaluateWorkerScript(WorkerGlobalScope* context, int workerThreadStartMode) context 95 Source/core/inspector/WorkerRuntimeAgent.cpp result = context->thread()->runLoop().runDebuggerTask(); context 43 Source/core/inspector/WorkerRuntimeAgent.h static PassOwnPtr<WorkerRuntimeAgent> create(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* context) context 45 Source/core/inspector/WorkerRuntimeAgent.h return adoptPtr(new WorkerRuntimeAgent(injectedScriptManager, scriptDebugServer, context)); context 46 Source/core/loader/ThreadableLoader.cpp PassRefPtr<ThreadableLoader> ThreadableLoader::create(ExecutionContext* context, ThreadableLoaderClient* client, const ResourceRequest& request, const ThreadableLoaderOptions& options) context 49 Source/core/loader/ThreadableLoader.cpp ASSERT(context); context 51 Source/core/loader/ThreadableLoader.cpp if (context->isWorkerGlobalScope()) { context 52 Source/core/loader/ThreadableLoader.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 58 Source/core/loader/ThreadableLoader.cpp return DocumentThreadableLoader::create(toDocument(context), client, request, options); context 61 Source/core/loader/ThreadableLoader.cpp void ThreadableLoader::loadResourceSynchronously(ExecutionContext* context, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) context 63 Source/core/loader/ThreadableLoader.cpp ASSERT(context); context 65 Source/core/loader/ThreadableLoader.cpp if (context->isWorkerGlobalScope()) { context 66 Source/core/loader/ThreadableLoader.cpp WorkerThreadableLoader::loadResourceSynchronously(toWorkerGlobalScope(context), request, client, options); context 70 Source/core/loader/ThreadableLoader.cpp DocumentThreadableLoader::loadResourceSynchronously(toDocument(context), request, client, options); context 52 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidSendData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long long bytesSent, unsigned long long totalBytesToBeSent) context 54 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 63 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidReceiveResponse(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long identifier, PassOwnPtr<CrossThreadResourceResponseData> responseData) context 65 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 75 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidReceiveData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) context 77 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 88 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidDownloadData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, int dataLength) context 90 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 99 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidReceiveCachedMetadata(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData) context 101 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 112 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidFinishLoading(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, unsigned long identifier, double finishTime) context 114 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 123 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidFail(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, const ResourceError& error) context 125 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 134 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidFailAccessControlCheck(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, const ResourceError& error) context 136 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 145 Source/core/loader/WorkerLoaderClientBridge.cpp static void workerGlobalScopeDidFailRedirectCheck(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper) context 147 Source/core/loader/WorkerLoaderClientBridge.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 123 Source/core/loader/WorkerThreadableLoader.cpp void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ExecutionContext* context, MainThreadBridge* thisPtr, PassOwnPtr<CrossThreadResourceRequestData> requestData, ThreadableLoaderOptions options, const String& outgoingReferrer) context 126 Source/core/loader/WorkerThreadableLoader.cpp Document* document = toDocument(context); context 138 Source/core/loader/WorkerThreadableLoader.cpp void WorkerThreadableLoader::MainThreadBridge::mainThreadDestroy(ExecutionContext* context, MainThreadBridge* thisPtr) context 141 Source/core/loader/WorkerThreadableLoader.cpp ASSERT_UNUSED(context, context->isDocument()); context 155 Source/core/loader/WorkerThreadableLoader.cpp void WorkerThreadableLoader::MainThreadBridge::mainThreadCancel(ExecutionContext* context, MainThreadBridge* thisPtr) context 158 Source/core/loader/WorkerThreadableLoader.cpp ASSERT_UNUSED(context, context->isDocument()); context 151 Source/core/page/DragController.cpp static PassRefPtr<DocumentFragment> documentFragmentFromDragData(DragData* dragData, LocalFrame* frame, RefPtrWillBeRawPtr<Range> context, context 157 Source/core/page/DragController.cpp Document& document = context->ownerDocument(); context 159 Source/core/page/DragController.cpp if (PassRefPtr<DocumentFragment> fragment = dragData->asFragment(frame, context, allowPlainText, chosePlainText)) context 185 Source/core/page/DragController.cpp return createFragmentFromText(context.get(), dragData->asPlainText()).get(); context 70 Source/core/page/DragData.h PassRefPtr<DocumentFragment> asFragment(LocalFrame*, PassRefPtrWillBeRawPtr<Range> context, bool allowPlainText, bool& chosePlainText) const; context 60 Source/core/page/EventSource.cpp inline EventSource::EventSource(ExecutionContext* context, const KURL& url, const Dictionary& eventSourceInit) context 61 Source/core/page/EventSource.cpp : ActiveDOMObject(context) context 75 Source/core/page/EventSource.cpp PassRefPtrWillBeRawPtr<EventSource> EventSource::create(ExecutionContext* context, const String& url, const Dictionary& eventSourceInit, ExceptionState& exceptionState) context 82 Source/core/page/EventSource.cpp KURL fullURL = context->completeURL(url); context 90 Source/core/page/EventSource.cpp if (context->isDocument()) { context 91 Source/core/page/EventSource.cpp Document* document = toDocument(context); context 94 Source/core/page/EventSource.cpp if (!shouldBypassMainWorldContentSecurityPolicy && !context->contentSecurityPolicy()->allowConnectToSource(fullURL)) { context 100 Source/core/page/EventSource.cpp RefPtrWillBeRawPtr<EventSource> source = adoptRefWillBeRefCountedGarbageCollected(new EventSource(context, fullURL, eventSourceInit)); context 32 Source/core/page/PageLifecycleNotifier.cpp PageLifecycleNotifier::PageLifecycleNotifier(Page* context) context 33 Source/core/page/PageLifecycleNotifier.cpp : LifecycleNotifier<Page>(context) context 56 Source/core/page/PageLifecycleNotifier.h inline PassOwnPtr<PageLifecycleNotifier> PageLifecycleNotifier::create(Page* context) context 58 Source/core/page/PageLifecycleNotifier.h return adoptPtr(new PageLifecycleNotifier(context)); context 34 Source/core/page/PageLifecycleObserver.cpp template<> void observerContext(Page* context, LifecycleObserver<Page>* observer) context 36 Source/core/page/PageLifecycleObserver.cpp context->wasObservedBy(observer); context 39 Source/core/page/PageLifecycleObserver.cpp template<> void unobserverContext(Page* context, LifecycleObserver<Page>* observer) context 41 Source/core/page/PageLifecycleObserver.cpp context->wasUnobservedBy(observer); context 37 Source/core/rendering/BidiRun.h BidiRun(int start, int stop, RenderObject* object, BidiContext* context, WTF::Unicode::Direction dir) context 38 Source/core/rendering/BidiRun.h : BidiCharacterRun(start, stop, context, dir) context 38 Source/core/rendering/EllipsisBox.cpp GraphicsContext* context = paintInfo.context; context 47 Source/core/rendering/EllipsisBox.cpp GraphicsContextStateSaver stateSaver(*context); context 49 Source/core/rendering/EllipsisBox.cpp context->concatCTM(InlineTextBox::rotation(boxRect, InlineTextBox::Clockwise)); context 53 Source/core/rendering/EllipsisBox.cpp if (styleTextColor != context->fillColor()) context 54 Source/core/rendering/EllipsisBox.cpp context->setFillColor(styleTextColor); context 57 Source/core/rendering/EllipsisBox.cpp paintSelection(context, boxOrigin, style, font); context 62 Source/core/rendering/EllipsisBox.cpp context->setFillColor(foreground); context 66 Source/core/rendering/EllipsisBox.cpp const ShadowList* shadowList = context->printing() ? 0 : style->textShadow(); context 79 Source/core/rendering/EllipsisBox.cpp context->setDrawLooper(drawLooperBuilder.release()); context 85 Source/core/rendering/EllipsisBox.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 88 Source/core/rendering/EllipsisBox.cpp if (styleTextColor != context->fillColor()) context 89 Source/core/rendering/EllipsisBox.cpp context->setFillColor(styleTextColor); context 92 Source/core/rendering/EllipsisBox.cpp context->clearDrawLooper(); context 135 Source/core/rendering/EllipsisBox.cpp void EllipsisBox::paintSelection(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font) context 147 Source/core/rendering/EllipsisBox.cpp GraphicsContextStateSaver stateSaver(*context); context 155 Source/core/rendering/EllipsisBox.cpp context->clip(clipRect); context 156 Source/core/rendering/EllipsisBox.cpp context->drawHighlightForText(font, RenderBlockFlow::constructTextRun(&renderer(), font, m_str, style, TextRun::AllowTrailingExpansion), localOrigin, h, c); context 83 Source/core/rendering/FilterEffectRenderer.cpp return sourceImage() ? sourceImage()->context() : 0; context 85 Source/core/rendering/GraphicsContextAnnotator.cpp ASSERT(paintInfo.context); context 88 Source/core/rendering/GraphicsContextAnnotator.cpp AnnotationModeFlags mode = paintInfo.context->annotationMode(); context 124 Source/core/rendering/GraphicsContextAnnotator.cpp m_context = paintInfo.context; context 37 Source/core/rendering/GraphicsContextAnnotator.h if (UNLIKELY(paintInfo.context->annotationMode())) \ context 63 Source/core/rendering/ImageQualityController.cpp InterpolationQuality ImageQualityController::chooseInterpolationQuality(GraphicsContext* context, RenderObject* object, Image* image, const void* layer, const LayoutSize& layoutSize) context 68 Source/core/rendering/ImageQualityController.cpp if (shouldPaintAtLowQuality(context, object, image, layer, layoutSize)) context 145 Source/core/rendering/ImageQualityController.cpp bool ImageQualityController::shouldPaintAtLowQuality(GraphicsContext* context, RenderObject* object, Image* image, const void *layer, const LayoutSize& layoutSize) context 149 Source/core/rendering/ImageQualityController.cpp if (!image || !image->isBitmapImage() || context->paintingDisabled()) context 168 Source/core/rendering/ImageQualityController.cpp const AffineTransform& currentTransform = context->getCTM(); context 1182 Source/core/rendering/InlineFlowBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 1183 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); context 1212 Source/core/rendering/InlineFlowBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 1213 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(LayoutRect(rect.x(), rect.y(), width(), height())); context 1291 Source/core/rendering/InlineFlowBox.cpp GraphicsContext* context = paintInfo.context; context 1340 Source/core/rendering/InlineFlowBox.cpp GraphicsContextStateSaver stateSaver(*context); context 1341 Source/core/rendering/InlineFlowBox.cpp context->clip(clipRect); context 1377 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->setCompositeOperation(CompositeDestinationIn); context 1378 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->beginTransparencyLayer(1.0f); context 1389 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->endLayer(); context 1396 Source/core/rendering/InlineFlowBox.cpp boxModelObject()->paintNinePieceImage(paintInfo.context, LayoutRect(adjustedPaintOffset, frameRect.size()), renderer().style(), maskNinePieceImage, compositeOp); context 1412 Source/core/rendering/InlineFlowBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 1413 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->clip(clipRect); context 1414 Source/core/rendering/InlineFlowBox.cpp boxModelObject()->paintNinePieceImage(paintInfo.context, LayoutRect(stripX, stripY, stripWidth, stripHeight), renderer().style(), maskNinePieceImage, compositeOp); context 1418 Source/core/rendering/InlineFlowBox.cpp paintInfo.context->endLayer(); context 495 Source/core/rendering/InlineIterator.h inline BidiRun* InlineBidiResolver::addTrailingRun(int start, int stop, BidiRun* run, BidiContext* context, TextDirection direction) context 497 Source/core/rendering/InlineIterator.h BidiRun* newTrailingRun = new BidiRun(start, stop, run->m_object, context, WTF::Unicode::OtherNeutral); context 553 Source/core/rendering/InlineIterator.h BidiRun* isolatedRun = new BidiRun(pos, pos, obj, resolver.context(), resolver.dir()); context 563 Source/core/rendering/InlineIterator.h return new BidiRun(start, end, obj, resolver.context(), resolver.dir()); context 345 Source/core/rendering/InlineTextBox.cpp void updateGraphicsContext(GraphicsContext* context, const Color& fillColor, const Color& strokeColor, float strokeThickness) context 347 Source/core/rendering/InlineTextBox.cpp TextDrawingModeFlags mode = context->textDrawingMode(); context 351 Source/core/rendering/InlineTextBox.cpp context->setTextDrawingMode(newMode); context 356 Source/core/rendering/InlineTextBox.cpp if (mode & TextModeFill && fillColor != context->fillColor()) context 357 Source/core/rendering/InlineTextBox.cpp context->setFillColor(fillColor); context 360 Source/core/rendering/InlineTextBox.cpp if (strokeColor != context->strokeColor()) context 361 Source/core/rendering/InlineTextBox.cpp context->setStrokeColor(strokeColor); context 362 Source/core/rendering/InlineTextBox.cpp if (strokeThickness != context->strokeThickness()) context 363 Source/core/rendering/InlineTextBox.cpp context->setStrokeThickness(strokeThickness); context 388 Source/core/rendering/InlineTextBox.cpp static void paintTextWithShadows(GraphicsContext* context, context 396 Source/core/rendering/InlineTextBox.cpp bool hasShadow = shadowList && !context->printing(); context 409 Source/core/rendering/InlineTextBox.cpp context->setDrawLooper(drawLooperBuilder.release()); context 418 Source/core/rendering/InlineTextBox.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 420 Source/core/rendering/InlineTextBox.cpp context->drawEmphasisMarks(font, textRunPaintInfo, emphasisMark, textOrigin + IntSize(0, emphasisMarkOffset)); context 426 Source/core/rendering/InlineTextBox.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 428 Source/core/rendering/InlineTextBox.cpp context->drawEmphasisMarks(font, textRunPaintInfo, emphasisMark, textOrigin + IntSize(0, emphasisMarkOffset)); context 434 Source/core/rendering/InlineTextBox.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 436 Source/core/rendering/InlineTextBox.cpp context->drawEmphasisMarks(font, textRunPaintInfo, emphasisMark, textOrigin + IntSize(0, emphasisMarkOffset)); context 441 Source/core/rendering/InlineTextBox.cpp context->clearDrawLooper(); context 514 Source/core/rendering/InlineTextBox.cpp GraphicsContext* context = paintInfo.context; context 530 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Clockwise)); context 543 Source/core/rendering/InlineTextBox.cpp const ShadowList* textShadow = (context->printing() || paintInfo.forceBlackText()) ? 0 : styleToUse->textShadow(); context 603 Source/core/rendering/InlineTextBox.cpp const ShadowList* shadow = (context->printing() || paintInfo.forceBlackText()) ? 0 : pseudoStyle->textShadow(); context 639 Source/core/rendering/InlineTextBox.cpp paintCompositionBackground(context, boxOrigin, styleToUse, font, context 644 Source/core/rendering/InlineTextBox.cpp paintDocumentMarkers(context, boxOrigin, styleToUse, font, true); context 647 Source/core/rendering/InlineTextBox.cpp paintSelection(context, boxOrigin, styleToUse, font, selectionFillColor); context 690 Source/core/rendering/InlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context, textStrokeWidth > 0); context 692 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, textFillColor, textStrokeColor, textStrokeWidth); context 695 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, 0, length, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal()); context 697 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, ePos, sPos, length, textOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal()); context 701 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, emphasisMarkColor, textStrokeColor, textStrokeWidth); context 707 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Clockwise)); context 721 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, startOffset, endOffset, paintRunLength, emphasisMarkTextOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal()); context 724 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Counterclockwise)); context 730 Source/core/rendering/InlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context, selectionStrokeWidth > 0); context 732 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, selectionFillColor, selectionStrokeColor, selectionStrokeWidth); context 733 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, sPos, ePos, length, textOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal()); context 735 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, selectionEmphasisMarkColor, textStrokeColor, textStrokeWidth); context 741 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Clockwise)); context 746 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, startOffset, endOffset, paintRunLength, emphasisMarkTextOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal()); context 749 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Counterclockwise)); context 756 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, textFillColor, textStrokeColor, textStrokeWidth); context 758 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Clockwise)); context 759 Source/core/rendering/InlineTextBox.cpp paintDecoration(context, boxOrigin, textDecorations, textShadow); context 761 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Counterclockwise)); context 765 Source/core/rendering/InlineTextBox.cpp paintDocumentMarkers(context, boxOrigin, styleToUse, font, false); context 782 Source/core/rendering/InlineTextBox.cpp paintCompositionUnderline(context, boxOrigin, underline); context 794 Source/core/rendering/InlineTextBox.cpp context->concatCTM(rotation(boxRect, Counterclockwise)); context 822 Source/core/rendering/InlineTextBox.cpp void InlineTextBox::paintSelection(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font, Color textColor) context 824 Source/core/rendering/InlineTextBox.cpp if (context->paintingDisabled()) context 842 Source/core/rendering/InlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context); context 843 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, c, c, 0); // Don't draw text at all! context 869 Source/core/rendering/InlineTextBox.cpp context->clip(clipRect); context 871 Source/core/rendering/InlineTextBox.cpp context->drawHighlightForText(font, textRun, localOrigin, selHeight, c, sPos, ePos); context 874 Source/core/rendering/InlineTextBox.cpp void InlineTextBox::paintCompositionBackground(GraphicsContext* context, const FloatPoint& boxOrigin, RenderStyle* style, const Font& font, int startPos, int endPos) context 883 Source/core/rendering/InlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context); context 887 Source/core/rendering/InlineTextBox.cpp updateGraphicsContext(context, c, c, 0); // Don't draw text at all! context 892 Source/core/rendering/InlineTextBox.cpp context->drawHighlightForText(font, constructTextRun(style, font), localOrigin, selHeight, c, sPos, ePos); context 987 Source/core/rendering/InlineTextBox.cpp static void strokeWavyTextDecoration(GraphicsContext* context, FloatPoint p1, FloatPoint p2, float strokeThickness) context 989 Source/core/rendering/InlineTextBox.cpp context->adjustLineToPixelBoundaries(p1, p2, strokeThickness, context->strokeStyle()); context 1060 Source/core/rendering/InlineTextBox.cpp context->setShouldAntialias(true); context 1061 Source/core/rendering/InlineTextBox.cpp context->strokePath(path); context 1074 Source/core/rendering/InlineTextBox.cpp static void paintAppliedDecoration(GraphicsContext* context, FloatPoint start, float width, float doubleOffset, int wavyOffsetFactor, context 1077 Source/core/rendering/InlineTextBox.cpp context->setStrokeStyle(textDecorationStyleToStrokeStyle(decoration.style)); context 1078 Source/core/rendering/InlineTextBox.cpp context->setStrokeColor(decoration.color); context 1082 Source/core/rendering/InlineTextBox.cpp strokeWavyTextDecoration(context, start + FloatPoint(0, doubleOffset * wavyOffsetFactor), start + FloatPoint(width, doubleOffset * wavyOffsetFactor), thickness); context 1086 Source/core/rendering/InlineTextBox.cpp context->setShouldAntialias(antialiasDecoration); context 1089 Source/core/rendering/InlineTextBox.cpp context->drawLineForText(start, width, isPrinting); context 1092 Source/core/rendering/InlineTextBox.cpp context->drawLineForText(start + FloatPoint(0, doubleOffset), width, isPrinting); context 1096 Source/core/rendering/InlineTextBox.cpp void InlineTextBox::paintDecoration(GraphicsContext* context, const FloatPoint& boxOrigin, TextDecoration deco, const ShadowList* shadowList) context 1098 Source/core/rendering/InlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context); context 1137 Source/core/rendering/InlineTextBox.cpp context->setStrokeThickness(textDecorationThickness); context 1140 Source/core/rendering/InlineTextBox.cpp && RenderBoxModelObject::shouldAntialiasLines(context); context 1155 Source/core/rendering/InlineTextBox.cpp context->clip(clipRect); context 1171 Source/core/rendering/InlineTextBox.cpp context->setShadow(FloatSize(shadowX, shadowY - extraOffset), shadow.blur(), shadow.color()); context 1179 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin + FloatPoint(0, underlineOffset), width, doubleOffset, 1, underline, textDecorationThickness, antialiasDecoration, isPrinting); context 1182 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin, width, -doubleOffset, 1, overline, textDecorationThickness, antialiasDecoration, isPrinting); context 1186 Source/core/rendering/InlineTextBox.cpp paintAppliedDecoration(context, localOrigin + FloatPoint(0, lineThroughOffset), width, doubleOffset, 0, linethrough, textDecorationThickness, antialiasDecoration, isPrinting); context 55 Source/core/rendering/PaintInfo.h : context(newContext) context 93 Source/core/rendering/PaintInfo.h context->concatCTM(localToAncestorTransform); context 111 Source/core/rendering/PaintInfo.h GraphicsContext* context; context 1745 Source/core/rendering/RenderBlock.cpp GraphicsContextCullSaver cullSaver(*paintInfo.context); context 1761 Source/core/rendering/RenderBlock.cpp layer()->scrollableArea()->paintOverflowControls(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect, false /* paintingOverlayControls */); context 1766 Source/core/rendering/RenderBlock.cpp if (paintInfo.context->paintingDisabled()) context 1781 Source/core/rendering/RenderBlock.cpp bool antialias = shouldAntialiasLines(paintInfo.context); context 1810 Source/core/rendering/RenderBlock.cpp drawLineForBoxSide(paintInfo.context, pixelSnappedRuleRect.x(), pixelSnappedRuleRect.y(), pixelSnappedRuleRect.maxX(), pixelSnappedRuleRect.maxY(), boxSide, ruleColor, ruleStyle, 0, 0, antialias); context 1847 Source/core/rendering/RenderBlock.cpp drawLineForBoxSide(paintInfo.context, pixelSnappedRuleRect.x(), pixelSnappedRuleRect.y(), pixelSnappedRuleRect.maxX(), pixelSnappedRuleRect.maxY(), boxSide, ruleColor, ruleStyle, 0, 0, antialias); context 1855 Source/core/rendering/RenderBlock.cpp GraphicsContext* context = paintInfo.context; context 1879 Source/core/rendering/RenderBlock.cpp GraphicsContextStateSaver stateSaver(*context); context 1892 Source/core/rendering/RenderBlock.cpp context->clip(pixelSnappedIntRect(clipRect)); context 1999 Source/core/rendering/RenderBlock.cpp frame()->selection().paintCaret(paintInfo.context, paintOffset, paintInfo.rect); context 2001 Source/core/rendering/RenderBlock.cpp frame()->page()->dragCaretController().paintDragCaret(frame(), paintInfo.context, paintOffset, paintInfo.rect); context 2230 Source/core/rendering/RenderBlock.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 2256 Source/core/rendering/RenderBlock.cpp paintInfo->context->clipOut(IntRect(offset.x() + r->x(), offset.y() + r->y(), r->width(), r->height())); context 2404 Source/core/rendering/RenderBlock.cpp paintInfo->context->fillRect(pixelSnappedIntRect(gapRect), selectionBackgroundColor()); context 2420 Source/core/rendering/RenderBlock.cpp paintInfo->context->fillRect(pixelSnappedIntRect(gapRect), selObj->selectionBackgroundColor()); context 2436 Source/core/rendering/RenderBlock.cpp paintInfo->context->fillRect(pixelSnappedIntRect(gapRect), selObj->selectionBackgroundColor()); context 2052 Source/core/rendering/RenderBlockFlow.cpp paintInfo->context->clipOut(pixelSnappedIntRect(floatBox)); context 2687 Source/core/rendering/RenderBlockFlow.cpp static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) context 2696 Source/core/rendering/RenderBlockFlow.cpp run.setRenderingContext(SVGTextRunRenderingContext::create(context)); context 2702 Source/core/rendering/RenderBlockFlow.cpp static inline TextRun constructTextRunInternal(RenderObject* context, const Font& font, const CharacterType* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags) context 2717 Source/core/rendering/RenderBlockFlow.cpp run.setRenderingContext(SVGTextRunRenderingContext::create(context)); context 2722 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const LChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) context 2724 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, characters, length, style, direction, expansion); context 2727 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const UChar* characters, int length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) context 2729 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, characters, length, style, direction, expansion); context 2732 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) context 2735 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters8(), text->textLength(), style, direction, expansion); context 2736 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters16(), text->textLength(), style, direction, expansion); context 2739 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion) context 2743 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters8() + offset, length, style, direction, expansion); context 2744 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, text->characters16() + offset, length, style, direction, expansion); context 2747 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags) context 2751 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, static_cast<const LChar*>(0), length, style, direction, expansion, flags); context 2753 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, string.characters8(), length, style, direction, expansion, flags); context 2754 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, string.characters16(), length, style, direction, expansion, flags); context 2757 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextRun::ExpansionBehavior expansion, TextRunFlags flags) context 2760 Source/core/rendering/RenderBlockFlow.cpp return constructTextRun(context, font, string, style, context 2765 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const RenderText* text, unsigned offset, unsigned length, RenderStyle* style, TextRun::ExpansionBehavior expansion) context 2769 Source/core/rendering/RenderBlockFlow.cpp ? constructTextRunInternal(context, font, text->characters8() + offset, length, style, LTR, expansion) context 2770 Source/core/rendering/RenderBlockFlow.cpp : constructTextRunInternal(context, font, text->characters16() + offset, length, style, LTR, expansion); context 175 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, context 177 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, context 181 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const String&, RenderStyle*, TextDirection, context 184 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, RenderStyle*, TextDirection, context 187 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, unsigned length, RenderStyle*, TextDirection, context 190 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const RenderText*, unsigned offset, RenderStyle*, context 193 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const LChar* characters, int length, RenderStyle*, TextDirection, context 196 Source/core/rendering/RenderBlockFlow.h static TextRun constructTextRun(RenderObject* context, const Font&, const UChar* characters, int length, RenderStyle*, TextDirection, context 739 Source/core/rendering/RenderBlockLineLayout.cpp RefPtr<BidiContext> context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride, FromStyleOrDOM); context 742 Source/core/rendering/RenderBlockLineLayout.cpp return BidiStatus(direction, direction, direction, context.release()); context 1008 Source/core/rendering/RenderBlockLineLayout.cpp if (isNewUBAParagraph && styleToUse->unicodeBidi() == Plaintext && !resolver.context()->parent()) { context 1030 Source/core/rendering/RenderBlockLineLayout.cpp RootInlineBox* lineBox = createLineBoxesFromBidiRuns(resolver.status().context->level(), bidiRuns, endOfLine, layoutState.lineInfo(), verticalPositionCache, trailingSpaceRun, wordMeasurements); context 1149 Source/core/rendering/RenderBox.cpp BackgroundBleedAvoidance RenderBox::determineBackgroundBleedAvoidance(GraphicsContext* context) const context 1151 Source/core/rendering/RenderBox.cpp if (context->paintingDisabled()) context 1159 Source/core/rendering/RenderBox.cpp AffineTransform ctm = context->getCTM(); context 1196 Source/core/rendering/RenderBox.cpp BackgroundBleedAvoidance bleedAvoidance = determineBackgroundBleedAvoidance(paintInfo.context); context 1203 Source/core/rendering/RenderBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context, false); context 1207 Source/core/rendering/RenderBox.cpp paintInfo.context->clipRoundedRect(border); context 1410 Source/core/rendering/RenderBox.cpp if (!paintInfo.shouldPaintWithinRoot(this) || style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask || paintInfo.context->paintingDisabled()) context 1419 Source/core/rendering/RenderBox.cpp if (!paintInfo.shouldPaintWithinRoot(this) || style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseClippingMask || paintInfo.context->paintingDisabled()) context 1430 Source/core/rendering/RenderBox.cpp paintInfo.context->fillRect(pixelSnappedIntRect(paintRect), Color::black); context 1455 Source/core/rendering/RenderBox.cpp paintInfo.context->setCompositeOperation(CompositeDestinationIn); context 1456 Source/core/rendering/RenderBox.cpp paintInfo.context->beginTransparencyLayer(1); context 1462 Source/core/rendering/RenderBox.cpp paintNinePieceImage(paintInfo.context, paintRect, style(), style()->maskBoxImage(), compositeOp); context 1466 Source/core/rendering/RenderBox.cpp paintInfo.context->endLayer(); context 1518 Source/core/rendering/RenderBox.cpp GraphicsContext* context = paintInfo.context; context 1519 Source/core/rendering/RenderBox.cpp if (!context) context 1522 Source/core/rendering/RenderBox.cpp context->beginTransparencyLayer(1); context 1529 Source/core/rendering/RenderBox.cpp context->endLayer(); context 1664 Source/core/rendering/RenderBox.cpp paintInfo.context->save(); context 1666 Source/core/rendering/RenderBox.cpp paintInfo.context->clipRoundedRect(clipRoundedRect); context 1667 Source/core/rendering/RenderBox.cpp paintInfo.context->clip(pixelSnappedIntRect(clipRect)); context 1675 Source/core/rendering/RenderBox.cpp paintInfo.context->restore(); context 103 Source/core/rendering/RenderBoxModelObject.cpp InterpolationQuality RenderBoxModelObject::chooseInterpolationQuality(GraphicsContext* context, Image* image, const void* layer, const LayoutSize& size) context 105 Source/core/rendering/RenderBoxModelObject.cpp return ImageQualityController::imageQualityController()->chooseInterpolationQuality(context, this, image, layer, size); context 411 Source/core/rendering/RenderBoxModelObject.cpp void RenderBoxModelObject::clipRoundedInnerRect(GraphicsContext * context, const LayoutRect& rect, const RoundedRect& clipRect) context 414 Source/core/rendering/RenderBoxModelObject.cpp context->clipRoundedRect(clipRect); context 421 Source/core/rendering/RenderBoxModelObject.cpp context->clipRoundedRect(RoundedRect(topCorner, topCornerRadii)); context 426 Source/core/rendering/RenderBoxModelObject.cpp context->clipRoundedRect(RoundedRect(bottomCorner, bottomCornerRadii)); context 433 Source/core/rendering/RenderBoxModelObject.cpp context->clipRoundedRect(RoundedRect(topCorner, topCornerRadii)); context 438 Source/core/rendering/RenderBoxModelObject.cpp context->clipRoundedRect(RoundedRect(bottomCorner, bottomCornerRadii)); context 443 Source/core/rendering/RenderBoxModelObject.cpp static LayoutRect shrinkRectByOnePixel(GraphicsContext* context, const LayoutRect& rect) context 446 Source/core/rendering/RenderBoxModelObject.cpp AffineTransform transform = context->getCTM(); context 452 Source/core/rendering/RenderBoxModelObject.cpp LayoutRect RenderBoxModelObject::borderInnerRectAdjustedForBleedAvoidance(GraphicsContext* context, const LayoutRect& rect, BackgroundBleedAvoidance bleedAvoidance) const context 455 Source/core/rendering/RenderBoxModelObject.cpp return (bleedAvoidance == BackgroundBleedBackgroundOverBorder) ? shrinkRectByOnePixel(context, rect) : rect; context 458 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect RenderBoxModelObject::backgroundRoundedRectAdjustedForBleedAvoidance(GraphicsContext* context, const LayoutRect& borderRect, BackgroundBleedAvoidance bleedAvoidance, InlineFlowBox* box, const LayoutSize& boxSize, bool includeLogicalLeftEdge, bool includeLogicalRightEdge) const context 462 Source/core/rendering/RenderBoxModelObject.cpp return getBackgroundRoundedRect(shrinkRectByOnePixel(context, borderRect), box, boxSize.width(), boxSize.height(), includeLogicalLeftEdge, includeLogicalRightEdge); context 470 Source/core/rendering/RenderBoxModelObject.cpp static void applyBoxShadowForBackground(GraphicsContext* context, const RenderObject* renderer) context 479 Source/core/rendering/RenderBoxModelObject.cpp context->setShadow(shadowOffset, boxShadow.blur(), boxShadow.color(), context 488 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContext* context = paintInfo.context; context 489 Source/core/rendering/RenderBoxModelObject.cpp if (context->paintingDisabled() || rect.isEmpty()) context 536 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver shadowStateSaver(*context, boxShadowShouldBeAppliedToBackground); context 538 Source/core/rendering/RenderBoxModelObject.cpp applyBoxShadowForBackground(context, this); context 541 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect border = backgroundRoundedRectAdjustedForBleedAvoidance(context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge); context 543 Source/core/rendering/RenderBoxModelObject.cpp context->fillRoundedRect(border, bgColor); context 545 Source/core/rendering/RenderBoxModelObject.cpp context->save(); context 546 Source/core/rendering/RenderBoxModelObject.cpp clipRoundedInnerRect(context, rect, border); context 547 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(border.rect(), bgColor); context 548 Source/core/rendering/RenderBoxModelObject.cpp context->restore(); context 551 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(pixelSnappedIntRect(rect), bgColor); context 559 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver clipToBorderStateSaver(*context, clipToBorderRadius); context 561 Source/core/rendering/RenderBoxModelObject.cpp RoundedRect border = isBorderFill ? backgroundRoundedRectAdjustedForBleedAvoidance(context, rect, bleedAvoidance, box, boxSize, includeLeftEdge, includeRightEdge) : getBackgroundRoundedRect(rect, box, boxSize.width(), boxSize.height(), includeLeftEdge, includeRightEdge); context 570 Source/core/rendering/RenderBoxModelObject.cpp clipRoundedInnerRect(context, rect, border); context 578 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver clipWithScrollingStateSaver(*context, clippedWithLocalScrolling); context 583 Source/core/rendering/RenderBoxModelObject.cpp context->clip(thisBox->overflowClipRect(rect.location())); context 592 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver backgroundClipStateSaver(*context, false); context 608 Source/core/rendering/RenderBoxModelObject.cpp context->clip(clipRect); context 621 Source/core/rendering/RenderBoxModelObject.cpp context->clip(maskRect); context 622 Source/core/rendering/RenderBoxModelObject.cpp context->beginTransparencyLayer(1); context 671 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver shadowStateSaver(*context, boxShadowShouldBeAppliedToBackground); context 673 Source/core/rendering/RenderBoxModelObject.cpp applyBoxShadowForBackground(context, this); context 679 Source/core/rendering/RenderBoxModelObject.cpp CompositeOperator operation = shouldClearDocumentBackground ? CompositeCopy : context->compositeOperation(); context 684 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(backgroundRect, baseColor, operation); context 686 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(backgroundRect, bgColor, operation); context 688 Source/core/rendering/RenderBoxModelObject.cpp context->clearRect(backgroundRect); context 691 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(backgroundRect, bgColor, context->compositeOperation()); context 705 Source/core/rendering/RenderBoxModelObject.cpp InterpolationQuality interpolationQuality = chooseInterpolationQuality(context, image.get(), bgLayer, geometry.tileSize()); context 707 Source/core/rendering/RenderBoxModelObject.cpp context->setColorFilter(ColorFilterLuminanceToAlpha); context 708 Source/core/rendering/RenderBoxModelObject.cpp InterpolationQuality previousInterpolationQuality = context->imageInterpolationQuality(); context 709 Source/core/rendering/RenderBoxModelObject.cpp context->setImageInterpolationQuality(interpolationQuality); context 710 Source/core/rendering/RenderBoxModelObject.cpp context->drawTiledImage(image.get(), geometry.destRect(), geometry.relativePhase(), geometry.tileSize(), context 712 Source/core/rendering/RenderBoxModelObject.cpp context->setImageInterpolationQuality(previousInterpolationQuality); context 718 Source/core/rendering/RenderBoxModelObject.cpp context->setCompositeOperation(CompositeDestinationIn); context 719 Source/core/rendering/RenderBoxModelObject.cpp context->beginTransparencyLayer(1); context 722 Source/core/rendering/RenderBoxModelObject.cpp context->clearRect(maskRect); context 726 Source/core/rendering/RenderBoxModelObject.cpp PaintInfo info(context, maskRect, PaintPhaseTextClip, PaintBehaviorForceBlackText, 0); context 727 Source/core/rendering/RenderBoxModelObject.cpp context->setCompositeOperation(CompositeSourceOver); context 736 Source/core/rendering/RenderBoxModelObject.cpp context->endLayer(); context 737 Source/core/rendering/RenderBoxModelObject.cpp context->endLayer(); context 1711 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContext* graphicsContext = info.context; context 2462 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContext* context = info.context; context 2463 Source/core/rendering/RenderBoxModelObject.cpp if (context->paintingDisabled() || !s->boxShadow()) context 2473 Source/core/rendering/RenderBoxModelObject.cpp GraphicsContextStateSaver stateSaver(*context, false); context 2514 Source/core/rendering/RenderBoxModelObject.cpp context->clipOutRoundedRect(rectToClipOut); context 2528 Source/core/rendering/RenderBoxModelObject.cpp AffineTransform transform = context->getCTM(); context 2534 Source/core/rendering/RenderBoxModelObject.cpp context->clipOut(rectToClipOut); context 2543 Source/core/rendering/RenderBoxModelObject.cpp context->setDrawLooper(drawLooperBuilder.release()); context 2549 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(fillRect, Color::black); context 2558 Source/core/rendering/RenderBoxModelObject.cpp context->fillRoundedRect(roundedFillRect, Color::black); context 2561 Source/core/rendering/RenderBoxModelObject.cpp context->fillRect(fillRect, Color::black); context 2579 Source/core/rendering/RenderBoxModelObject.cpp context->drawInnerShadow(border, shadowColor, flooredIntSize(shadowOffset), shadowBlur, shadowSpread, clippedEdges); context 2703 Source/core/rendering/RenderBoxModelObject.cpp bool RenderBoxModelObject::shouldAntialiasLines(GraphicsContext* context) context 2707 Source/core/rendering/RenderBoxModelObject.cpp return !context->getCTM().isIdentityOrTranslationOrFlipped(); context 130 Source/core/rendering/RenderDetailsMarker.cpp paintInfo.context->setStrokeColor(color); context 131 Source/core/rendering/RenderDetailsMarker.cpp paintInfo.context->setStrokeStyle(SolidStroke); context 132 Source/core/rendering/RenderDetailsMarker.cpp paintInfo.context->setStrokeThickness(1.0f); context 133 Source/core/rendering/RenderDetailsMarker.cpp paintInfo.context->setFillColor(color); context 136 Source/core/rendering/RenderDetailsMarker.cpp paintInfo.context->fillPath(getPath(boxOrigin)); context 132 Source/core/rendering/RenderEmbeddedObject.cpp GraphicsContext* context = paintInfo.context; context 133 Source/core/rendering/RenderEmbeddedObject.cpp if (context->paintingDisabled()) context 145 Source/core/rendering/RenderEmbeddedObject.cpp GraphicsContextStateSaver stateSaver(*context); context 146 Source/core/rendering/RenderEmbeddedObject.cpp context->clip(contentRect); context 147 Source/core/rendering/RenderEmbeddedObject.cpp context->setAlphaAsFloat(replacementTextRoundedRectOpacity); context 148 Source/core/rendering/RenderEmbeddedObject.cpp context->setFillColor(Color::white); context 149 Source/core/rendering/RenderEmbeddedObject.cpp context->fillPath(path); context 156 Source/core/rendering/RenderEmbeddedObject.cpp context->setAlphaAsFloat(replacementTextTextOpacity); context 157 Source/core/rendering/RenderEmbeddedObject.cpp context->setFillColor(Color::black); context 158 Source/core/rendering/RenderEmbeddedObject.cpp context->drawBidiText(font, runInfo, FloatPoint(labelX, labelY)); context 162 Source/core/rendering/RenderFieldset.cpp if (!boxShadowShouldBeAppliedToBackground(determineBackgroundBleedAvoidance(paintInfo.context))) context 171 Source/core/rendering/RenderFieldset.cpp GraphicsContext* graphicsContext = paintInfo.context; context 95 Source/core/rendering/RenderFileUploadControl.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context, false); context 102 Source/core/rendering/RenderFileUploadControl.cpp paintInfo.context->clip(clipRect); context 138 Source/core/rendering/RenderFileUploadControl.cpp paintInfo.context->setFillColor(resolveColor(CSSPropertyColor)); context 141 Source/core/rendering/RenderFileUploadControl.cpp paintInfo.context->drawBidiText(font, textRunPaintInfo, IntPoint(roundToInt(textX), roundToInt(textY))); context 88 Source/core/rendering/RenderFrameSet.cpp GraphicsContext* context = paintInfo.context; context 89 Source/core/rendering/RenderFrameSet.cpp context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftColor) : borderFillColor()); context 94 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(borderRect.location(), IntSize(1, height())), borderStartEdgeColor()); context 95 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(IntPoint(borderRect.maxX() - 1, borderRect.y()), IntSize(1, height())), borderEndEdgeColor()); context 107 Source/core/rendering/RenderFrameSet.cpp GraphicsContext* context = paintInfo.context; context 108 Source/core/rendering/RenderFrameSet.cpp context->fillRect(borderRect, frameSet()->hasBorderColor() ? resolveColor(CSSPropertyBorderLeftColor) : borderFillColor()); context 113 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(borderRect.location(), IntSize(width(), 1)), borderStartEdgeColor()); context 114 Source/core/rendering/RenderFrameSet.cpp context->fillRect(IntRect(IntPoint(borderRect.x(), borderRect.maxY() - 1), IntSize(width(), 1)), borderEndEdgeColor()); context 62 Source/core/rendering/RenderHTMLCanvas.cpp GraphicsContext* context = paintInfo.context; context 72 Source/core/rendering/RenderHTMLCanvas.cpp paintInfo.context->save(); context 73 Source/core/rendering/RenderHTMLCanvas.cpp paintInfo.context->clip(pixelSnappedIntRect(contentRect)); context 79 Source/core/rendering/RenderHTMLCanvas.cpp InterpolationQuality previousInterpolationQuality = context->imageInterpolationQuality(); context 80 Source/core/rendering/RenderHTMLCanvas.cpp context->setImageInterpolationQuality(interpolationQuality); context 81 Source/core/rendering/RenderHTMLCanvas.cpp toHTMLCanvasElement(node())->paint(context, paintRect); context 82 Source/core/rendering/RenderHTMLCanvas.cpp context->setImageInterpolationQuality(previousInterpolationQuality); context 85 Source/core/rendering/RenderHTMLCanvas.cpp context->restore(); context 300 Source/core/rendering/RenderImage.cpp GraphicsContext* context = paintInfo.context; context 310 Source/core/rendering/RenderImage.cpp context->setStrokeStyle(SolidStroke); context 311 Source/core/rendering/RenderImage.cpp context->setStrokeColor(Color::lightGray); context 312 Source/core/rendering/RenderImage.cpp context->setFillColor(Color::transparent); context 313 Source/core/rendering/RenderImage.cpp context->drawRect(pixelSnappedIntRect(LayoutRect(paintOffset.x() + leftBorder + leftPad, paintOffset.y() + topBorder + topPad, cWidth, cHeight))); context 339 Source/core/rendering/RenderImage.cpp context->drawImage(image.get(), pixelSnappedIntRect(LayoutRect(paintOffset + imageOffset, imageSize)), CompositeSourceOver, shouldRespectImageOrientation()); context 357 Source/core/rendering/RenderImage.cpp context->setFillColor(resolveColor(CSSPropertyColor)); context 364 Source/core/rendering/RenderImage.cpp context->drawBidiText(font, textRunPaintInfo, textOrigin); context 366 Source/core/rendering/RenderImage.cpp context->drawBidiText(font, textRunPaintInfo, textOrigin); context 381 Source/core/rendering/RenderImage.cpp context->save(); context 382 Source/core/rendering/RenderImage.cpp context->clip(contentRect); context 385 Source/core/rendering/RenderImage.cpp paintIntoRect(context, paintRect); context 388 Source/core/rendering/RenderImage.cpp context->restore(); context 407 Source/core/rendering/RenderImage.cpp if (paintInfo.context->paintingDisabled() && !paintInfo.context->updatingControlTints()) context 432 Source/core/rendering/RenderImage.cpp GraphicsContextStateSaver savedContext(*paintInfo.context); context 433 Source/core/rendering/RenderImage.cpp paintInfo.context->clip(absoluteContentBox()); context 434 Source/core/rendering/RenderImage.cpp paintInfo.context->drawFocusRing(path, outlineWidth, context 457 Source/core/rendering/RenderImage.cpp void RenderImage::paintIntoRect(GraphicsContext* context, const LayoutRect& rect) context 470 Source/core/rendering/RenderImage.cpp InterpolationQuality interpolationQuality = chooseInterpolationQuality(context, image, image, alignedRect.size()); context 473 Source/core/rendering/RenderImage.cpp InterpolationQuality previousInterpolationQuality = context->imageInterpolationQuality(); context 474 Source/core/rendering/RenderImage.cpp context->setImageInterpolationQuality(interpolationQuality); context 475 Source/core/rendering/RenderImage.cpp context->drawImage(m_imageResource->image(alignedRect.width(), alignedRect.height()).get(), alignedRect, compositeOperator, shouldRespectImageOrientation()); context 476 Source/core/rendering/RenderImage.cpp context->setImageInterpolationQuality(previousInterpolationQuality); context 629 Source/core/rendering/RenderInline.cpp AbsoluteRectsGeneratorContext context(rects, accumulatedOffset); context 630 Source/core/rendering/RenderInline.cpp generateLineBoxRects(context); context 666 Source/core/rendering/RenderInline.cpp AbsoluteQuadsGeneratorContext context(this, quads); context 667 Source/core/rendering/RenderInline.cpp generateLineBoxRects(context); context 788 Source/core/rendering/RenderInline.cpp HitTestCulledInlinesGeneratorContext context(regionResult, tmpLocation); context 789 Source/core/rendering/RenderInline.cpp generateCulledLineBoxRects(context, this); context 791 Source/core/rendering/RenderInline.cpp if (context.intersected()) { context 844 Source/core/rendering/RenderInline.cpp LinesBoundingBoxGeneratorContext context(floatResult); context 845 Source/core/rendering/RenderInline.cpp generateCulledLineBoxRects(context, this); context 929 Source/core/rendering/RenderInline.cpp LinesBoundingBoxGeneratorContext context(floatResult); context 930 Source/core/rendering/RenderInline.cpp generateCulledLineBoxRects(context, this); context 1353 Source/core/rendering/RenderInline.cpp AbsoluteRectsGeneratorContext context(rects, additionalOffset); context 1354 Source/core/rendering/RenderInline.cpp generateLineBoxRects(context); context 1399 Source/core/rendering/RenderInline.cpp AbsoluteLayoutRectsGeneratorContext context(rects, layerOffset); context 1400 Source/core/rendering/RenderInline.cpp generateLineBoxRects(context); context 1416 Source/core/rendering/RenderInline.cpp GraphicsContext* graphicsContext = paintInfo.context; context 95 Source/core/rendering/RenderInputSpeech.cpp paintInfo.context->drawImage(image, pixelSnappedIntRect(buttonRect)); context 1370 Source/core/rendering/RenderLayer.cpp void RenderLayer::beginTransparencyLayers(GraphicsContext* context, const RenderLayer* rootLayer, const LayoutRect& paintDirtyRect, const LayoutSize& subPixelAccumulation, PaintBehavior paintBehavior) context 1373 Source/core/rendering/RenderLayer.cpp if (context->paintingDisabled() || ((paintsWithTransparency(paintBehavior) || paintsWithBlendMode() || createTransparencyLayerForBlendMode) && m_usedTransparency)) context 1378 Source/core/rendering/RenderLayer.cpp ancestor->beginTransparencyLayers(context, rootLayer, paintDirtyRect, subPixelAccumulation, paintBehavior); context 1382 Source/core/rendering/RenderLayer.cpp context->save(); context 1384 Source/core/rendering/RenderLayer.cpp context->clip(clipRect); context 1387 Source/core/rendering/RenderLayer.cpp context->setCompositeOperation(context->compositeOperation(), m_blendInfo.blendMode()); context 1389 Source/core/rendering/RenderLayer.cpp context->beginTransparencyLayer(renderer()->opacity()); context 1392 Source/core/rendering/RenderLayer.cpp context->setCompositeOperation(context->compositeOperation(), blink::WebBlendModeNormal); context 1394 Source/core/rendering/RenderLayer.cpp context->setFillColor(Color(0.0f, 0.0f, 0.5f, 0.2f)); context 1395 Source/core/rendering/RenderLayer.cpp context->fillRect(clipRect); context 1845 Source/core/rendering/RenderLayer.cpp void RenderLayer::paint(GraphicsContext* context, const LayoutRect& damageRect, PaintBehavior paintBehavior, RenderObject* paintingRoot, PaintLayerFlags paintFlags) context 1850 Source/core/rendering/RenderLayer.cpp paintLayer(context, paintingInfo, paintFlags); context 1857 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintOverlayScrollbars(GraphicsContext* context, const LayoutRect& damageRect, PaintBehavior paintBehavior, RenderObject* paintingRoot) context 1863 Source/core/rendering/RenderLayer.cpp paintLayer(context, paintingInfo, PaintLayerPaintingOverlayScrollbars); context 1882 Source/core/rendering/RenderLayer.cpp void RenderLayer::clipToRect(const LayerPaintingInfo& localPaintingInfo, GraphicsContext* context, const ClipRect& clipRect, context 1887 Source/core/rendering/RenderLayer.cpp context->save(); context 1888 Source/core/rendering/RenderLayer.cpp context->clip(pixelSnappedIntRect(clipRect.rect())); context 1900 Source/core/rendering/RenderLayer.cpp context->clipRoundedRect(layer->renderer()->style()->getRoundedInnerBorderFor(LayoutRect(delta, layer->size()))); context 1908 Source/core/rendering/RenderLayer.cpp void RenderLayer::restoreClip(GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect) context 1912 Source/core/rendering/RenderLayer.cpp context->restore(); context 1952 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintLayer(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 1960 Source/core/rendering/RenderLayer.cpp if (context->updatingControlTints() || (paintingInfo.paintBehavior & PaintBehaviorFlattenCompositingLayers)) { context 1999 Source/core/rendering/RenderLayer.cpp parent()->beginTransparencyLayers(context, paintingInfo.rootLayer, paintingInfo.paintDirtyRect, paintingInfo.subPixelAccumulation, paintingInfo.paintBehavior); context 2001 Source/core/rendering/RenderLayer.cpp beginTransparencyLayers(context, paintingInfo.rootLayer, paintingInfo.paintDirtyRect, paintingInfo.subPixelAccumulation, paintingInfo.paintBehavior); context 2005 Source/core/rendering/RenderLayer.cpp paintTransformedLayerIntoFragments(context, paintingInfo, paintFlags); context 2018 Source/core/rendering/RenderLayer.cpp parent()->clipToRect(paintingInfo, context, clipRect); context 2021 Source/core/rendering/RenderLayer.cpp paintLayerByApplyingTransform(context, paintingInfo, paintFlags); context 2025 Source/core/rendering/RenderLayer.cpp parent()->restoreClip(context, paintingInfo.paintDirtyRect, clipRect); context 2030 Source/core/rendering/RenderLayer.cpp paintLayerContentsAndReflection(context, paintingInfo, paintFlags); context 2033 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintLayerContentsAndReflection(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 2041 Source/core/rendering/RenderLayer.cpp m_reflectionInfo->paint(context, paintingInfo, localPaintFlags | PaintLayerPaintingReflection); context 2044 Source/core/rendering/RenderLayer.cpp paintLayerContents(context, paintingInfo, localPaintFlags); context 2047 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintLayerContents(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 2071 Source/core/rendering/RenderLayer.cpp context->setUseHighResMarkers(deviceScaleFactor > 1.5f); context 2073 Source/core/rendering/RenderLayer.cpp GraphicsContext* transparencyLayerContext = context; context 2095 Source/core/rendering/RenderLayer.cpp if (renderer()->hasClipPath() && !context->paintingDisabled() && style) { context 2099 Source/core/rendering/RenderLayer.cpp context->save(); context 2107 Source/core/rendering/RenderLayer.cpp context->clipPath(clipPath->path(rootRelativeBounds), clipPath->windRule()); context 2121 Source/core/rendering/RenderLayer.cpp paintingInfo.paintDirtyRect, context, clipperContext)) { context 2134 Source/core/rendering/RenderLayer.cpp beginTransparencyLayers(context, paintingInfo.rootLayer, paintingInfo.paintDirtyRect, paintingInfo.subPixelAccumulation, paintingInfo.paintBehavior); context 2138 Source/core/rendering/RenderLayer.cpp if (filterPainter.haveFilterEffect() && !context->paintingDisabled()) { context 2155 Source/core/rendering/RenderLayer.cpp context = filterPainter.beginFilterEffect(context); context 2212 Source/core/rendering/RenderLayer.cpp paintBackgroundForFragments(layerFragments, context, transparencyLayerContext, paintingInfo.paintDirtyRect, haveTransparency, context 2216 Source/core/rendering/RenderLayer.cpp paintChildren(NegativeZOrderChildren, context, localPaintingInfo, paintFlags); context 2219 Source/core/rendering/RenderLayer.cpp paintForegroundForFragments(layerFragments, context, transparencyLayerContext, paintingInfo.paintDirtyRect, haveTransparency, context 2223 Source/core/rendering/RenderLayer.cpp paintOutlineForFragments(layerFragments, context, localPaintingInfo, paintBehavior, paintingRootForRenderer); context 2226 Source/core/rendering/RenderLayer.cpp paintChildren(NormalFlowChildren | PositiveZOrderChildren, context, localPaintingInfo, paintFlags); context 2229 Source/core/rendering/RenderLayer.cpp paintOverflowControlsForFragments(layerFragments, context, localPaintingInfo); context 2236 Source/core/rendering/RenderLayer.cpp context = filterPainter.applyFilterEffect(); context 2241 Source/core/rendering/RenderLayer.cpp ASSERT(transparencyLayerContext == context); context 2244 Source/core/rendering/RenderLayer.cpp paintMaskForFragments(layerFragments, context, localPaintingInfo, paintingRootForRenderer); context 2248 Source/core/rendering/RenderLayer.cpp paintChildClippingMaskForFragments(layerFragments, context, localPaintingInfo, paintingRootForRenderer); context 2253 Source/core/rendering/RenderLayer.cpp context->endLayer(); context 2254 Source/core/rendering/RenderLayer.cpp context->restore(); context 2259 Source/core/rendering/RenderLayer.cpp resourceClipper->postApplyStatefulResource(renderer(), context, clipperContext); context 2262 Source/core/rendering/RenderLayer.cpp context->restore(); context 2265 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintLayerByApplyingTransform(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags, const LayoutPoint& translationOffset) context 2278 Source/core/rendering/RenderLayer.cpp GraphicsContextStateSaver stateSaver(*context, false); context 2281 Source/core/rendering/RenderLayer.cpp context->concatCTM(transform.toAffineTransform()); context 2287 Source/core/rendering/RenderLayer.cpp paintLayerContentsAndReflection(context, transformedPaintingInfo, paintFlags); context 2290 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintChildren(unsigned childrenToVisit, GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 2308 Source/core/rendering/RenderLayer.cpp childLayer->paintLayer(context, paintingInfo, paintFlags); context 2310 Source/core/rendering/RenderLayer.cpp paintPaginatedChildLayer(childLayer, context, paintingInfo, paintFlags); context 2400 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintTransformedLayerIntoFragments(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 2427 Source/core/rendering/RenderLayer.cpp parent()->clipToRect(paintingInfo, context, clipRect); context 2428 Source/core/rendering/RenderLayer.cpp paintLayerByApplyingTransform(context, paintingInfo, paintFlags, fragment.paginationOffset); context 2429 Source/core/rendering/RenderLayer.cpp parent()->restoreClip(context, paintingInfo.paintDirtyRect, clipRect); context 2442 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintBackgroundForFragments(const LayerFragments& layerFragments, GraphicsContext* context, GraphicsContext* transparencyLayerContext, context 2458 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.backgroundRect, DoNotIncludeSelfForBorderRadius); // Background painting will handle clipping to self. context 2463 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseBlockBackground, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); context 2467 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.backgroundRect); context 2471 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintForegroundForFragments(const LayerFragments& layerFragments, GraphicsContext* context, GraphicsContext* transparencyLayerContext, context 2491 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, layerFragments[0].foregroundRect); context 2496 Source/core/rendering/RenderLayer.cpp context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer); context 2499 Source/core/rendering/RenderLayer.cpp paintForegroundForFragmentsWithPhase(PaintPhaseFloat, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer); context 2500 Source/core/rendering/RenderLayer.cpp paintForegroundForFragmentsWithPhase(PaintPhaseForeground, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer); context 2501 Source/core/rendering/RenderLayer.cpp paintForegroundForFragmentsWithPhase(PaintPhaseChildOutlines, layerFragments, context, localPaintingInfo, localPaintBehavior, paintingRootForRenderer); context 2505 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, layerFragments[0].foregroundRect); context 2508 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintForegroundForFragmentsWithPhase(PaintPhase phase, const LayerFragments& layerFragments, GraphicsContext* context, context 2519 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.foregroundRect); context 2521 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.foregroundRect.rect()), phase, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); context 2527 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.foregroundRect); context 2531 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintOutlineForFragments(const LayerFragments& layerFragments, GraphicsContext* context, const LayerPaintingInfo& localPaintingInfo, context 2540 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.outlineRect.rect()), PaintPhaseSelfOutline, paintBehavior, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); context 2541 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.outlineRect, DoNotIncludeSelfForBorderRadius); context 2543 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.outlineRect); context 2547 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintMaskForFragments(const LayerFragments& layerFragments, GraphicsContext* context, const LayerPaintingInfo& localPaintingInfo, context 2556 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.backgroundRect, DoNotIncludeSelfForBorderRadius); // Mask painting will handle clipping to self. context 2560 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseMask, PaintBehaviorNormal, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); context 2564 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.backgroundRect); context 2568 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintChildClippingMaskForFragments(const LayerFragments& layerFragments, GraphicsContext* context, const LayerPaintingInfo& localPaintingInfo, context 2577 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.foregroundRect, IncludeSelfForBorderRadius); // Child clipping mask painting will handle clipping to self. context 2580 Source/core/rendering/RenderLayer.cpp PaintInfo paintInfo(context, pixelSnappedIntRect(fragment.backgroundRect.rect()), PaintPhaseClippingMask, PaintBehaviorNormal, paintingRootForRenderer, 0, 0, localPaintingInfo.rootLayer->renderer()); context 2584 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.foregroundRect); context 2588 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintOverflowControlsForFragments(const LayerFragments& layerFragments, GraphicsContext* context, const LayerPaintingInfo& localPaintingInfo) context 2592 Source/core/rendering/RenderLayer.cpp clipToRect(localPaintingInfo, context, fragment.backgroundRect); context 2594 Source/core/rendering/RenderLayer.cpp scrollableArea->paintOverflowControls(context, roundedIntPoint(toPoint(fragment.layerBounds.location() - renderBoxLocation() + subPixelAccumulationIfNeeded(localPaintingInfo.subPixelAccumulation, compositingState()))), pixelSnappedIntRect(fragment.backgroundRect.rect()), true); context 2595 Source/core/rendering/RenderLayer.cpp restoreClip(context, localPaintingInfo.paintDirtyRect, fragment.backgroundRect); context 2599 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintPaginatedChildLayer(RenderLayer* childLayer, GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags paintFlags) context 2617 Source/core/rendering/RenderLayer.cpp paintChildLayerIntoColumns(childLayer, context, paintingInfo, paintFlags, columnLayers, columnLayers.size() - 1); context 2620 Source/core/rendering/RenderLayer.cpp void RenderLayer::paintChildLayerIntoColumns(RenderLayer* childLayer, GraphicsContext* context, const LayerPaintingInfo& paintingInfo, context 2663 Source/core/rendering/RenderLayer.cpp GraphicsContextStateSaver stateSaver(*context); context 2667 Source/core/rendering/RenderLayer.cpp context->clip(pixelSnappedIntRect(colRect)); context 2682 Source/core/rendering/RenderLayer.cpp childLayer->paintLayer(context, localPaintingInfo, paintFlags); context 2697 Source/core/rendering/RenderLayer.cpp context->concatCTM(transform.toAffineTransform()); context 2703 Source/core/rendering/RenderLayer.cpp paintChildLayerIntoColumns(childLayer, context, columnPaintingInfo, paintFlags, columnLayers, colIndex - 1); context 79 Source/core/rendering/RenderLayerClipper.h ClipRects* clipRects(const ClipRectsContext& context) const context 81 Source/core/rendering/RenderLayerClipper.h ASSERT(context.clipRectsType < NumCachedClipRectsTypes); context 82 Source/core/rendering/RenderLayerClipper.h return m_clipRectsCache ? m_clipRectsCache->getClipRects(context.clipRectsType, context.respectOverflowClip).get() : 0; context 132 Source/core/rendering/RenderLayerReflectionInfo.cpp void RenderLayerReflectionInfo::paint(GraphicsContext* context, const LayerPaintingInfo& paintingInfo, PaintLayerFlags flags) context 139 Source/core/rendering/RenderLayerReflectionInfo.cpp reflectionLayer()->paintLayer(context, paintingInfo, flags); context 1001 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::paintOverflowControls(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect, bool paintingOverlayControls) context 1048 Source/core/rendering/RenderLayerScrollableArea.cpp m_hBar->paint(context, damageRect); context 1050 Source/core/rendering/RenderLayerScrollableArea.cpp m_vBar->paint(context, damageRect); context 1057 Source/core/rendering/RenderLayerScrollableArea.cpp paintScrollCorner(context, adjustedPaintOffset, damageRect); context 1060 Source/core/rendering/RenderLayerScrollableArea.cpp paintResizer(context, adjustedPaintOffset, damageRect); context 1063 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::paintScrollCorner(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect) context 1070 Source/core/rendering/RenderLayerScrollableArea.cpp if (context->updatingControlTints()) { context 1076 Source/core/rendering/RenderLayerScrollableArea.cpp m_scrollCorner->paintIntoRect(context, paintOffset, absRect); context 1083 Source/core/rendering/RenderLayerScrollableArea.cpp context->fillRect(absRect, Color::white); context 1173 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::paintResizer(GraphicsContext* context, const IntPoint& paintOffset, const IntRect& damageRect) context 1183 Source/core/rendering/RenderLayerScrollableArea.cpp if (context->updatingControlTints()) { context 1189 Source/core/rendering/RenderLayerScrollableArea.cpp m_resizer->paintIntoRect(context, paintOffset, absRect); context 1193 Source/core/rendering/RenderLayerScrollableArea.cpp drawPlatformResizerImage(context, absRect); context 1198 Source/core/rendering/RenderLayerScrollableArea.cpp GraphicsContextStateSaver stateSaver(*context); context 1199 Source/core/rendering/RenderLayerScrollableArea.cpp context->clip(absRect); context 1202 Source/core/rendering/RenderLayerScrollableArea.cpp context->setStrokeColor(Color(217, 217, 217)); context 1203 Source/core/rendering/RenderLayerScrollableArea.cpp context->setStrokeThickness(1.0f); context 1204 Source/core/rendering/RenderLayerScrollableArea.cpp context->setFillColor(Color::transparent); context 1205 Source/core/rendering/RenderLayerScrollableArea.cpp context->drawRect(largerCorner); context 1269 Source/core/rendering/RenderLayerScrollableArea.cpp void RenderLayerScrollableArea::drawPlatformResizerImage(GraphicsContext* context, IntRect resizerCornerRect) context 1287 Source/core/rendering/RenderLayerScrollableArea.cpp context->save(); context 1288 Source/core/rendering/RenderLayerScrollableArea.cpp context->translate(resizerCornerRect.x() + cornerResizerSize.width(), resizerCornerRect.y() + resizerCornerRect.height() - cornerResizerSize.height()); context 1289 Source/core/rendering/RenderLayerScrollableArea.cpp context->scale(FloatSize(-1.0, 1.0)); context 1290 Source/core/rendering/RenderLayerScrollableArea.cpp context->drawImage(resizeCornerImage.get(), IntRect(IntPoint(), cornerResizerSize)); context 1291 Source/core/rendering/RenderLayerScrollableArea.cpp context->restore(); context 1295 Source/core/rendering/RenderLayerScrollableArea.cpp context->drawImage(resizeCornerImage.get(), imageRect); context 380 Source/core/rendering/RenderListBox.cpp m_vBar->paint(paintInfo.context, paintInfo.rect); context 437 Source/core/rendering/RenderListBox.cpp paintInfo.context->setFillColor(textColor); context 454 Source/core/rendering/RenderListBox.cpp paintInfo.context->drawBidiText(itemFont, textRunPaintInfo, roundedIntPoint(r.location())); context 476 Source/core/rendering/RenderListBox.cpp paintInfo.context->fillRect(pixelSnappedIntRect(itemRect), backColor); context 1148 Source/core/rendering/RenderListMarker.cpp GraphicsContext* context = paintInfo.context; context 1151 Source/core/rendering/RenderListMarker.cpp context->drawImage(m_image->image(this, marker.size()).get(), marker); context 1155 Source/core/rendering/RenderListMarker.cpp context->fillRect(pixelSnappedIntRect(selRect), selectionBackgroundColor()); context 1163 Source/core/rendering/RenderListMarker.cpp context->fillRect(pixelSnappedIntRect(selRect), selectionBackgroundColor()); context 1167 Source/core/rendering/RenderListMarker.cpp context->setStrokeColor(color); context 1168 Source/core/rendering/RenderListMarker.cpp context->setStrokeStyle(SolidStroke); context 1169 Source/core/rendering/RenderListMarker.cpp context->setStrokeThickness(1.0f); context 1170 Source/core/rendering/RenderListMarker.cpp context->setFillColor(color); context 1175 Source/core/rendering/RenderListMarker.cpp context->fillEllipse(marker); context 1178 Source/core/rendering/RenderListMarker.cpp context->strokeEllipse(marker); context 1181 Source/core/rendering/RenderListMarker.cpp context->fillRect(marker); context 1270 Source/core/rendering/RenderListMarker.cpp GraphicsContextStateSaver stateSaver(*context, false); context 1276 Source/core/rendering/RenderListMarker.cpp context->translate(marker.x(), marker.maxY()); context 1277 Source/core/rendering/RenderListMarker.cpp context->rotate(static_cast<float>(deg2rad(90.))); context 1278 Source/core/rendering/RenderListMarker.cpp context->translate(-marker.x(), -marker.maxY()); context 1286 Source/core/rendering/RenderListMarker.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 1312 Source/core/rendering/RenderListMarker.cpp context->drawText(font, textRunPaintInfo, textOrigin); context 1313 Source/core/rendering/RenderListMarker.cpp context->drawText(font, suffixRunInfo, textOrigin + IntSize(font.width(textRun), 0)); context 1315 Source/core/rendering/RenderListMarker.cpp context->drawText(font, suffixRunInfo, textOrigin); context 1316 Source/core/rendering/RenderListMarker.cpp context->drawText(font, textRunPaintInfo, textOrigin + IntSize(font.width(suffixRun), 0)); context 63 Source/core/rendering/RenderMediaControls.cpp static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image) context 65 Source/core/rendering/RenderMediaControls.cpp context->drawImage(image, rect); context 82 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundDisabled); context 85 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel0); context 88 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel1); context 91 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel2); context 93 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, soundLevel3); context 107 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaPlayDisabled); context 109 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaElement->togglePlayStateWillPlay() ? mediaPlay : mediaPause); context 122 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaOverlayPlay); context 131 Source/core/rendering/RenderMediaControls.cpp static void paintRoundedSliderBackground(const IntRect& rect, const RenderStyle* style, GraphicsContext* context) context 136 Source/core/rendering/RenderMediaControls.cpp context->fillRoundedRect(rect, radii, radii, radii, radii, sliderBackgroundColor); context 139 Source/core/rendering/RenderMediaControls.cpp static void paintSliderRangeHighlight(const IntRect& rect, const RenderStyle* style, GraphicsContext* context, int startPosition, int endPosition, Color startColor, Color endColor) context 178 Source/core/rendering/RenderMediaControls.cpp context->save(); context 179 Source/core/rendering/RenderMediaControls.cpp context->setFillGradient(gradient); context 182 Source/core/rendering/RenderMediaControls.cpp context->fillRoundedRect(highlightRect, radii, radii, radii, radii, startColor); context 184 Source/core/rendering/RenderMediaControls.cpp context->fillRoundedRect(highlightRect, radii, IntSize(0, 0), radii, IntSize(0, 0), startColor); context 186 Source/core/rendering/RenderMediaControls.cpp context->fillRoundedRect(highlightRect, IntSize(0, 0), radii, IntSize(0, 0), radii, startColor); context 188 Source/core/rendering/RenderMediaControls.cpp context->fillRect(highlightRect); context 190 Source/core/rendering/RenderMediaControls.cpp context->restore(); context 202 Source/core/rendering/RenderMediaControls.cpp GraphicsContext* context = paintInfo.context; context 204 Source/core/rendering/RenderMediaControls.cpp paintRoundedSliderBackground(rect, style, context); context 232 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, startPosition, currentPosition, startColor, endColor); context 239 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, currentPosition, endPosition, startColor, endColor); context 258 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaSliderThumb); context 269 Source/core/rendering/RenderMediaControls.cpp GraphicsContext* context = paintInfo.context; context 272 Source/core/rendering/RenderMediaControls.cpp paintRoundedSliderBackground(rect, style, context); context 295 Source/core/rendering/RenderMediaControls.cpp paintSliderRangeHighlight(rect, style, context, 0.0, fillWidth, startColor, endColor); context 311 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaVolumeSliderThumb); context 321 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaFullscreenButton); context 334 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButton); context 336 Source/core/rendering/RenderMediaControls.cpp return paintMediaButton(paintInfo.context, rect, mediaClosedCaptionButtonDisabled); context 404 Source/core/rendering/RenderMultiColumnSet.cpp if (paintInfo.context->paintingDisabled()) context 421 Source/core/rendering/RenderMultiColumnSet.cpp bool antialias = shouldAntialiasLines(paintInfo.context); context 449 Source/core/rendering/RenderMultiColumnSet.cpp drawLineForBoxSide(paintInfo.context, pixelSnappedRuleRect.x(), pixelSnappedRuleRect.y(), pixelSnappedRuleRect.maxX(), pixelSnappedRuleRect.maxY(), boxSide, ruleColor, ruleStyle, 0, 0, antialias); context 1150 Source/core/rendering/RenderObject.cpp paintInfo.context->drawFocusRing(focusRingRects, style->outlineWidth(), style->outlineOffset(), resolveColor(style, CSSPropertyOutlineColor)); context 1152 Source/core/rendering/RenderObject.cpp addPDFURLRect(paintInfo.context, unionRect(focusRingRects)); context 1155 Source/core/rendering/RenderObject.cpp void RenderObject::addPDFURLRect(GraphicsContext* context, const LayoutRect& rect) context 1168 Source/core/rendering/RenderObject.cpp if (context->supportsURLFragments() && url.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(url, n->document().baseURL())) { context 1171 Source/core/rendering/RenderObject.cpp context->setURLFragmentForRect(name, pixelSnappedIntRect(rect)); context 1174 Source/core/rendering/RenderObject.cpp context->setURLForRect(url, pixelSnappedIntRect(rect)); context 1210 Source/core/rendering/RenderObject.cpp GraphicsContext* graphicsContext = paintInfo.context; context 155 Source/core/rendering/RenderReplaced.cpp paintInfo.context->save(); context 158 Source/core/rendering/RenderReplaced.cpp clipRoundedInnerRect(paintInfo.context, paintRect, roundedInnerRect); context 170 Source/core/rendering/RenderReplaced.cpp paintInfo.context->restore(); context 178 Source/core/rendering/RenderReplaced.cpp paintInfo.context->fillRect(pixelSnappedIntRect(selectionPaintingRect), selectionBackgroundColor()); context 90 Source/core/rendering/RenderReplica.cpp layer()->parent()->paintLayer(paintInfo.context, paintingInfo, flags); context 112 Source/core/rendering/RenderScrollbar.cpp void RenderScrollbar::paint(GraphicsContext* context, const IntRect& damageRect) context 114 Source/core/rendering/RenderScrollbar.cpp if (context->updatingControlTints()) { context 118 Source/core/rendering/RenderScrollbar.cpp Scrollbar::paint(context, damageRect); context 110 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) context 113 Source/core/rendering/RenderScrollbarTheme.cpp context->fillRect(cornerRect, Color::white); context 116 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintScrollbarBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar) context 118 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, ScrollbarBGPart, scrollbar->frameRect()); context 121 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 123 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, TrackBGPart, rect); context 126 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTrackPiece(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) context 128 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, part, rect); context 131 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintButton(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect, ScrollbarPart part) context 133 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, part, rect); context 136 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 138 Source/core/rendering/RenderScrollbarTheme.cpp toRenderScrollbar(scrollbar)->paintPart(context, ThumbPart, rect); context 141 Source/core/rendering/RenderScrollbarTheme.cpp void RenderScrollbarTheme::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 143 Source/core/rendering/RenderScrollbarTheme.cpp ScrollbarTheme::theme()->paintTickmarks(context, scrollbar, rect); context 1117 Source/core/rendering/RenderTableCell.cpp GraphicsContext* graphicsContext = paintInfo.context; context 1192 Source/core/rendering/RenderTableCell.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context, shouldClip); context 1196 Source/core/rendering/RenderTableCell.cpp paintInfo.context->clip(clipRect); context 242 Source/core/rendering/RenderTheme.cpp if (paintInfo.context->updatingControlTints()) { context 247 Source/core/rendering/RenderTheme.cpp if (paintInfo.context->paintingDisabled()) context 263 Source/core/rendering/RenderTheme.cpp m_platformTheme->paint(part, controlStatesForRenderer(o), const_cast<GraphicsContext*>(paintInfo.context), r, o->style()->effectiveZoom(), o->view()->frameView()); context 357 Source/core/rendering/RenderTheme.cpp if (paintInfo.context->paintingDisabled()) context 401 Source/core/rendering/RenderTheme.cpp if (paintInfo.context->paintingDisabled()) context 924 Source/core/rendering/RenderTheme.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 925 Source/core/rendering/RenderTheme.cpp paintInfo.context->setFillColor(o->resolveColor(CSSPropertyColor)); context 940 Source/core/rendering/RenderTheme.cpp paintInfo.context->fillRect(tickRect); context 1177 Source/core/rendering/RenderTheme.cpp blink::WebCanvas* canvas = i.context->canvas(); context 1182 Source/core/rendering/RenderTheme.cpp GraphicsContextStateSaver stateSaver(*i.context); context 1187 Source/core/rendering/RenderTheme.cpp i.context->translate(unzoomedRect.x(), unzoomedRect.y()); context 1188 Source/core/rendering/RenderTheme.cpp i.context->scale(FloatSize(zoomLevel, zoomLevel)); context 1189 Source/core/rendering/RenderTheme.cpp i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); context 1219 Source/core/rendering/RenderTheme.cpp blink::WebCanvas* canvas = i.context->canvas(); context 1224 Source/core/rendering/RenderTheme.cpp GraphicsContextStateSaver stateSaver(*i.context); context 1229 Source/core/rendering/RenderTheme.cpp i.context->translate(unzoomedRect.x(), unzoomedRect.y()); context 1230 Source/core/rendering/RenderTheme.cpp i.context->scale(FloatSize(zoomLevel, zoomLevel)); context 1231 Source/core/rendering/RenderTheme.cpp i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); context 248 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 253 Source/core/rendering/RenderThemeChromiumDefault.cpp GraphicsContextStateSaver stateSaver(*i.context, false); context 259 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(unzoomedRect.x(), unzoomedRect.y()); context 260 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->scale(FloatSize(zoomLevel, zoomLevel)); context 261 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); context 284 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 307 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 330 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 378 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 412 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 421 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 428 Source/core/rendering/RenderThemeChromiumDefault.cpp GraphicsContextStateSaver stateSaver(*i.context, false); context 434 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(unzoomedRect.x(), unzoomedRect.y()); context 435 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->scale(FloatSize(zoomLevel, zoomLevel)); context 436 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); context 447 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 453 Source/core/rendering/RenderThemeChromiumDefault.cpp GraphicsContextStateSaver stateSaver(*i.context, false); context 459 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(unzoomedRect.x(), unzoomedRect.y()); context 460 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->scale(FloatSize(zoomLevel, zoomLevel)); context 461 Source/core/rendering/RenderThemeChromiumDefault.cpp i.context->translate(-unzoomedRect.x(), -unzoomedRect.y()); context 479 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 503 Source/core/rendering/RenderThemeChromiumDefault.cpp blink::WebCanvas* canvas = i.context->canvas(); context 246 Source/core/rendering/RenderThemeChromiumSkia.cpp paintInfo.context->drawImage(isPressed(cancelButtonObject) ? cancelPressedImage : cancelImage, paintingRect); context 290 Source/core/rendering/RenderThemeChromiumSkia.cpp paintInfo.context->drawImage(magnifierImage, paintingRect); context 473 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->save(); context 474 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->translate(2 * rect.x() + rect.width(), 0); context 475 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->scale(FloatSize(-1, 1)); context 482 Source/core/rendering/RenderThemeChromiumSkia.cpp m_paintInfo.context->restore(); context 164 Source/core/rendering/RenderVideo.cpp GraphicsContext* context = paintInfo.context; context 167 Source/core/rendering/RenderVideo.cpp context->save(); context 168 Source/core/rendering/RenderVideo.cpp context->clip(contentRect); context 172 Source/core/rendering/RenderVideo.cpp paintIntoRect(context, rect); context 174 Source/core/rendering/RenderVideo.cpp mediaPlayer->paint(context, pixelSnappedIntRect(rect)); context 177 Source/core/rendering/RenderVideo.cpp context->restore(); context 329 Source/core/rendering/RenderView.cpp paintInfo.context->fillRect(paintInfo.rect, m_frameView->baseBackgroundColor()); context 409 Source/core/rendering/RenderView.cpp CompositeOperator previousOperator = paintInfo.context->compositeOperation(); context 410 Source/core/rendering/RenderView.cpp paintInfo.context->setCompositeOperation(CompositeCopy); context 411 Source/core/rendering/RenderView.cpp paintInfo.context->fillRect(paintInfo.rect, baseColor); context 412 Source/core/rendering/RenderView.cpp paintInfo.context->setCompositeOperation(previousOperator); context 414 Source/core/rendering/RenderView.cpp paintInfo.context->clearRect(paintInfo.rect); context 183 Source/core/rendering/RenderWidget.cpp paintInfo.context->translate(widgetPaintOffset); context 186 Source/core/rendering/RenderWidget.cpp widget->paint(paintInfo.context, paintRect); context 189 Source/core/rendering/RenderWidget.cpp paintInfo.context->translate(-widgetPaintOffset); context 231 Source/core/rendering/RenderWidget.cpp paintInfo.context->save(); context 234 Source/core/rendering/RenderWidget.cpp clipRoundedInnerRect(paintInfo.context, borderRect, roundedInnerRect); context 242 Source/core/rendering/RenderWidget.cpp paintInfo.context->restore(); context 247 Source/core/rendering/RenderWidget.cpp paintInfo.context->fillRect(pixelSnappedIntRect(selectionRect()), selectionBackgroundColor()); context 251 Source/core/rendering/RenderWidget.cpp layer()->scrollableArea()->paintResizer(paintInfo.context, roundedIntPoint(adjustedPaintOffset), paintInfo.rect); context 343 Source/core/rendering/RootInlineBox.cpp paintInfo->context->fillRect(gapRect, box->parent()->renderer().selectionBackgroundColor()); context 556 Source/core/rendering/RootInlineBox.cpp m_lineBreakContext = status.context; context 108 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (CanvasRenderingContext* context = canvas->renderingContext()) context 109 Source/core/rendering/compositing/CompositedLayerMapping.cpp return context->isAccelerated(); context 531 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (CanvasRenderingContext* context = canvas->renderingContext()) context 532 Source/core/rendering/compositing/CompositedLayerMapping.cpp m_graphicsLayer->setContentsToPlatformLayer(context->platformLayer()); context 984 Source/core/rendering/compositing/CompositedLayerMapping.cpp CanvasRenderingContext* context = toHTMLCanvasElement(renderer()->node())->renderingContext(); context 986 Source/core/rendering/compositing/CompositedLayerMapping.cpp if (blink::WebLayer* contentLayer = context->platformLayer()) { context 1882 Source/core/rendering/compositing/CompositedLayerMapping.cpp void CompositedLayerMapping::doPaintTask(GraphicsLayerPaintInfo& paintInfo, GraphicsContext* context, context 1918 Source/core/rendering/compositing/CompositedLayerMapping.cpp context->translate(-offset); context 1939 Source/core/rendering/compositing/CompositedLayerMapping.cpp paintInfo.renderLayer->paintLayerContents(context, paintingInfo, paintFlags); context 1944 Source/core/rendering/compositing/CompositedLayerMapping.cpp paintInfo.renderLayer->paintLayerContents(context, paintingInfo, paintFlags | PaintLayerPaintingOverlayScrollbars); context 1948 Source/core/rendering/compositing/CompositedLayerMapping.cpp paintInfo.renderLayer->paintLayer(context, paintingInfo, paintFlags); context 1954 Source/core/rendering/compositing/CompositedLayerMapping.cpp context->translate(offset); context 1957 Source/core/rendering/compositing/CompositedLayerMapping.cpp static void paintScrollbar(Scrollbar* scrollbar, GraphicsContext& context, const IntRect& clip) context 1962 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.save(); context 1964 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.translate(-scrollbarRect.x(), -scrollbarRect.y()); context 1967 Source/core/rendering/compositing/CompositedLayerMapping.cpp scrollbar->paint(&context, transformedClip); context 1968 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.restore(); context 1972 Source/core/rendering/compositing/CompositedLayerMapping.cpp void CompositedLayerMapping::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase paintingPhase, const IntRect& clip) context 1998 Source/core/rendering/compositing/CompositedLayerMapping.cpp doPaintTask(paintInfo, &context, clip); context 2002 Source/core/rendering/compositing/CompositedLayerMapping.cpp doPaintTask(m_squashedLayers[i], &context, clip); context 2004 Source/core/rendering/compositing/CompositedLayerMapping.cpp paintScrollbar(m_owningLayer.scrollableArea()->horizontalScrollbar(), context, clip); context 2006 Source/core/rendering/compositing/CompositedLayerMapping.cpp paintScrollbar(m_owningLayer.scrollableArea()->verticalScrollbar(), context, clip); context 2009 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.save(); context 2010 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.translate(-scrollCornerAndResizer.x(), -scrollCornerAndResizer.y()); context 2013 Source/core/rendering/compositing/CompositedLayerMapping.cpp m_owningLayer.scrollableArea()->paintScrollCorner(&context, IntPoint(), transformedClip); context 2014 Source/core/rendering/compositing/CompositedLayerMapping.cpp m_owningLayer.scrollableArea()->paintResizer(&context, IntPoint(), transformedClip); context 2015 Source/core/rendering/compositing/CompositedLayerMapping.cpp context.restore(); context 2017 Source/core/rendering/compositing/CompositedLayerMapping.cpp InspectorInstrumentation::didPaint(m_owningLayer.renderer(), graphicsLayer, &context, clip); context 1619 Source/core/rendering/compositing/RenderLayerCompositor.cpp static void paintScrollbar(Scrollbar* scrollbar, GraphicsContext& context, const IntRect& clip) context 1624 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.save(); context 1626 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.translate(-scrollbarRect.x(), -scrollbarRect.y()); context 1629 Source/core/rendering/compositing/RenderLayerCompositor.cpp scrollbar->paint(&context, transformedClip); context 1630 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.restore(); context 1633 Source/core/rendering/compositing/RenderLayerCompositor.cpp void RenderLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase, const IntRect& clip) context 1636 Source/core/rendering/compositing/RenderLayerCompositor.cpp paintScrollbar(m_renderView.frameView()->horizontalScrollbar(), context, clip); context 1638 Source/core/rendering/compositing/RenderLayerCompositor.cpp paintScrollbar(m_renderView.frameView()->verticalScrollbar(), context, clip); context 1641 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.save(); context 1642 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.translate(-scrollCorner.x(), -scrollCorner.y()); context 1645 Source/core/rendering/compositing/RenderLayerCompositor.cpp m_renderView.frameView()->paintScrollCorner(&context, transformedClip); context 1646 Source/core/rendering/compositing/RenderLayerCompositor.cpp context.restore(); context 75 Source/core/rendering/line/LineBreaker.cpp BreakingContext context(resolver, lineInfo, width, renderTextInfo, lastFloatFromPreviousLine, appliedStartWidth, m_block); context 77 Source/core/rendering/line/LineBreaker.cpp while (context.currentObject()) { context 78 Source/core/rendering/line/LineBreaker.cpp context.initializeForCurrentObject(); context 79 Source/core/rendering/line/LineBreaker.cpp if (context.currentObject()->isBR()) { context 80 Source/core/rendering/line/LineBreaker.cpp context.handleBR(m_clear); context 81 Source/core/rendering/line/LineBreaker.cpp } else if (context.currentObject()->isOutOfFlowPositioned()) { context 82 Source/core/rendering/line/LineBreaker.cpp context.handleOutOfFlowPositioned(m_positionedObjects); context 83 Source/core/rendering/line/LineBreaker.cpp } else if (context.currentObject()->isFloating()) { context 84 Source/core/rendering/line/LineBreaker.cpp context.handleFloat(); context 85 Source/core/rendering/line/LineBreaker.cpp } else if (context.currentObject()->isRenderInline()) { context 86 Source/core/rendering/line/LineBreaker.cpp context.handleEmptyInline(); context 87 Source/core/rendering/line/LineBreaker.cpp } else if (context.currentObject()->isReplaced()) { context 88 Source/core/rendering/line/LineBreaker.cpp context.handleReplaced(); context 89 Source/core/rendering/line/LineBreaker.cpp } else if (context.currentObject()->isText()) { context 90 Source/core/rendering/line/LineBreaker.cpp if (context.handleText(wordMeasurements, m_hyphenated)) { context 92 Source/core/rendering/line/LineBreaker.cpp return context.lineBreak(); context 98 Source/core/rendering/line/LineBreaker.cpp if (context.atEnd()) context 99 Source/core/rendering/line/LineBreaker.cpp return context.handleEndOfLine(); context 101 Source/core/rendering/line/LineBreaker.cpp context.commitAndUpdateLineBreakIfNeeded(); context 103 Source/core/rendering/line/LineBreaker.cpp if (context.atEnd()) context 104 Source/core/rendering/line/LineBreaker.cpp return context.handleEndOfLine(); context 106 Source/core/rendering/line/LineBreaker.cpp context.increment(); context 109 Source/core/rendering/line/LineBreaker.cpp context.clearLineBreakIfFitsOnLine(); context 111 Source/core/rendering/line/LineBreaker.cpp return context.handleEndOfLine(); context 185 Source/core/rendering/shapes/Shape.cpp GraphicsContext* graphicsContext = imageBuffer->context(); context 114 Source/core/rendering/svg/RenderSVGContainer.cpp if (paintInfo.context->paintingDisabled()) context 127 Source/core/rendering/svg/RenderSVGContainer.cpp GraphicsContextStateSaver stateSaver(*childPaintInfo.context); context 135 Source/core/rendering/svg/RenderSVGContainer.cpp GraphicsContextCullSaver cullSaver(*childPaintInfo.context); context 96 Source/core/rendering/svg/RenderSVGEllipse.cpp void RenderSVGEllipse::fillShape(GraphicsContext* context) const context 99 Source/core/rendering/svg/RenderSVGEllipse.cpp RenderSVGShape::fillShape(context); context 102 Source/core/rendering/svg/RenderSVGEllipse.cpp context->fillEllipse(m_fillBoundingBox); context 105 Source/core/rendering/svg/RenderSVGEllipse.cpp void RenderSVGEllipse::strokeShape(GraphicsContext* context) const context 110 Source/core/rendering/svg/RenderSVGEllipse.cpp RenderSVGShape::strokeShape(context); context 113 Source/core/rendering/svg/RenderSVGEllipse.cpp context->strokeEllipse(m_fillBoundingBox); context 56 Source/core/rendering/svg/RenderSVGForeignObject.cpp if (paintInfo.context->paintingDisabled() context 61 Source/core/rendering/svg/RenderSVGForeignObject.cpp GraphicsContextStateSaver stateSaver(*childPaintInfo.context); context 65 Source/core/rendering/svg/RenderSVGForeignObject.cpp childPaintInfo.context->clip(m_viewport); context 129 Source/core/rendering/svg/RenderSVGImage.cpp if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || !m_imageResource->hasImage()) context 139 Source/core/rendering/svg/RenderSVGImage.cpp GraphicsContextStateSaver stateSaver(*childPaintInfo.context, false); context 173 Source/core/rendering/svg/RenderSVGImage.cpp interpolationQuality = ImageQualityController::imageQualityController()->chooseInterpolationQuality(paintInfo.context, this, image.get(), image.get(), LayoutSize(destRect.size())); context 175 Source/core/rendering/svg/RenderSVGImage.cpp InterpolationQuality previousInterpolationQuality = paintInfo.context->imageInterpolationQuality(); context 176 Source/core/rendering/svg/RenderSVGImage.cpp paintInfo.context->setImageInterpolationQuality(interpolationQuality); context 177 Source/core/rendering/svg/RenderSVGImage.cpp paintInfo.context->drawImage(image.get(), destRect, srcRect, CompositeSourceOver); context 178 Source/core/rendering/svg/RenderSVGImage.cpp paintInfo.context->setImageInterpolationQuality(previousInterpolationQuality); context 68 Source/core/rendering/svg/RenderSVGPath.cpp static void useStrokeStyleToFill(GraphicsContext* context) context 70 Source/core/rendering/svg/RenderSVGPath.cpp if (Gradient* gradient = context->strokeGradient()) context 71 Source/core/rendering/svg/RenderSVGPath.cpp context->setFillGradient(gradient); context 72 Source/core/rendering/svg/RenderSVGPath.cpp else if (Pattern* pattern = context->strokePattern()) context 73 Source/core/rendering/svg/RenderSVGPath.cpp context->setFillPattern(pattern); context 75 Source/core/rendering/svg/RenderSVGPath.cpp context->setFillColor(context->strokeColor()); context 78 Source/core/rendering/svg/RenderSVGPath.cpp void RenderSVGPath::strokeShape(GraphicsContext* context) const context 83 Source/core/rendering/svg/RenderSVGPath.cpp RenderSVGShape::strokeShape(context); context 94 Source/core/rendering/svg/RenderSVGPath.cpp GraphicsContextStateSaver stateSaver(*context, true); context 95 Source/core/rendering/svg/RenderSVGPath.cpp useStrokeStyleToFill(context); context 100 Source/core/rendering/svg/RenderSVGPath.cpp context->fillPath(*usePath); context 87 Source/core/rendering/svg/RenderSVGRect.cpp void RenderSVGRect::fillShape(GraphicsContext* context) const context 90 Source/core/rendering/svg/RenderSVGRect.cpp RenderSVGShape::fillShape(context); context 94 Source/core/rendering/svg/RenderSVGRect.cpp context->fillRect(m_fillBoundingBox); context 97 Source/core/rendering/svg/RenderSVGRect.cpp void RenderSVGRect::strokeShape(GraphicsContext* context) const context 103 Source/core/rendering/svg/RenderSVGRect.cpp RenderSVGShape::strokeShape(context); context 107 Source/core/rendering/svg/RenderSVGRect.cpp context->strokeRect(m_fillBoundingBox, strokeWidth()); context 74 Source/core/rendering/svg/RenderSVGResourceClipper.cpp bool RenderSVGResourceClipper::applyStatefulResource(RenderObject* object, GraphicsContext*& context, ClipperContext& clipperContext) context 77 Source/core/rendering/svg/RenderSVGResourceClipper.cpp ASSERT(context); context 81 Source/core/rendering/svg/RenderSVGResourceClipper.cpp return applyClippingToContext(object, object->objectBoundingBox(), object->repaintRectInLocalCoordinates(), context, clipperContext); context 84 Source/core/rendering/svg/RenderSVGResourceClipper.cpp bool RenderSVGResourceClipper::tryPathOnlyClipping(GraphicsContext* context, context 143 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->clipPath(clipPath, clipRule); context 148 Source/core/rendering/svg/RenderSVGResourceClipper.cpp const FloatRect& repaintRect, GraphicsContext* context, ClipperContext& clipperContext) context 152 Source/core/rendering/svg/RenderSVGResourceClipper.cpp ASSERT(context); context 171 Source/core/rendering/svg/RenderSVGResourceClipper.cpp if (tryPathOnlyClipping(context, animatedLocalTransform, targetBoundingBox)) { context 180 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->beginTransparencyLayer(1, &repaintRect); context 182 Source/core/rendering/svg/RenderSVGResourceClipper.cpp GraphicsContextStateSaver maskContentSaver(*context); context 183 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->concatCTM(animatedLocalTransform); context 190 Source/core/rendering/svg/RenderSVGResourceClipper.cpp if (!clipPathClipper->applyClippingToContext(this, targetBoundingBox, repaintRect, context, clipPathClipperContext)) { context 196 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->restoreLayer(); context 201 Source/core/rendering/svg/RenderSVGResourceClipper.cpp drawClipMaskContent(context, targetBoundingBox); context 204 Source/core/rendering/svg/RenderSVGResourceClipper.cpp clipPathClipper->postApplyStatefulResource(this, context, clipPathClipperContext); context 208 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->beginLayer(1, CompositeSourceIn, &repaintRect); context 219 Source/core/rendering/svg/RenderSVGResourceClipper.cpp void RenderSVGResourceClipper::postApplyStatefulResource(RenderObject*, GraphicsContext*& context, ClipperContext& clipperContext) context 227 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->endLayer(); context 229 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->endLayer(); context 236 Source/core/rendering/svg/RenderSVGResourceClipper.cpp void RenderSVGResourceClipper::drawClipMaskContent(GraphicsContext* context, const FloatRect& targetBoundingBox) context 238 Source/core/rendering/svg/RenderSVGResourceClipper.cpp ASSERT(context); context 245 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->concatCTM(contentTransformation); context 249 Source/core/rendering/svg/RenderSVGResourceClipper.cpp m_clipContentDisplayList = asDisplayList(context, contentTransformation); context 252 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->drawDisplayList(m_clipContentDisplayList.get()); context 255 Source/core/rendering/svg/RenderSVGResourceClipper.cpp PassRefPtr<DisplayList> RenderSVGResourceClipper::asDisplayList(GraphicsContext* context, context 258 Source/core/rendering/svg/RenderSVGResourceClipper.cpp ASSERT(context); context 264 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->beginRecording(strokeBoundingBox()); context 298 Source/core/rendering/svg/RenderSVGResourceClipper.cpp context->setFillRule(newClipRule); context 303 Source/core/rendering/svg/RenderSVGResourceClipper.cpp SVGRenderingContext::renderSubtree(context, renderer, contentTransformation); context 308 Source/core/rendering/svg/RenderSVGResourceClipper.cpp return context->endRecording(); context 131 Source/core/rendering/svg/RenderSVGResourceFilter.cpp GraphicsContext* imageContext = image->context(); context 140 Source/core/rendering/svg/RenderSVGResourceFilter.cpp bool RenderSVGResourceFilter::applyResource(RenderObject* object, RenderStyle*, GraphicsContext*& context, unsigned short resourceMode) context 143 Source/core/rendering/svg/RenderSVGResourceFilter.cpp ASSERT(context); context 218 Source/core/rendering/svg/RenderSVGResourceFilter.cpp SkiaImageFilterBuilder builder(context); context 222 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->save(); context 224 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->clipRect(boundaries); context 227 Source/core/rendering/svg/RenderSVGResourceFilter.cpp FloatSize size = context->getCTM().mapSize(boundaries.size()); context 233 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->scale(filterResScale); context 242 Source/core/rendering/svg/RenderSVGResourceFilter.cpp AffineTransform ctm = context->getCTM(); context 250 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->setCTM(scaleAndTranslate); context 253 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->beginLayer(1, CompositeSourceOver, &boundaries, ColorFilterNone, imageFilter.get()); context 261 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterData->savedContext = context; context 269 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterData->savedContext = context; context 274 Source/core/rendering/svg/RenderSVGResourceFilter.cpp GraphicsContext* sourceGraphicContext = sourceGraphic->context(); context 278 Source/core/rendering/svg/RenderSVGResourceFilter.cpp filterData->savedContext = context; context 280 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context = sourceGraphicContext; context 288 Source/core/rendering/svg/RenderSVGResourceFilter.cpp void RenderSVGResourceFilter::postApplyResource(RenderObject* object, GraphicsContext*& context, unsigned short resourceMode, const Path*, const RenderSVGShape*) context 291 Source/core/rendering/svg/RenderSVGResourceFilter.cpp ASSERT(context); context 295 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->endLayer(); context 296 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->restore(); context 325 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context = filterData->savedContext; context 352 Source/core/rendering/svg/RenderSVGResourceFilter.cpp context->drawImageBuffer(resultImage, filterData->filter->mapAbsoluteRectToLocalRect(lastEffect->absolutePaintRect())); context 53 Source/core/rendering/svg/RenderSVGResourceGradient.cpp bool RenderSVGResourceGradient::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) context 57 Source/core/rendering/svg/RenderSVGResourceGradient.cpp ASSERT(context); context 118 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->save(); context 121 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setTextDrawingMode(resourceMode & ApplyToFillMode ? TextModeFill : TextModeStroke); context 127 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setAlphaAsFloat(svgStyle->fillOpacity()); context 128 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setFillGradient(gradientData->gradient); context 129 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setFillRule(svgStyle->fillRule()); context 133 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setAlphaAsFloat(svgStyle->strokeOpacity()); context 134 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->setStrokeGradient(gradientData->gradient); context 135 Source/core/rendering/svg/RenderSVGResourceGradient.cpp SVGRenderSupport::applyStrokeStyleToContext(context, style, object); context 141 Source/core/rendering/svg/RenderSVGResourceGradient.cpp void RenderSVGResourceGradient::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) context 143 Source/core/rendering/svg/RenderSVGResourceGradient.cpp ASSERT(context); context 148 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->fillPath(*path); context 150 Source/core/rendering/svg/RenderSVGResourceGradient.cpp shape->fillShape(context); context 154 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->strokePath(*path); context 156 Source/core/rendering/svg/RenderSVGResourceGradient.cpp shape->strokeShape(context); context 159 Source/core/rendering/svg/RenderSVGResourceGradient.cpp context->restore(); context 77 Source/core/rendering/svg/RenderSVGResourceMarker.cpp paintInfo.context->clip(m_viewport); context 145 Source/core/rendering/svg/RenderSVGResourceMarker.cpp GraphicsContextStateSaver stateSaver(*info.context, false); context 59 Source/core/rendering/svg/RenderSVGResourceMasker.cpp GraphicsContext*& context, unsigned short resourceMode) context 62 Source/core/rendering/svg/RenderSVGResourceMasker.cpp ASSERT(context); context 74 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->beginTransparencyLayer(1, &repaintRect); context 79 Source/core/rendering/svg/RenderSVGResourceMasker.cpp void RenderSVGResourceMasker::postApplyResource(RenderObject* object, GraphicsContext*& context, context 83 Source/core/rendering/svg/RenderSVGResourceMasker.cpp ASSERT(context); context 98 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->beginLayer(1, CompositeDestinationIn, &repaintRect, maskLayerFilter); context 101 Source/core/rendering/svg/RenderSVGResourceMasker.cpp GraphicsContextStateSaver maskContentSaver(*context); context 102 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->setColorFilter(maskContentFilter); context 104 Source/core/rendering/svg/RenderSVGResourceMasker.cpp drawMaskForRenderer(context, object->objectBoundingBox()); context 108 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->endLayer(); context 110 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->endLayer(); context 113 Source/core/rendering/svg/RenderSVGResourceMasker.cpp void RenderSVGResourceMasker::drawMaskForRenderer(GraphicsContext* context, const FloatRect& targetBoundingBox) context 115 Source/core/rendering/svg/RenderSVGResourceMasker.cpp ASSERT(context); context 122 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->concatCTM(contentTransformation); context 126 Source/core/rendering/svg/RenderSVGResourceMasker.cpp m_maskContentDisplayList = asDisplayList(context, contentTransformation); context 128 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->drawDisplayList(m_maskContentDisplayList.get()); context 131 Source/core/rendering/svg/RenderSVGResourceMasker.cpp PassRefPtr<DisplayList> RenderSVGResourceMasker::asDisplayList(GraphicsContext* context, context 134 Source/core/rendering/svg/RenderSVGResourceMasker.cpp ASSERT(context); context 139 Source/core/rendering/svg/RenderSVGResourceMasker.cpp context->beginRecording(strokeBoundingBox()); context 148 Source/core/rendering/svg/RenderSVGResourceMasker.cpp SVGRenderingContext::renderSubtree(context, renderer, contentTransform); context 151 Source/core/rendering/svg/RenderSVGResourceMasker.cpp return context->endRecording(); context 135 Source/core/rendering/svg/RenderSVGResourcePattern.cpp bool RenderSVGResourcePattern::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) context 139 Source/core/rendering/svg/RenderSVGResourcePattern.cpp ASSERT(context); context 155 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->save(); context 161 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setAlphaAsFloat(svgStyle->fillOpacity()); context 162 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setFillPattern(patternData->pattern); context 163 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setFillRule(svgStyle->fillRule()); context 167 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setAlphaAsFloat(svgStyle->strokeOpacity()); context 168 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setStrokePattern(patternData->pattern); context 169 Source/core/rendering/svg/RenderSVGResourcePattern.cpp SVGRenderSupport::applyStrokeStyleToContext(context, style, object); context 174 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setTextDrawingMode(TextModeFill); context 176 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->setTextDrawingMode(TextModeStroke); context 182 Source/core/rendering/svg/RenderSVGResourcePattern.cpp void RenderSVGResourcePattern::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) context 184 Source/core/rendering/svg/RenderSVGResourcePattern.cpp ASSERT(context); context 189 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->fillPath(*path); context 191 Source/core/rendering/svg/RenderSVGResourcePattern.cpp shape->fillShape(context); context 195 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->strokePath(*path); context 197 Source/core/rendering/svg/RenderSVGResourcePattern.cpp shape->strokeShape(context); context 200 Source/core/rendering/svg/RenderSVGResourcePattern.cpp context->restore(); context 251 Source/core/rendering/svg/RenderSVGResourcePattern.cpp GraphicsContext* tileImageContext = tileImage->context(); context 274 Source/core/rendering/svg/RenderSVGResourcePattern.cpp SVGRenderingContext::renderSubtree(tileImage->context(), element->renderer(), contentTransformation); context 43 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp bool RenderSVGResourceSolidColor::applyResource(RenderObject* object, RenderStyle* style, GraphicsContext*& context, unsigned short resourceMode) context 48 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp ASSERT(context); context 59 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setAlphaAsFloat(svgStyle->fillOpacity()); context 61 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setAlphaAsFloat(1); context 62 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setFillColor(m_color); context 64 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setFillRule(svgStyle ? svgStyle->fillRule() : RULE_NONZERO); context 67 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setTextDrawingMode(TextModeFill); context 71 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setAlphaAsFloat(svgStyle ? svgStyle->strokeOpacity() : 1); context 72 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setStrokeColor(m_color); context 75 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp SVGRenderSupport::applyStrokeStyleToContext(context, style, object); context 78 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->setTextDrawingMode(TextModeStroke); context 84 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp void RenderSVGResourceSolidColor::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) context 86 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp ASSERT(context); context 91 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->fillPath(*path); context 93 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp shape->fillShape(context); context 97 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp context->strokePath(*path); context 99 Source/core/rendering/svg/RenderSVGResourceSolidColor.cpp shape->strokeShape(context); context 238 Source/core/rendering/svg/RenderSVGRoot.cpp if (paintInfo.context->paintingDisabled()) context 257 Source/core/rendering/svg/RenderSVGRoot.cpp childPaintInfo.context->save(); context 260 Source/core/rendering/svg/RenderSVGRoot.cpp childPaintInfo.context->clip(pixelSnappedIntRect(overflowClipRect(paintOffset))); context 281 Source/core/rendering/svg/RenderSVGRoot.cpp childPaintInfo.context->restore(); context 75 Source/core/rendering/svg/RenderSVGShape.cpp void RenderSVGShape::fillShape(GraphicsContext* context) const context 77 Source/core/rendering/svg/RenderSVGShape.cpp context->fillPath(path()); context 80 Source/core/rendering/svg/RenderSVGShape.cpp void RenderSVGShape::strokeShape(GraphicsContext* context) const context 88 Source/core/rendering/svg/RenderSVGShape.cpp context->strokePath(*usePath); context 185 Source/core/rendering/svg/RenderSVGShape.cpp stateSaver.context()->concatCTM(strokeTransform.inverse()); context 209 Source/core/rendering/svg/RenderSVGShape.cpp void RenderSVGShape::fillShape(RenderStyle* style, GraphicsContext* context) context 213 Source/core/rendering/svg/RenderSVGShape.cpp if (fillPaintingResource->applyResource(this, style, context, ApplyToFillMode)) { context 214 Source/core/rendering/svg/RenderSVGShape.cpp fillPaintingResource->postApplyResource(this, context, ApplyToFillMode, 0, this); context 217 Source/core/rendering/svg/RenderSVGShape.cpp if (fallbackResource->applyResource(this, style, context, ApplyToFillMode)) context 218 Source/core/rendering/svg/RenderSVGShape.cpp fallbackResource->postApplyResource(this, context, ApplyToFillMode, 0, this); context 223 Source/core/rendering/svg/RenderSVGShape.cpp void RenderSVGShape::strokeShape(RenderStyle* style, GraphicsContext* context) context 227 Source/core/rendering/svg/RenderSVGShape.cpp if (strokePaintingResource->applyResource(this, style, context, ApplyToStrokeMode)) { context 228 Source/core/rendering/svg/RenderSVGShape.cpp strokePaintingResource->postApplyResource(this, context, ApplyToStrokeMode, 0, this); context 231 Source/core/rendering/svg/RenderSVGShape.cpp if (fallbackResource->applyResource(this, style, context, ApplyToStrokeMode)) context 232 Source/core/rendering/svg/RenderSVGShape.cpp fallbackResource->postApplyResource(this, context, ApplyToStrokeMode, 0, this); context 241 Source/core/rendering/svg/RenderSVGShape.cpp if (paintInfo.context->paintingDisabled() || style()->visibility() == HIDDEN || isShapeEmpty()) context 250 Source/core/rendering/svg/RenderSVGShape.cpp GraphicsContextStateSaver stateSaver(*childPaintInfo.context); context 259 Source/core/rendering/svg/RenderSVGShape.cpp childPaintInfo.context->setShouldAntialias(false); context 264 Source/core/rendering/svg/RenderSVGShape.cpp fillShape(this->style(), childPaintInfo.context); context 268 Source/core/rendering/svg/RenderSVGShape.cpp GraphicsContextStateSaver stateSaver(*childPaintInfo.context, false); context 277 Source/core/rendering/svg/RenderSVGShape.cpp strokeShape(this->style(), childPaintInfo.context); context 186 Source/core/rendering/svg/RenderSVGText.cpp ASSERT_UNUSED(child, attributes->context() == child); context 187 Source/core/rendering/svg/RenderSVGText.cpp findPreviousAndNextAttributes(this, attributes->context(), previous, next); context 190 Source/core/rendering/svg/RenderSVGText.cpp m_layoutAttributesBuilder.buildLayoutAttributesForTextRenderer(previous->context()); context 191 Source/core/rendering/svg/RenderSVGText.cpp m_layoutAttributesBuilder.buildLayoutAttributesForTextRenderer(attributes->context()); context 193 Source/core/rendering/svg/RenderSVGText.cpp m_layoutAttributesBuilder.buildLayoutAttributesForTextRenderer(next->context()); context 266 Source/core/rendering/svg/RenderSVGText.cpp m_layoutAttributesBuilder.buildLayoutAttributesForTextRenderer(affectedAttributes[i]->context()); context 473 Source/core/rendering/svg/RenderSVGText.cpp if (paintInfo.context->paintingDisabled()) context 482 Source/core/rendering/svg/RenderSVGText.cpp GraphicsContextStateSaver stateSaver(*blockInfo.context, false); context 55 Source/core/rendering/svg/RenderSVGViewportContainer.cpp paintInfo.context->clip(m_viewport); context 37 Source/core/rendering/svg/SVGInlineFlowBox.cpp ASSERT(!paintInfo.context->paintingDisabled()); context 51 Source/core/rendering/svg/SVGInlineFlowBox.cpp ASSERT(!paintInfo.context->paintingDisabled()); context 233 Source/core/rendering/svg/SVGInlineTextBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context); context 236 Source/core/rendering/svg/SVGInlineTextBox.cpp paintInfo.context->concatCTM(fragmentTransform); context 238 Source/core/rendering/svg/SVGInlineTextBox.cpp paintInfo.context->setFillColor(backgroundColor); context 239 Source/core/rendering/svg/SVGInlineTextBox.cpp paintInfo.context->fillRect(selectionRectForTextFragment(fragment, fragmentStartPosition, fragmentEndPosition, style), backgroundColor); context 273 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDocumentMarkers(paintInfo.context, paintOffset, style, textRenderer.scaledFont(), true); context 307 Source/core/rendering/svg/SVGInlineTextBox.cpp GraphicsContextStateSaver stateSaver(*paintInfo.context, false); context 311 Source/core/rendering/svg/SVGInlineTextBox.cpp paintInfo.context->concatCTM(fragmentTransform); context 317 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDecoration(paintInfo.context, TextDecorationUnderline, fragment); context 319 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDecoration(paintInfo.context, TextDecorationOverline, fragment); context 327 Source/core/rendering/svg/SVGInlineTextBox.cpp paintText(paintInfo.context, style, selectionStyle, fragment, hasSelection, paintSelectedTextOnly); context 334 Source/core/rendering/svg/SVGInlineTextBox.cpp paintText(paintInfo.context, style, selectionStyle, fragment, hasSelection, paintSelectedTextOnly); context 348 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDecoration(paintInfo.context, TextDecorationLineThrough, fragment); context 356 Source/core/rendering/svg/SVGInlineTextBox.cpp bool SVGInlineTextBox::acquirePaintingResource(GraphicsContext*& context, float scalingFactor, RenderObject* renderer, RenderStyle* style) context 377 Source/core/rendering/svg/SVGInlineTextBox.cpp if (!m_paintingResource->applyResource(renderer, style, context, m_paintingResourceMode)) { context 380 Source/core/rendering/svg/SVGInlineTextBox.cpp m_paintingResource->applyResource(renderer, style, context, m_paintingResourceMode); context 385 Source/core/rendering/svg/SVGInlineTextBox.cpp context->setStrokeThickness(context->strokeThickness() * scalingFactor); context 390 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::releasePaintingResource(GraphicsContext*& context, const Path* path) context 394 Source/core/rendering/svg/SVGInlineTextBox.cpp m_paintingResource->postApplyResource(&parent()->renderer(), context, m_paintingResourceMode, path, /*RenderSVGShape*/ 0); context 398 Source/core/rendering/svg/SVGInlineTextBox.cpp bool SVGInlineTextBox::prepareGraphicsContextForTextPainting(GraphicsContext*& context, float scalingFactor, TextRun& textRun, RenderStyle* style) context 400 Source/core/rendering/svg/SVGInlineTextBox.cpp bool acquiredResource = acquirePaintingResource(context, scalingFactor, &parent()->renderer(), style); context 414 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::restoreGraphicsContextAfterTextPainting(GraphicsContext*& context, TextRun& textRun) context 416 Source/core/rendering/svg/SVGInlineTextBox.cpp releasePaintingResource(context, /* path */0); context 530 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::paintDecoration(GraphicsContext* context, TextDecoration decoration, const SVGTextFragment& fragment) context 551 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDecorationWithStyle(context, decoration, fragment, decorationRenderer); context 556 Source/core/rendering/svg/SVGInlineTextBox.cpp paintDecorationWithStyle(context, decoration, fragment, decorationRenderer); context 560 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::paintDecorationWithStyle(GraphicsContext* context, TextDecoration decoration, const SVGTextFragment& fragment, RenderObject* decorationRenderer) context 583 Source/core/rendering/svg/SVGInlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context, false); context 588 Source/core/rendering/svg/SVGInlineTextBox.cpp context->scale(FloatSize(1 / scalingFactor, 1 / scalingFactor)); context 598 Source/core/rendering/svg/SVGInlineTextBox.cpp if (acquirePaintingResource(context, scalingFactor, decorationRenderer, decorationStyle)) context 599 Source/core/rendering/svg/SVGInlineTextBox.cpp releasePaintingResource(context, &path); context 602 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::paintTextWithShadows(GraphicsContext* context, RenderStyle* style, TextRun& textRun, const SVGTextFragment& fragment, int startPosition, int endPosition) context 613 Source/core/rendering/svg/SVGInlineTextBox.cpp bool hasShadow = shadowList && !context->printing(); context 621 Source/core/rendering/svg/SVGInlineTextBox.cpp context->save(); context 622 Source/core/rendering/svg/SVGInlineTextBox.cpp context->scale(FloatSize(1 / scalingFactor, 1 / scalingFactor)); context 634 Source/core/rendering/svg/SVGInlineTextBox.cpp context->setDrawLooper(drawLooperBuilder.release()); context 637 Source/core/rendering/svg/SVGInlineTextBox.cpp if (prepareGraphicsContextForTextPainting(context, scalingFactor, textRun, style)) { context 642 Source/core/rendering/svg/SVGInlineTextBox.cpp scaledFont.drawText(context, textRunPaintInfo, textOrigin); context 643 Source/core/rendering/svg/SVGInlineTextBox.cpp restoreGraphicsContextAfterTextPainting(context, textRun); context 647 Source/core/rendering/svg/SVGInlineTextBox.cpp context->restore(); context 649 Source/core/rendering/svg/SVGInlineTextBox.cpp context->clearShadow(); context 652 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::paintText(GraphicsContext* context, RenderStyle* style, RenderStyle* selectionStyle, const SVGTextFragment& fragment, bool hasSelection, bool paintSelectedTextOnly) context 667 Source/core/rendering/svg/SVGInlineTextBox.cpp paintTextWithShadows(context, style, textRun, fragment, 0, fragment.length); context 673 Source/core/rendering/svg/SVGInlineTextBox.cpp paintTextWithShadows(context, style, textRun, fragment, 0, startPosition); context 680 Source/core/rendering/svg/SVGInlineTextBox.cpp paintTextWithShadows(context, selectionStyle, textRun, fragment, startPosition, endPosition); context 687 Source/core/rendering/svg/SVGInlineTextBox.cpp paintTextWithShadows(context, style, textRun, fragment, endPosition, fragment.length); context 695 Source/core/rendering/svg/SVGInlineTextBox.cpp void SVGInlineTextBox::paintTextMatchMarker(GraphicsContext* context, const FloatPoint&, DocumentMarker* marker, RenderStyle* style, const Font& font) context 735 Source/core/rendering/svg/SVGInlineTextBox.cpp GraphicsContextStateSaver stateSaver(*context); context 737 Source/core/rendering/svg/SVGInlineTextBox.cpp context->concatCTM(fragmentTransform); context 738 Source/core/rendering/svg/SVGInlineTextBox.cpp context->setFillColor(color); context 739 Source/core/rendering/svg/SVGInlineTextBox.cpp context->fillRect(fragmentRect, color); context 340 Source/core/rendering/svg/SVGRenderSupport.cpp void SVGRenderSupport::applyStrokeStyleToContext(GraphicsContext* context, const RenderStyle* style, const RenderObject* object) context 342 Source/core/rendering/svg/SVGRenderSupport.cpp ASSERT(context); context 352 Source/core/rendering/svg/SVGRenderSupport.cpp context->setStrokeThickness(svgStyle->strokeWidth()->value(lengthContext)); context 353 Source/core/rendering/svg/SVGRenderSupport.cpp context->setLineCap(svgStyle->capStyle()); context 354 Source/core/rendering/svg/SVGRenderSupport.cpp context->setLineJoin(svgStyle->joinStyle()); context 355 Source/core/rendering/svg/SVGRenderSupport.cpp context->setMiterLimit(svgStyle->strokeMiterLimit()); context 367 Source/core/rendering/svg/SVGRenderSupport.cpp context->setLineDash(dashArray, svgStyle->strokeDashOffset()->value(lengthContext)); context 66 Source/core/rendering/svg/SVGRenderingContext.cpp m_filter->postApplyResource(m_object, m_paintInfo->context, ApplyToDefaultMode, 0, 0); context 67 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context = m_savedContext; context 73 Source/core/rendering/svg/SVGRenderingContext.cpp m_clipper->postApplyStatefulResource(m_object, m_paintInfo->context, m_clipperContext); context 78 Source/core/rendering/svg/SVGRenderingContext.cpp m_masker->postApplyResource(m_object, m_paintInfo->context, ApplyToDefaultMode, 0, 0); context 83 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->endLayer(); context 86 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->restore(); context 105 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->save(); context 122 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->clip(repaintRect); context 126 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->save(); context 129 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->setCompositeOperation(CompositeSourceOver, style->blendMode()); context 132 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->beginTransparencyLayer(opacity); context 135 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->setCompositeOperation(CompositeSourceOver, blink::WebBlendModeNormal); context 143 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->clipPath(clipPath->path(object->objectBoundingBox()), clipPath->windRule()); context 157 Source/core/rendering/svg/SVGRenderingContext.cpp if (!masker->applyResource(m_object, style, m_paintInfo->context, ApplyToDefaultMode)) context 166 Source/core/rendering/svg/SVGRenderingContext.cpp if (!clipper->applyStatefulResource(m_object, m_paintInfo->context, m_clipperContext)) context 175 Source/core/rendering/svg/SVGRenderingContext.cpp m_savedContext = m_paintInfo->context; context 180 Source/core/rendering/svg/SVGRenderingContext.cpp if (!m_filter->applyResource(m_object, style, m_paintInfo->context, ApplyToDefaultMode)) context 250 Source/core/rendering/svg/SVGRenderingContext.cpp void SVGRenderingContext::renderSubtree(GraphicsContext* context, RenderObject* item, const AffineTransform& subtreeContentTransformation) context 253 Source/core/rendering/svg/SVGRenderingContext.cpp ASSERT(context); context 255 Source/core/rendering/svg/SVGRenderingContext.cpp PaintInfo info(context, PaintInfo::infiniteRect(), PaintPhaseForeground, PaintBehaviorNormal); context 289 Source/core/rendering/svg/SVGRenderingContext.cpp AffineTransform transform = m_paintInfo->context->getCTM(GraphicsContext::DefinitelyIncludeDeviceScale); context 298 Source/core/rendering/svg/SVGRenderingContext.cpp if ((imageBuffer = m_paintInfo->context->createCompatibleBuffer(expandedIntSize(boundingBox.size())))) { context 299 Source/core/rendering/svg/SVGRenderingContext.cpp GraphicsContext* bufferedRenderingContext = imageBuffer->context(); context 302 Source/core/rendering/svg/SVGRenderingContext.cpp bufferedInfo.context = bufferedRenderingContext; context 308 Source/core/rendering/svg/SVGRenderingContext.cpp m_paintInfo->context->drawImageBuffer(imageBuffer.get(), boundingBox); context 39 Source/core/rendering/svg/SVGRootInlineBox.cpp ASSERT(!paintInfo.context->paintingDisabled()); context 229 Source/core/rendering/svg/SVGRootInlineBox.cpp if (!first && firstContext == current->context()) context 231 Source/core/rendering/svg/SVGRootInlineBox.cpp if (!last && lastContext == current->context()) context 29 Source/core/rendering/svg/SVGTextLayoutAttributes.cpp SVGTextLayoutAttributes::SVGTextLayoutAttributes(RenderSVGInlineText* context) context 30 Source/core/rendering/svg/SVGTextLayoutAttributes.cpp : m_context(context) context 54 Source/core/rendering/svg/SVGTextLayoutAttributes.h RenderSVGInlineText* context() const { return m_context; } context 347 Source/core/rendering/svg/SVGTextLayoutEngine.cpp if (m_logicalCharacterOffset != logicalAttributes->context()->textLength()) context 491 Source/core/rendering/svg/SVGTextLayoutEngine.cpp textBox->setStartsNewTextChunk(logicalAttributes->context()->characterStartsNewTextChunk(m_logicalCharacterOffset)); context 168 Source/core/rendering/svg/SVGTextQuery.cpp unsigned positionSize = layoutAttributes->context()->textLength(); context 85 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp void SVGTextRunRenderingContext::drawSVGGlyphs(GraphicsContext* context, const TextRun& run, const SimpleFontData* fontData, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const context 104 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp solidPaintingResource->setColor(context->fillColor()); context 123 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp RenderSVGResourceMode resourceMode = context->textDrawingMode() == TextModeStroke ? ApplyToStrokeMode : ApplyToFillMode; context 157 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp if (activePaintingResource->applyResource(parentRenderObject, parentRenderObjectStyle, context, resourceMode)) { context 158 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp float strokeThickness = context->strokeThickness(); context 160 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp context->setStrokeThickness(strokeThickness * toRenderSVGInlineText(renderObject)->scalingFactor()); context 161 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp activePaintingResource->postApplyResource(parentRenderObject, context, resourceMode, &glyphPath, 0); context 162 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp context->setStrokeThickness(strokeThickness); context 188 Source/core/svg/SVGImageElement.cpp void SVGImageElement::attach(const AttachContext& context) context 190 Source/core/svg/SVGImageElement.cpp SVGGraphicsElement::attach(context); context 153 Source/core/svg/SVGLength.cpp float SVGLength::value(const SVGLengthContext& context, ExceptionState& es) const context 155 Source/core/svg/SVGLength.cpp return context.convertValueToUserUnits(m_valueInSpecifiedUnits, unitMode(), unitType(), es); context 158 Source/core/svg/SVGLength.cpp void SVGLength::setValue(float value, const SVGLengthContext& context, ExceptionState& es) context 164 Source/core/svg/SVGLength.cpp float convertedValue = context.convertValueFromUserUnits(value, unitMode(), unitType(), es); context 238 Source/core/svg/SVGLength.cpp void SVGLength::convertToSpecifiedUnits(SVGLengthType type, const SVGLengthContext& context, ExceptionState& exceptionState) context 242 Source/core/svg/SVGLength.cpp float valueInUserUnits = value(context, exceptionState); context 248 Source/core/svg/SVGLength.cpp setValue(valueInUserUnits, context, exceptionState); context 62 Source/core/svg/SVGLength.h float value(const SVGLengthContext& context) const context 64 Source/core/svg/SVGLength.h return value(context, IGNORE_EXCEPTION); context 40 Source/core/svg/SVGLengthContext.cpp SVGLengthContext::SVGLengthContext(const SVGElement* context) context 41 Source/core/svg/SVGLengthContext.cpp : m_context(context) context 45 Source/core/svg/SVGLengthContext.cpp SVGLengthContext::SVGLengthContext(const SVGElement* context, const FloatRect& viewport) context 46 Source/core/svg/SVGLengthContext.cpp : m_context(context) context 51 Source/core/svg/SVGLengthContext.cpp FloatRect SVGLengthContext::resolveRectangle(const SVGElement* context, SVGUnitTypes::SVGUnitType type, const FloatRect& viewport, PassRefPtr<SVGLength> passX, PassRefPtr<SVGLength> passY, PassRefPtr<SVGLength> passWidth, PassRefPtr<SVGLength> passHeight) context 60 Source/core/svg/SVGLengthContext.cpp SVGLengthContext lengthContext(context); context 64 Source/core/svg/SVGLengthContext.cpp SVGLengthContext lengthContext(context, viewport); context 72 Source/core/svg/SVGLengthContext.cpp FloatPoint SVGLengthContext::resolvePoint(const SVGElement* context, SVGUnitTypes::SVGUnitType type, PassRefPtr<SVGLength> passX, PassRefPtr<SVGLength> passY) context 79 Source/core/svg/SVGLengthContext.cpp SVGLengthContext lengthContext(context); context 87 Source/core/svg/SVGLengthContext.cpp float SVGLengthContext::resolveLength(const SVGElement* context, SVGUnitTypes::SVGUnitType type, PassRefPtr<SVGLength> passX) context 93 Source/core/svg/SVGLengthContext.cpp SVGLengthContext lengthContext(context); context 215 Source/core/svg/SVGLengthContext.cpp static inline RenderStyle* renderStyleForLengthResolving(const SVGElement* context) context 217 Source/core/svg/SVGLengthContext.cpp if (!context) context 220 Source/core/svg/SVGLengthContext.cpp const ContainerNode* currentContext = context; context 57 Source/core/svg/SVGLengthContext.h static FloatRect resolveRectangle(const T* context, SVGUnitTypes::SVGUnitType type, const FloatRect& viewport) context 59 Source/core/svg/SVGLengthContext.h return SVGLengthContext::resolveRectangle(context, type, viewport, context->x()->currentValue(), context->y()->currentValue(), context->width()->currentValue(), context->height()->currentValue()); context 176 Source/core/svg/graphics/SVGImage.cpp void SVGImage::drawForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& dstRect, context 196 Source/core/svg/graphics/SVGImage.cpp draw(context, dstRect, scaledSrc, compositeOp, blendMode); context 208 Source/core/svg/graphics/SVGImage.cpp drawForContainer(buffer->context(), size(), 1, rect(), rect(), CompositeSourceOver, blink::WebBlendModeNormal); context 214 Source/core/svg/graphics/SVGImage.cpp void SVGImage::drawPatternForContainer(GraphicsContext* context, const FloatSize containerSize, float zoom, const FloatRect& srcRect, context 222 Source/core/svg/graphics/SVGImage.cpp AffineTransform transform = context->getCTM(); context 236 Source/core/svg/graphics/SVGImage.cpp drawForContainer(buffer->context(), containerSize, zoom, imageBufferSize, zoomedContainerRect, CompositeSourceOver, blink::WebBlendModeNormal); context 243 Source/core/svg/graphics/SVGImage.cpp image->drawPattern(context, scaledSrcRect, scaleWithoutCTM, phase, compositeOp, dstRect, blendMode, repeatSpacing); context 246 Source/core/svg/graphics/SVGImage.cpp void SVGImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode) context 251 Source/core/svg/graphics/SVGImage.cpp GraphicsContextStateSaver stateSaver(*context); context 252 Source/core/svg/graphics/SVGImage.cpp context->setCompositeOperation(compositeOp, blendMode); context 253 Source/core/svg/graphics/SVGImage.cpp context->clip(enclosingIntRect(dstRect)); context 256 Source/core/svg/graphics/SVGImage.cpp float opacity = context->getNormalizedAlpha() / 255.f; context 259 Source/core/svg/graphics/SVGImage.cpp context->beginTransparencyLayer(opacity); context 261 Source/core/svg/graphics/SVGImage.cpp context->setCompositeOperation(CompositeSourceOver, blink::WebBlendModeNormal); context 271 Source/core/svg/graphics/SVGImage.cpp context->translate(destOffset.x(), destOffset.y()); context 272 Source/core/svg/graphics/SVGImage.cpp context->scale(scale); context 280 Source/core/svg/graphics/SVGImage.cpp view->paint(context, enclosingIntRect(srcRect)); context 284 Source/core/svg/graphics/SVGImage.cpp context->endLayer(); context 37 Source/core/svg/graphics/SVGImageForContainer.cpp void SVGImageForContainer::draw(GraphicsContext* context, const FloatRect& dstRect, context 40 Source/core/svg/graphics/SVGImageForContainer.cpp m_image->drawForContainer(context, m_containerSize, m_zoom, dstRect, srcRect, compositeOp, blendMode); context 43 Source/core/svg/graphics/SVGImageForContainer.cpp void SVGImageForContainer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, context 46 Source/core/svg/graphics/SVGImageForContainer.cpp m_image->drawPatternForContainer(context, m_containerSize, m_zoom, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing); context 133 Source/core/svg/graphics/filters/SVGFEImage.cpp resultImage->context()->translate(-paintLocation.x(), -paintLocation.y()); context 145 Source/core/svg/graphics/filters/SVGFEImage.cpp resultImage->context()->drawImage(m_image.get(), destRect, srcRect); context 158 Source/core/svg/graphics/filters/SVGFEImage.cpp resultImage->context()->concatCTM(makeMapBetweenRects(FloatRect(FloatPoint(), viewportSize), destRect)); context 160 Source/core/svg/graphics/filters/SVGFEImage.cpp resultImage->context()->translate(destRect.x(), destRect.y()); context 161 Source/core/svg/graphics/filters/SVGFEImage.cpp resultImage->context()->concatCTM(filter()->absoluteTransform()); context 165 Source/core/svg/graphics/filters/SVGFEImage.cpp SVGRenderingContext::renderSubtree(resultImage->context(), renderer, contentTransformation); context 202 Source/core/svg/graphics/filters/SVGFEImage.cpp GraphicsContext* context = builder->context(); context 203 Source/core/svg/graphics/filters/SVGFEImage.cpp if (!context) context 206 Source/core/svg/graphics/filters/SVGFEImage.cpp context->save(); context 207 Source/core/svg/graphics/filters/SVGFEImage.cpp context->beginRecording(FloatRect(FloatPoint(), dstRect.size())); context 208 Source/core/svg/graphics/filters/SVGFEImage.cpp context->concatCTM(transform); context 209 Source/core/svg/graphics/filters/SVGFEImage.cpp SVGRenderingContext::renderSubtree(context, renderer, contentTransformation); context 210 Source/core/svg/graphics/filters/SVGFEImage.cpp RefPtr<DisplayList> displayList = context->endRecording(); context 211 Source/core/svg/graphics/filters/SVGFEImage.cpp context->restore(); context 2382 Source/core/testing/Internals.cpp static PassOwnPtr<ScriptFunction> create(ExecutionContext* context) context 2384 Source/core/testing/Internals.cpp return adoptPtr(new AddOneFunction(toIsolate(context))); context 2406 Source/core/testing/Internals.cpp ScriptPromise Internals::createPromise(ExecutionContext* context) context 2408 Source/core/testing/Internals.cpp return ScriptPromiseResolver::create(context)->promise(); context 2411 Source/core/testing/Internals.cpp ScriptPromise Internals::createResolvedPromise(ExecutionContext* context, ScriptValue value) context 2413 Source/core/testing/Internals.cpp RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(context); context 2419 Source/core/testing/Internals.cpp ScriptPromise Internals::createRejectedPromise(ExecutionContext* context, ScriptValue value) context 2421 Source/core/testing/Internals.cpp RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(context); context 2427 Source/core/testing/Internals.cpp ScriptPromise Internals::addOneToPromise(ExecutionContext* context, ScriptPromise promise) context 2429 Source/core/testing/Internals.cpp return promise.then(AddOneFunction::create(context)); context 42 Source/core/testing/v8/WebCoreTestSupport.cpp void injectInternalsObject(v8::Local<v8::Context> context) context 44 Source/core/testing/v8/WebCoreTestSupport.cpp v8::Context::Scope contextScope(context); context 45 Source/core/testing/v8/WebCoreTestSupport.cpp v8::HandleScope scope(context->GetIsolate()); context 46 Source/core/testing/v8/WebCoreTestSupport.cpp ExecutionContext* scriptContext = currentExecutionContext(context->GetIsolate()); context 48 Source/core/testing/v8/WebCoreTestSupport.cpp context->Global()->Set(v8::String::NewFromUtf8(context->GetIsolate(), Internals::internalsId), toV8(Internals::create(toDocument(scriptContext)), v8::Handle<v8::Object>(), context->GetIsolate())); context 51 Source/core/testing/v8/WebCoreTestSupport.cpp void resetInternalsObject(v8::Local<v8::Context> context) context 54 Source/core/testing/v8/WebCoreTestSupport.cpp if (context.IsEmpty()) context 57 Source/core/testing/v8/WebCoreTestSupport.cpp v8::Context::Scope contextScope(context); context 58 Source/core/testing/v8/WebCoreTestSupport.cpp v8::HandleScope scope(context->GetIsolate()); context 60 Source/core/testing/v8/WebCoreTestSupport.cpp ExecutionContext* scriptContext = currentExecutionContext(context->GetIsolate()); context 42 Source/core/workers/AbstractWorker.cpp AbstractWorker::AbstractWorker(ExecutionContext* context) context 43 Source/core/workers/AbstractWorker.cpp : ActiveDOMObject(context) context 46 Source/core/workers/DedicatedWorkerGlobalScope.cpp RefPtrWillBeRawPtr<DedicatedWorkerGlobalScope> context = adoptRefWillBeRefCountedGarbageCollected(new DedicatedWorkerGlobalScope(startupData->m_scriptURL, startupData->m_userAgent, thread, timeOrigin, startupData->m_workerClients.release())); context 47 Source/core/workers/DedicatedWorkerGlobalScope.cpp context->applyContentSecurityPolicyFromString(startupData->m_contentSecurityPolicy, startupData->m_contentSecurityPolicyType); context 48 Source/core/workers/DedicatedWorkerGlobalScope.cpp return context.release(); context 51 Source/core/workers/SharedWorker.cpp inline SharedWorker::SharedWorker(ExecutionContext* context) context 52 Source/core/workers/SharedWorker.cpp : AbstractWorker(context) context 57 Source/core/workers/SharedWorker.cpp PassRefPtrWillBeRawPtr<SharedWorker> SharedWorker::create(ExecutionContext* context, const String& url, const String& name, ExceptionState& exceptionState) context 60 Source/core/workers/SharedWorker.cpp ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument()); context 62 Source/core/workers/SharedWorker.cpp UseCounter::count(context, UseCounter::SharedWorkerStart); context 64 Source/core/workers/SharedWorker.cpp RefPtrWillBeRawPtr<SharedWorker> worker = adoptRefWillBeRefCountedGarbageCollected(new SharedWorker(context)); context 66 Source/core/workers/SharedWorker.cpp RefPtr<MessageChannel> channel = MessageChannel::create(context); context 74 Source/core/workers/SharedWorker.cpp Document* document = toDocument(context); context 55 Source/core/workers/SharedWorkerGlobalScope.cpp RefPtrWillBeRawPtr<SharedWorkerGlobalScope> context = adoptRefWillBeRefCountedGarbageCollected(new SharedWorkerGlobalScope(name, startupData->m_scriptURL, startupData->m_userAgent, thread, startupData->m_workerClients.release())); context 56 Source/core/workers/SharedWorkerGlobalScope.cpp context->applyContentSecurityPolicyFromString(startupData->m_contentSecurityPolicy, startupData->m_contentSecurityPolicyType); context 57 Source/core/workers/SharedWorkerGlobalScope.cpp return context.release(); context 46 Source/core/workers/Worker.cpp inline Worker::Worker(ExecutionContext* context) context 47 Source/core/workers/Worker.cpp : AbstractWorker(context) context 53 Source/core/workers/Worker.cpp PassRefPtrWillBeRawPtr<Worker> Worker::create(ExecutionContext* context, const String& url, ExceptionState& exceptionState) context 56 Source/core/workers/Worker.cpp Document* document = toDocument(context); context 57 Source/core/workers/Worker.cpp UseCounter::count(context, UseCounter::WorkerStart); context 65 Source/core/workers/Worker.cpp RefPtrWillBeRawPtr<Worker> worker = adoptRefWillBeRefCountedGarbageCollected(new Worker(context)); context 77 Source/core/workers/Worker.cpp worker->m_scriptLoader->loadAsynchronously(context, scriptURL, DenyCrossOriginRequests, worker.get()); context 58 Source/core/workers/WorkerConsole.h virtual ExecutionContext* context() OVERRIDE; context 36 Source/core/workers/WorkerEventQueue.cpp PassOwnPtr<WorkerEventQueue> WorkerEventQueue::create(ExecutionContext* context) context 38 Source/core/workers/WorkerEventQueue.cpp return adoptPtr(new WorkerEventQueue(context)); context 41 Source/core/workers/WorkerEventQueue.cpp WorkerEventQueue::WorkerEventQueue(ExecutionContext* context) context 42 Source/core/workers/WorkerEventQueue.cpp : m_executionContext(context) context 70 Source/core/workers/WorkerEventQueue.cpp virtual void performTask(ExecutionContext* context) context 75 Source/core/workers/WorkerEventQueue.cpp dispatchEvent(context, m_event); context 67 Source/core/workers/WorkerGlobalScope.cpp virtual void performTask(ExecutionContext *context) context 69 Source/core/workers/WorkerGlobalScope.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 172 Source/core/workers/WorkerGlobalScope.h DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorkerGlobalScope(), context.isWorkerGlobalScope()); context 74 Source/core/workers/WorkerMessagingProxy.cpp DedicatedWorkerGlobalScope* context = static_cast<DedicatedWorkerGlobalScope*>(scriptContext); context 76 Source/core/workers/WorkerMessagingProxy.cpp context->dispatchEvent(MessageEvent::create(ports.release(), m_message)); context 77 Source/core/workers/WorkerMessagingProxy.cpp context->thread()->workerObjectProxy().confirmMessageFromWorkerObject(context->hasPendingActivity()); context 216 Source/core/workers/WorkerMessagingProxy.cpp static void connectToWorkerGlobalScopeInspectorTask(ExecutionContext* context, bool) context 218 Source/core/workers/WorkerMessagingProxy.cpp toWorkerGlobalScope(context)->workerInspectorController()->connectFrontend(); context 230 Source/core/workers/WorkerMessagingProxy.cpp static void disconnectFromWorkerGlobalScopeInspectorTask(ExecutionContext* context, bool) context 232 Source/core/workers/WorkerMessagingProxy.cpp toWorkerGlobalScope(context)->workerInspectorController()->disconnectFrontend(); context 243 Source/core/workers/WorkerMessagingProxy.cpp static void dispatchOnInspectorBackendTask(ExecutionContext* context, const String& message) context 245 Source/core/workers/WorkerMessagingProxy.cpp toWorkerGlobalScope(context)->workerInspectorController()->dispatchMessageFromFrontend(message); context 57 Source/core/workers/WorkerRunLoop.cpp WorkerGlobalScope* workerGlobalScope = m_runLoop.context(); context 79 Source/core/workers/WorkerRunLoop.cpp virtual void performTask(ExecutionContext* context) OVERRIDE context 81 Source/core/workers/WorkerRunLoop.cpp ASSERT(context->isWorkerGlobalScope()); context 128 Source/core/workers/WorkerRunLoop.cpp RunLoopSetup(WorkerRunLoop& runLoop, WorkerGlobalScope* context) context 130 Source/core/workers/WorkerRunLoop.cpp , m_context(context) context 150 Source/core/workers/WorkerRunLoop.cpp void WorkerRunLoop::setWorkerGlobalScope(WorkerGlobalScope* context) context 153 Source/core/workers/WorkerRunLoop.cpp ASSERT(context); context 154 Source/core/workers/WorkerRunLoop.cpp m_context = context; context 65 Source/core/workers/WorkerRunLoop.h WorkerGlobalScope* context() const { return m_context; } context 182 Source/core/workers/WorkerThread.cpp virtual void performTask(ExecutionContext *context) context 184 Source/core/workers/WorkerThread.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 200 Source/core/workers/WorkerThread.cpp virtual void performTask(ExecutionContext *context) context 202 Source/core/workers/WorkerThread.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 148 Source/core/xml/XMLHttpRequest.cpp static void logConsoleError(ExecutionContext* context, const String& message) context 150 Source/core/xml/XMLHttpRequest.cpp if (!context) context 154 Source/core/xml/XMLHttpRequest.cpp context->addConsoleMessage(JSMessageSource, ErrorMessageLevel, message); context 157 Source/core/xml/XMLHttpRequest.cpp PassRefPtrWillBeRawPtr<XMLHttpRequest> XMLHttpRequest::create(ExecutionContext* context, PassRefPtr<SecurityOrigin> securityOrigin) context 159 Source/core/xml/XMLHttpRequest.cpp RefPtrWillBeRawPtr<XMLHttpRequest> xmlHttpRequest = adoptRefWillBeRefCountedGarbageCollected(new XMLHttpRequest(context, securityOrigin)); context 165 Source/core/xml/XMLHttpRequest.cpp XMLHttpRequest::XMLHttpRequest(ExecutionContext* context, PassRefPtr<SecurityOrigin> securityOrigin) context 166 Source/core/xml/XMLHttpRequest.cpp : ActiveDOMObject(context) context 103 Source/core/xml/XPathPath.cpp Node* context = evaluationContext.node.get(); context 104 Source/core/xml/XPathPath.cpp if (m_absolute && context->nodeType() != Node::DOCUMENT_NODE) { context 105 Source/core/xml/XPathPath.cpp if (context->inDocument()) context 106 Source/core/xml/XPathPath.cpp context = context->ownerDocument(); context 108 Source/core/xml/XPathPath.cpp context = &context->highestAncestor(); context 112 Source/core/xml/XPathPath.cpp nodes.append(context); context 117 Source/core/xml/XPathStep.cpp void Step::evaluate(Node* context, NodeSet& nodes) const context 122 Source/core/xml/XPathStep.cpp nodesInAxis(context, nodes); context 239 Source/core/xml/XPathStep.cpp void Step::nodesInAxis(Node* context, NodeSet& nodes) const context 244 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) // In XPath model, attribute nodes do not have children. context 247 Source/core/xml/XPathStep.cpp for (Node* n = context->firstChild(); n; n = n->nextSibling()) context 252 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) // In XPath model, attribute nodes do not have children. context 255 Source/core/xml/XPathStep.cpp for (Node* n = context->firstChild(); n; n = NodeTraversal::next(*n, context)) context 260 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) { context 261 Source/core/xml/XPathStep.cpp Element* n = toAttr(context)->ownerElement(); context 265 Source/core/xml/XPathStep.cpp ContainerNode* n = context->parentNode(); context 271 Source/core/xml/XPathStep.cpp Node* n = context; context 272 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) { context 273 Source/core/xml/XPathStep.cpp n = toAttr(context)->ownerElement(); context 284 Source/core/xml/XPathStep.cpp if (context->nodeType() == Node::ATTRIBUTE_NODE) context 287 Source/core/xml/XPathStep.cpp for (Node* n = context->nextSibling(); n; n = n->nextSibling()) context 292 Source/core/xml/XPathStep.cpp if (context->nodeType() == Node::ATTRIBUTE_NODE) context 295 Source/core/xml/XPathStep.cpp for (Node* n = context->previousSibling(); n; n = n->previousSibling()) context 302 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) { context 303 Source/core/xml/XPathStep.cpp Node* p = toAttr(context)->ownerElement(); context 309 Source/core/xml/XPathStep.cpp for (Node* p = context; !isRootDomNode(p); p = p->parentNode()) { context 321 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) context 322 Source/core/xml/XPathStep.cpp context = toAttr(context)->ownerElement(); context 324 Source/core/xml/XPathStep.cpp Node* n = context; context 335 Source/core/xml/XPathStep.cpp if (!context->isElementNode()) context 338 Source/core/xml/XPathStep.cpp Element* contextElement = toElement(context); context 365 Source/core/xml/XPathStep.cpp if (nodeMatches(context, SelfAxis, m_nodeTest)) context 366 Source/core/xml/XPathStep.cpp nodes.append(context); context 369 Source/core/xml/XPathStep.cpp if (nodeMatches(context, DescendantOrSelfAxis, m_nodeTest)) context 370 Source/core/xml/XPathStep.cpp nodes.append(context); context 371 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) // In XPath model, attribute nodes do not have children. context 374 Source/core/xml/XPathStep.cpp for (Node* n = context->firstChild(); n; n = NodeTraversal::next(*n, context)) context 379 Source/core/xml/XPathStep.cpp if (nodeMatches(context, AncestorOrSelfAxis, m_nodeTest)) context 380 Source/core/xml/XPathStep.cpp nodes.append(context); context 381 Source/core/xml/XPathStep.cpp Node* n = context; context 382 Source/core/xml/XPathStep.cpp if (context->isAttributeNode()) { context 383 Source/core/xml/XPathStep.cpp n = toAttr(context)->ownerElement(); context 101 Source/core/xml/XPathStep.h void evaluate(Node* context, NodeSet&) const; context 111 Source/core/xml/XPathStep.h void nodesInAxis(Node* context, NodeSet&) const; context 99 Source/core/xml/XSLTProcessorLibxslt.cpp xsltTransformContextPtr context = (xsltTransformContextPtr)ctxt; context 100 Source/core/xml/XSLTProcessorLibxslt.cpp xmlChar* base = xmlNodeGetBase(context->document->doc, context->node); context 144 Source/core/xml/XSLTProcessorLibxslt.cpp static int writeToStringBuilder(void* context, const char* buffer, int len) context 146 Source/core/xml/XSLTProcessorLibxslt.cpp StringBuilder& resultOutput = *static_cast<StringBuilder*>(context); context 174 Source/core/xml/XSLTProcessorLibxslt.cpp outputBuf->context = &resultBuilder; context 643 Source/core/xml/parser/XMLDocumentParser.cpp static int readFunc(void* context, char* buffer, int len) context 646 Source/core/xml/parser/XMLDocumentParser.cpp if (context == &globalDescriptor) context 649 Source/core/xml/parser/XMLDocumentParser.cpp SharedBufferReader* data = static_cast<SharedBufferReader*>(context); context 659 Source/core/xml/parser/XMLDocumentParser.cpp static int closeFunc(void* context) context 661 Source/core/xml/parser/XMLDocumentParser.cpp if (context != &globalDescriptor) { context 662 Source/core/xml/parser/XMLDocumentParser.cpp SharedBufferReader* data = static_cast<SharedBufferReader*>(context); context 840 Source/core/xml/parser/XMLDocumentParser.cpp RefPtr<XMLParserContext> context = m_context; context 850 Source/core/xml/parser/XMLDocumentParser.cpp parseChunk(context->context(), parseString); context 861 Source/core/xml/parser/XMLDocumentParser.cpp TextPosition position(OrdinalNumber::fromOneBasedInt(context->context()->input->line), OrdinalNumber::fromOneBasedInt(context->context()->input->col)); context 1427 Source/core/xml/parser/XMLDocumentParser.cpp finishParsing(context()); context 1469 Source/core/xml/parser/XMLDocumentParser.cpp return OrdinalNumber::fromOneBasedInt(context() ? context()->input->line : 1); context 1474 Source/core/xml/parser/XMLDocumentParser.cpp return OrdinalNumber::fromOneBasedInt(context() ? context()->input->col : 1); context 1479 Source/core/xml/parser/XMLDocumentParser.cpp xmlParserCtxtPtr context = this->context(); context 1480 Source/core/xml/parser/XMLDocumentParser.cpp if (!context) context 1482 Source/core/xml/parser/XMLDocumentParser.cpp return TextPosition(OrdinalNumber::fromOneBasedInt(context->input->line), context 1483 Source/core/xml/parser/XMLDocumentParser.cpp OrdinalNumber::fromOneBasedInt(context->input->col)); context 1489 Source/core/xml/parser/XMLDocumentParser.cpp if (context()) context 1490 Source/core/xml/parser/XMLDocumentParser.cpp xmlStopParser(context()); context 1536 Source/core/xml/parser/XMLDocumentParser.cpp xmlParseContent(context()); context 1542 Source/core/xml/parser/XMLDocumentParser.cpp long bytesProcessed = xmlByteConsumed(context()); context 1551 Source/core/xml/parser/XMLDocumentParser.cpp return context()->wellFormed || !xmlCtxtGetLastError(context()); context 1596 Source/core/xml/parser/XMLDocumentParser.cpp parseChunk(parser->context(), parseString); context 1597 Source/core/xml/parser/XMLDocumentParser.cpp finishParsing(parser->context()); context 56 Source/core/xml/parser/XMLDocumentParser.h xmlParserCtxtPtr context() const { return m_context; } context 59 Source/core/xml/parser/XMLDocumentParser.h XMLParserContext(xmlParserCtxtPtr context) context 60 Source/core/xml/parser/XMLDocumentParser.h : m_context(context) context 160 Source/core/xml/parser/XMLDocumentParser.h xmlParserCtxtPtr context() const { return m_context ? m_context->context() : 0; }; context 32 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java ValidatorContext context = new ValidatorContext(readScriptText(), fileName); context 33 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java AstRoot node = parseScript(context); context 34 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java ValidationCheckDispatcher dispatcher = new ValidationCheckDispatcher(context); context 38 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java return context; context 53 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java private static AstRoot parseScript(ValidatorContext context) throws IOException { context 61 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java return factory.parse(new StringReader(context.scriptText.text), context.scriptFileName, 1); context 70 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java private final ValidatorContext context; context 72 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java public ValidationCheckDispatcher(ValidatorContext context) { context 73 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java this.context = context; context 77 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/FileCheckerCallable.java check.setContext(context); context 37 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java ValidatorContext context = future.get(); context 38 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java if (context != null) { context 39 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java contexts.add(context); context 47 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java for (ValidatorContext context : contexts) { context 48 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java entryCount += context.getValidationResult().size(); context 51 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java for (ValidatorContext context : contexts) { context 52 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java SortedSet<ValidatorContext.MessageRecord> records = context.getValidationResult(); context 54 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/JsDocValidator.java entries.add(new LogEntry(context.scriptFileName, record)); context 10 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidationCheck.java private ValidatorContext context; context 13 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidationCheck.java return context.getNodeText(node); context 16 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidationCheck.java protected void setContext(ValidatorContext context) { context 17 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidationCheck.java if (this.context != null) { context 20 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ValidationCheck.java this.context = context; context 13 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingState.java private final ValidatorContext context; context 15 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingState.java ContextTrackingState(ValidatorContext context) { context 16 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingState.java this.context = context; context 32 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingState.java return context; context 29 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingValidationCheck.java protected void setContext(ValidatorContext context) { context 30 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingValidationCheck.java super.setContext(context); context 31 Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ContextTrackingValidationCheck.java state = new ContextTrackingState(context); context 15 Source/modules/battery/BatteryManager.cpp PassRefPtrWillBeRawPtr<BatteryManager> BatteryManager::create(ExecutionContext* context) context 17 Source/modules/battery/BatteryManager.cpp return adoptRefWillBeRefCountedGarbageCollected(new BatteryManager(context)); context 24 Source/modules/battery/BatteryManager.cpp BatteryManager::BatteryManager(ExecutionContext* context) context 25 Source/modules/battery/BatteryManager.cpp : ContextLifecycleObserver(context) context 122 Source/modules/crypto/CryptoResultImpl.cpp CryptoResultImpl::CryptoResultImpl(ExecutionContext* context) context 123 Source/modules/crypto/CryptoResultImpl.cpp : ContextLifecycleObserver(context) context 124 Source/modules/crypto/CryptoResultImpl.cpp , m_promiseResolver(ScriptPromiseResolver::create(context)) context 125 Source/modules/crypto/CryptoResultImpl.cpp , m_requestState(context) context 164 Source/modules/crypto/CryptoResultImpl.cpp ExecutionContext* context = executionContext(); context 165 Source/modules/crypto/CryptoResultImpl.cpp return context && !context->activeDOMObjectsAreSuspended() && !context->activeDOMObjectsAreStopped(); context 342 Source/modules/crypto/NormalizeAlgorithm.cpp bool getOptionalCryptoOperationData(const Dictionary& raw, const char* propertyName, bool& hasProperty, RefPtr<ArrayBufferView>& buffer, const ErrorContext& context, String& errorDetails) context 352 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Not an ArrayBufferView"); context 364 Source/modules/crypto/NormalizeAlgorithm.cpp bool getCryptoOperationData(const Dictionary& raw, const char* propertyName, RefPtr<ArrayBufferView>& buffer, const ErrorContext& context, String& errorDetails) context 367 Source/modules/crypto/NormalizeAlgorithm.cpp bool ok = getOptionalCryptoOperationData(raw, propertyName, hasProperty, buffer, context, errorDetails); context 369 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Missing required property"); context 375 Source/modules/crypto/NormalizeAlgorithm.cpp bool getUint8Array(const Dictionary& raw, const char* propertyName, RefPtr<Uint8Array>& array, const ErrorContext& context, String& errorDetails) context 378 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Missing or not a Uint8Array"); context 387 Source/modules/crypto/NormalizeAlgorithm.cpp bool getBigInteger(const Dictionary& raw, const char* propertyName, RefPtr<Uint8Array>& array, const ErrorContext& context, String& errorDetails) context 389 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getUint8Array(raw, propertyName, array, context, errorDetails)) context 393 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "BigInteger should not be empty"); context 398 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Missing or not a Uint8Array"); context 405 Source/modules/crypto/NormalizeAlgorithm.cpp bool getOptionalInteger(const Dictionary& raw, const char* propertyName, bool& hasProperty, double& value, double minValue, double maxValue, const ErrorContext& context, String& errorDetails) context 414 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Is not a number"); context 421 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Outside of numeric range"); context 429 Source/modules/crypto/NormalizeAlgorithm.cpp bool getInteger(const Dictionary& raw, const char* propertyName, double& value, double minValue, double maxValue, const ErrorContext& context, String& errorDetails) context 432 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getOptionalInteger(raw, propertyName, hasProperty, value, minValue, maxValue, context, errorDetails)) context 436 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString(propertyName, "Missing required property"); context 443 Source/modules/crypto/NormalizeAlgorithm.cpp bool getUint32(const Dictionary& raw, const char* propertyName, uint32_t& value, const ErrorContext& context, String& errorDetails) context 446 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getInteger(raw, propertyName, number, 0, 0xFFFFFFFF, context, errorDetails)) context 452 Source/modules/crypto/NormalizeAlgorithm.cpp bool getUint16(const Dictionary& raw, const char* propertyName, uint16_t& value, const ErrorContext& context, String& errorDetails) context 455 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getInteger(raw, propertyName, number, 0, 0xFFFF, context, errorDetails)) context 461 Source/modules/crypto/NormalizeAlgorithm.cpp bool getUint8(const Dictionary& raw, const char* propertyName, uint8_t& value, const ErrorContext& context, String& errorDetails) context 464 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getInteger(raw, propertyName, number, 0, 0xFF, context, errorDetails)) context 470 Source/modules/crypto/NormalizeAlgorithm.cpp bool getOptionalUint32(const Dictionary& raw, const char* propertyName, bool& hasValue, uint32_t& value, const ErrorContext& context, String& errorDetails) context 473 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getOptionalInteger(raw, propertyName, hasValue, number, 0, 0xFFFFFFFF, context, errorDetails)) context 485 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAesCbcParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 488 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getCryptoOperationData(raw, "iv", iv, context, errorDetails)) context 492 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("iv", "Must be 16 bytes"); context 505 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAesKeyGenParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 508 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getUint16(raw, "length", length, context, errorDetails)) context 517 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseHash(const Dictionary& raw, blink::WebCryptoAlgorithm& hash, ErrorContext context, String& errorDetails) context 521 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("hash", "Missing or not a dictionary"); context 525 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("hash"); context 526 Source/modules/crypto/NormalizeAlgorithm.cpp return parseAlgorithm(rawHash, Digest, hash, context, errorDetails); context 534 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseHmacImportParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 537 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseHash(raw, hash, context, errorDetails)) context 553 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseHmacKeyGenParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 556 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseHash(raw, hash, context, errorDetails)) context 561 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getOptionalUint32(raw, "length", hasLength, length, context, errorDetails)) context 573 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseRsaHashedImportParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 576 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseHash(raw, hash, context, errorDetails)) context 589 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseRsaKeyGenParams(const Dictionary& raw, uint32_t& modulusLength, RefPtr<Uint8Array>& publicExponent, const ErrorContext& context, String& errorDetails) context 591 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getUint32(raw, "modulusLength", modulusLength, context, errorDetails)) context 594 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getBigInteger(raw, "publicExponent", publicExponent, context, errorDetails)) context 600 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseRsaKeyGenParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 604 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseRsaKeyGenParams(raw, modulusLength, publicExponent, context, errorDetails)) context 616 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseRsaHashedKeyGenParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 620 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseRsaKeyGenParams(raw, modulusLength, publicExponent, context, errorDetails)) context 624 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseHash(raw, hash, context, errorDetails)) context 637 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAesCtrParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 640 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getCryptoOperationData(raw, "counter", counter, context, errorDetails)) context 644 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getUint8(raw, "length", length, context, errorDetails)) context 658 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAesGcmParams(const Dictionary& raw, OwnPtr<blink::WebCryptoAlgorithmParams>& params, const ErrorContext& context, String& errorDetails) context 661 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getCryptoOperationData(raw, "iv", iv, context, errorDetails)) context 666 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getOptionalCryptoOperationData(raw, "additionalData", hasAdditionalData, additionalData, context, errorDetails)) context 671 Source/modules/crypto/NormalizeAlgorithm.cpp if (!getOptionalInteger(raw, "tagLength", hasTagLength, tagLength, 0, 128, context, errorDetails)) context 684 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAlgorithmParams(const Dictionary& raw, blink::WebCryptoAlgorithmParamsType type, OwnPtr<blink::WebCryptoAlgorithmParams>& params, ErrorContext& context, String& errorDetails) context 690 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("AesCbcParams"); context 691 Source/modules/crypto/NormalizeAlgorithm.cpp return parseAesCbcParams(raw, params, context, errorDetails); context 693 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("AesKeyGenParams"); context 694 Source/modules/crypto/NormalizeAlgorithm.cpp return parseAesKeyGenParams(raw, params, context, errorDetails); context 696 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("HmacImportParams"); context 697 Source/modules/crypto/NormalizeAlgorithm.cpp return parseHmacImportParams(raw, params, context, errorDetails); context 699 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("HmacKeyGenParams"); context 700 Source/modules/crypto/NormalizeAlgorithm.cpp return parseHmacKeyGenParams(raw, params, context, errorDetails); context 702 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("RsaHashedKeyGenParams"); context 703 Source/modules/crypto/NormalizeAlgorithm.cpp return parseRsaHashedKeyGenParams(raw, params, context, errorDetails); context 705 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("RsaHashedImportParams"); context 706 Source/modules/crypto/NormalizeAlgorithm.cpp return parseRsaHashedImportParams(raw, params, context, errorDetails); context 708 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("RsaKeyGenParams"); context 709 Source/modules/crypto/NormalizeAlgorithm.cpp return parseRsaKeyGenParams(raw, params, context, errorDetails); context 711 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("AesCtrParams"); context 712 Source/modules/crypto/NormalizeAlgorithm.cpp return parseAesCtrParams(raw, params, context, errorDetails); context 714 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("AesGcmParams"); context 715 Source/modules/crypto/NormalizeAlgorithm.cpp return parseAesGcmParams(raw, params, context, errorDetails); context 725 Source/modules/crypto/NormalizeAlgorithm.cpp bool parseAlgorithm(const Dictionary& raw, AlgorithmOperation op, blink::WebCryptoAlgorithm& algorithm, ErrorContext context, String& errorDetails) context 727 Source/modules/crypto/NormalizeAlgorithm.cpp context.add("Algorithm"); context 730 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("Not an object"); context 736 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("name", "Missing or not a string"); context 742 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("Unrecognized algorithm name"); context 746 Source/modules/crypto/NormalizeAlgorithm.cpp context.add(algorithmIdToName(algorithmId)); context 750 Source/modules/crypto/NormalizeAlgorithm.cpp errorDetails = context.toString("Unsupported operation"); context 755 Source/modules/crypto/NormalizeAlgorithm.cpp if (!parseAlgorithmParams(raw, paramsType, params, context, errorDetails)) context 48 Source/modules/crypto/WorkerGlobalScopeCrypto.cpp WorkerGlobalScopeCrypto& WorkerGlobalScopeCrypto::from(WillBeHeapSupplementable<WorkerGlobalScope>& context) context 50 Source/modules/crypto/WorkerGlobalScopeCrypto.cpp WorkerGlobalScopeCrypto* supplement = static_cast<WorkerGlobalScopeCrypto*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName())); context 53 Source/modules/crypto/WorkerGlobalScopeCrypto.cpp provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement)); context 58 Source/modules/crypto/WorkerGlobalScopeCrypto.cpp Crypto* WorkerGlobalScopeCrypto::crypto(WillBeHeapSupplementable<WorkerGlobalScope>& context) context 60 Source/modules/crypto/WorkerGlobalScopeCrypto.cpp return WorkerGlobalScopeCrypto::from(context).crypto(); context 64 Source/modules/encryptedmedia/MediaKeySession.cpp PassRefPtrWillBeRawPtr<MediaKeySession> MediaKeySession::create(ExecutionContext* context, blink::WebContentDecryptionModule* cdm, WeakPtr<MediaKeys> keys) context 66 Source/modules/encryptedmedia/MediaKeySession.cpp RefPtrWillBeRawPtr<MediaKeySession> session(adoptRefWillBeRefCountedGarbageCollected(new MediaKeySession(context, cdm, keys))); context 71 Source/modules/encryptedmedia/MediaKeySession.cpp MediaKeySession::MediaKeySession(ExecutionContext* context, blink::WebContentDecryptionModule* cdm, WeakPtr<MediaKeys> keys) context 72 Source/modules/encryptedmedia/MediaKeySession.cpp : ActiveDOMObject(context) context 56 Source/modules/encryptedmedia/MediaKeys.cpp PassRefPtrWillBeRawPtr<MediaKeys> MediaKeys::create(ExecutionContext* context, const String& keySystem, ExceptionState& exceptionState) context 75 Source/modules/encryptedmedia/MediaKeys.cpp Document* document = toDocument(context); context 77 Source/modules/encryptedmedia/MediaKeys.cpp OwnPtr<blink::WebContentDecryptionModule> cdm = controller->createContentDecryptionModule(context, keySystem); context 86 Source/modules/encryptedmedia/MediaKeys.cpp return adoptRefWillBeNoop(new MediaKeys(context, keySystem, cdm.release())); context 89 Source/modules/encryptedmedia/MediaKeys.cpp MediaKeys::MediaKeys(ExecutionContext* context, const String& keySystem, PassOwnPtr<blink::WebContentDecryptionModule> cdm) context 90 Source/modules/encryptedmedia/MediaKeys.cpp : ContextLifecycleObserver(context) context 105 Source/modules/encryptedmedia/MediaKeys.cpp PassRefPtrWillBeRawPtr<MediaKeySession> MediaKeys::createSession(ExecutionContext* context, const String& contentType, Uint8Array* initData, ExceptionState& exceptionState) context 131 Source/modules/encryptedmedia/MediaKeys.cpp RefPtrWillBeRawPtr<MediaKeySession> session = MediaKeySession::create(context, m_cdm.get(), m_weakFactory.createWeakPtr()); context 27 Source/modules/encryptedmedia/MediaKeysController.cpp PassOwnPtr<blink::WebContentDecryptionModule> MediaKeysController::createContentDecryptionModule(ExecutionContext* context, const String& keySystem) context 29 Source/modules/encryptedmedia/MediaKeysController.cpp return m_client->createContentDecryptionModule(context, keySystem); context 57 Source/modules/filesystem/DOMFileSystem.cpp PassRefPtrWillBeRawPtr<DOMFileSystem> DOMFileSystem::create(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL) context 59 Source/modules/filesystem/DOMFileSystem.cpp RefPtrWillBeRawPtr<DOMFileSystem> fileSystem(adoptRefWillBeRefCountedGarbageCollected(new DOMFileSystem(context, name, type, rootURL))); context 64 Source/modules/filesystem/DOMFileSystem.cpp PassRefPtrWillBeRawPtr<DOMFileSystem> DOMFileSystem::createIsolatedFileSystem(ExecutionContext* context, const String& filesystemId) context 70 Source/modules/filesystem/DOMFileSystem.cpp filesystemName.append(createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin())); context 78 Source/modules/filesystem/DOMFileSystem.cpp rootURL.append(context->securityOrigin()->toString()); context 85 Source/modules/filesystem/DOMFileSystem.cpp return DOMFileSystem::create(context, filesystemName.toString(), FileSystemTypeIsolated, KURL(ParsedURLString, rootURL.toString())); context 88 Source/modules/filesystem/DOMFileSystem.cpp DOMFileSystem::DOMFileSystem(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL) context 89 Source/modules/filesystem/DOMFileSystem.cpp : DOMFileSystemBase(context, name, type, rootURL) context 90 Source/modules/filesystem/DOMFileSystem.cpp , ActiveDOMObject(context) context 61 Source/modules/filesystem/DOMFileSystemBase.cpp DOMFileSystemBase::DOMFileSystemBase(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL) context 62 Source/modules/filesystem/DOMFileSystemBase.cpp : m_context(context) context 58 Source/modules/filesystem/DOMFileSystemSync.cpp DOMFileSystemSync::DOMFileSystemSync(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL) context 59 Source/modules/filesystem/DOMFileSystemSync.cpp : DOMFileSystemBase(context, name, type, rootURL) context 48 Source/modules/filesystem/DOMFileSystemSync.h static PassRefPtrWillBeRawPtr<DOMFileSystemSync> create(ExecutionContext* context, const String& name, FileSystemType type, const KURL& rootURL) context 50 Source/modules/filesystem/DOMFileSystemSync.h return adoptRefWillBeRefCountedGarbageCollected(new DOMFileSystemSync(context, name, type, rootURL)); context 143 Source/modules/filesystem/FileSystemCallbacks.cpp FileSystemCallbacks::FileSystemCallbacks(PassOwnPtr<FileSystemCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback, ExecutionContext* context, FileSystemType type) context 146 Source/modules/filesystem/FileSystemCallbacks.cpp , m_executionContext(context) context 168 Source/modules/filesystem/FileSystemCallbacks.cpp ResolveURICallbacks::ResolveURICallbacks(PassOwnPtr<EntryCallback> successCallback, PassOwnPtr<ErrorCallback> errorCallback, ExecutionContext* context) context 171 Source/modules/filesystem/FileSystemCallbacks.cpp , m_executionContext(context) context 47 Source/modules/filesystem/FileWriter.cpp PassRefPtrWillBeRawPtr<FileWriter> FileWriter::create(ExecutionContext* context) context 49 Source/modules/filesystem/FileWriter.cpp RefPtrWillBeRawPtr<FileWriter> fileWriter(adoptRefWillBeRefCountedGarbageCollected(new FileWriter(context))); context 54 Source/modules/filesystem/FileWriter.cpp FileWriter::FileWriter(ExecutionContext* context) context 55 Source/modules/filesystem/FileWriter.cpp : ActiveDOMObject(context) context 19 Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp ExecutionContext* context = host.frontendPage()->mainFrame()->document(); context 20 Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL)); context 67 Source/modules/filesystem/LocalFileSystem.cpp void LocalFileSystem::resolveURL(ExecutionContext* context, const KURL& fileSystemURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) context 69 Source/modules/filesystem/LocalFileSystem.cpp if (!client() || !client()->allowFileSystem(context)) { context 70 Source/modules/filesystem/LocalFileSystem.cpp context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks)); context 76 Source/modules/filesystem/LocalFileSystem.cpp void LocalFileSystem::requestFileSystem(ExecutionContext* context, FileSystemType type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) context 78 Source/modules/filesystem/LocalFileSystem.cpp if (!client() || !client()->allowFileSystem(context)) { context 79 Source/modules/filesystem/LocalFileSystem.cpp context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks)); context 82 Source/modules/filesystem/LocalFileSystem.cpp KURL storagePartition = KURL(KURL(), context->securityOrigin()->toString()); context 86 Source/modules/filesystem/LocalFileSystem.cpp void LocalFileSystem::deleteFileSystem(ExecutionContext* context, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks) context 88 Source/modules/filesystem/LocalFileSystem.cpp ASSERT(context); context 89 Source/modules/filesystem/LocalFileSystem.cpp ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument()); context 91 Source/modules/filesystem/LocalFileSystem.cpp if (!client() || !client()->allowFileSystem(context)) { context 92 Source/modules/filesystem/LocalFileSystem.cpp context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks)); context 95 Source/modules/filesystem/LocalFileSystem.cpp KURL storagePartition = KURL(KURL(), context->securityOrigin()->toString()); context 109 Source/modules/filesystem/LocalFileSystem.cpp LocalFileSystem* LocalFileSystem::from(ExecutionContext& context) context 111 Source/modules/filesystem/LocalFileSystem.cpp if (context.isDocument()) { context 112 Source/modules/filesystem/LocalFileSystem.cpp return static_cast<LocalFileSystem*>(Supplement<Page>::from(toDocument(context).page(), supplementName())); context 114 Source/modules/filesystem/LocalFileSystem.cpp ASSERT(context.isWorkerGlobalScope()); context 115 Source/modules/filesystem/LocalFileSystem.cpp return static_cast<LocalFileSystem*>(Supplement<WorkerClients>::from(toWorkerGlobalScope(context).clients(), supplementName())); context 252 Source/modules/geolocation/Geolocation.cpp PassRefPtrWillBeRawPtr<Geolocation> Geolocation::create(ExecutionContext* context) context 254 Source/modules/geolocation/Geolocation.cpp RefPtrWillBeRawPtr<Geolocation> geolocation = adoptRefWillBeNoop(new Geolocation(context)); context 259 Source/modules/geolocation/Geolocation.cpp Geolocation::Geolocation(ExecutionContext* context) context 260 Source/modules/geolocation/Geolocation.cpp : ActiveDOMObject(context) context 66 Source/modules/imagebitmap/ImageBitmapFactories.cpp static ScriptPromise fulfillImageBitmap(ExecutionContext* context, PassRefPtrWillBeRawPtr<ImageBitmap> imageBitmap) context 68 Source/modules/imagebitmap/ImageBitmapFactories.cpp RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(context); context 160 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, CanvasRenderingContext2D* context, ExceptionState& exceptionState) context 162 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, context->canvas(), exceptionState); context 165 Source/modules/imagebitmap/ImageBitmapFactories.cpp ScriptPromise ImageBitmapFactories::createImageBitmap(EventTarget& eventTarget, CanvasRenderingContext2D* context, int sx, int sy, int sw, int sh, ExceptionState& exceptionState) context 167 Source/modules/imagebitmap/ImageBitmapFactories.cpp return createImageBitmap(eventTarget, context->canvas(), sx, sy, sw, sh, exceptionState); context 312 Source/modules/imagebitmap/ImageBitmapFactories.cpp void ImageBitmapFactories::ImageBitmapLoader::loadBlobAsync(ExecutionContext* context, Blob* blob) context 314 Source/modules/imagebitmap/ImageBitmapFactories.cpp m_loader.start(context, blob->blobDataHandle()); context 173 Source/modules/indexeddb/IDBCursor.cpp void IDBCursor::continueFunction(ExecutionContext* context, const ScriptValue& keyValue, ExceptionState& exceptionState) context 176 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 185 Source/modules/indexeddb/IDBCursor.cpp void IDBCursor::continuePrimaryKey(ExecutionContext* context, const ScriptValue& keyValue, const ScriptValue& primaryKeyValue, ExceptionState& exceptionState) context 188 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 248 Source/modules/indexeddb/IDBCursor.cpp PassRefPtr<IDBRequest> IDBCursor::deleteFunction(ExecutionContext* context, ExceptionState& exceptionState) context 280 Source/modules/indexeddb/IDBCursor.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 312 Source/modules/indexeddb/IDBCursor.cpp ScriptValue IDBCursor::key(ExecutionContext* context) context 315 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 319 Source/modules/indexeddb/IDBCursor.cpp ScriptValue IDBCursor::primaryKey(ExecutionContext* context) context 322 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 326 Source/modules/indexeddb/IDBCursor.cpp ScriptValue IDBCursor::value(ExecutionContext* context) context 330 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 347 Source/modules/indexeddb/IDBCursor.cpp ScriptValue IDBCursor::source(ExecutionContext* context) const context 349 Source/modules/indexeddb/IDBCursor.cpp DOMRequestState requestState(context); context 69 Source/modules/indexeddb/IDBDatabase.cpp PassRefPtr<IDBDatabase> IDBDatabase::create(ExecutionContext* context, PassOwnPtr<WebIDBDatabase> database, PassRefPtr<IDBDatabaseCallbacks> callbacks) context 71 Source/modules/indexeddb/IDBDatabase.cpp RefPtr<IDBDatabase> idbDatabase(adoptRef(new IDBDatabase(context, database, callbacks))); context 76 Source/modules/indexeddb/IDBDatabase.cpp IDBDatabase::IDBDatabase(ExecutionContext* context, PassOwnPtr<WebIDBDatabase> backend, PassRefPtr<IDBDatabaseCallbacks> callbacks) context 77 Source/modules/indexeddb/IDBDatabase.cpp : ActiveDOMObject(context) context 165 Source/modules/indexeddb/IDBDatabase.cpp ScriptValue IDBDatabase::version(ExecutionContext* context) const context 167 Source/modules/indexeddb/IDBDatabase.cpp DOMRequestState requestState(context); context 265 Source/modules/indexeddb/IDBDatabase.cpp PassRefPtr<IDBTransaction> IDBDatabase::transaction(ExecutionContext* context, const Vector<String>& scope, const String& modeString, ExceptionState& exceptionState) context 301 Source/modules/indexeddb/IDBDatabase.cpp RefPtr<IDBTransaction> transaction = IDBTransaction::create(context, transactionId, scope, mode, this); context 305 Source/modules/indexeddb/IDBDatabase.cpp PassRefPtr<IDBTransaction> IDBDatabase::transaction(ExecutionContext* context, const String& storeName, const String& mode, ExceptionState& exceptionState) context 309 Source/modules/indexeddb/IDBDatabase.cpp return transaction(context, storeNames, mode, exceptionState); context 74 Source/modules/indexeddb/IDBDatabase.h PassRefPtr<IDBTransaction> transaction(ExecutionContext* context, PassRefPtr<DOMStringList> scope, const String& mode, ExceptionState& exceptionState) { return transaction(context, *scope, mode, exceptionState); } context 65 Source/modules/indexeddb/IDBFactory.cpp static bool isContextValid(ExecutionContext* context) context 67 Source/modules/indexeddb/IDBFactory.cpp ASSERT(context->isDocument() || context->isWorkerGlobalScope()); context 68 Source/modules/indexeddb/IDBFactory.cpp if (context->isDocument()) { context 69 Source/modules/indexeddb/IDBFactory.cpp Document* document = toDocument(context); context 75 Source/modules/indexeddb/IDBFactory.cpp PassRefPtr<IDBRequest> IDBFactory::getDatabaseNames(ExecutionContext* context, ExceptionState& exceptionState) context 78 Source/modules/indexeddb/IDBFactory.cpp if (!isContextValid(context)) context 80 Source/modules/indexeddb/IDBFactory.cpp if (!context->securityOrigin()->canAccessDatabase()) { context 85 Source/modules/indexeddb/IDBFactory.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::createNull(), 0); context 87 Source/modules/indexeddb/IDBFactory.cpp if (!m_permissionClient->allowIndexedDB(context, "Database Listing")) { context 92 Source/modules/indexeddb/IDBFactory.cpp blink::Platform::current()->idbFactory()->getDatabaseNames(WebIDBCallbacksImpl::create(request).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin())); context 96 Source/modules/indexeddb/IDBFactory.cpp PassRefPtr<IDBOpenDBRequest> IDBFactory::open(ExecutionContext* context, const String& name, unsigned long long version, ExceptionState& exceptionState) context 103 Source/modules/indexeddb/IDBFactory.cpp return openInternal(context, name, version, exceptionState); context 106 Source/modules/indexeddb/IDBFactory.cpp PassRefPtr<IDBOpenDBRequest> IDBFactory::openInternal(ExecutionContext* context, const String& name, int64_t version, ExceptionState& exceptionState) context 114 Source/modules/indexeddb/IDBFactory.cpp if (!isContextValid(context)) context 116 Source/modules/indexeddb/IDBFactory.cpp if (!context->securityOrigin()->canAccessDatabase()) { context 123 Source/modules/indexeddb/IDBFactory.cpp RefPtr<IDBOpenDBRequest> request = IDBOpenDBRequest::create(context, databaseCallbacks, transactionId, version); context 125 Source/modules/indexeddb/IDBFactory.cpp if (!m_permissionClient->allowIndexedDB(context, name)) { context 130 Source/modules/indexeddb/IDBFactory.cpp blink::Platform::current()->idbFactory()->open(name, version, transactionId, WebIDBCallbacksImpl::create(request).leakPtr(), WebIDBDatabaseCallbacksImpl::create(databaseCallbacks.release()).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin())); context 134 Source/modules/indexeddb/IDBFactory.cpp PassRefPtr<IDBOpenDBRequest> IDBFactory::open(ExecutionContext* context, const String& name, ExceptionState& exceptionState) context 137 Source/modules/indexeddb/IDBFactory.cpp return openInternal(context, name, IDBDatabaseMetadata::NoIntVersion, exceptionState); context 140 Source/modules/indexeddb/IDBFactory.cpp PassRefPtr<IDBOpenDBRequest> IDBFactory::deleteDatabase(ExecutionContext* context, const String& name, ExceptionState& exceptionState) context 148 Source/modules/indexeddb/IDBFactory.cpp if (!isContextValid(context)) context 150 Source/modules/indexeddb/IDBFactory.cpp if (!context->securityOrigin()->canAccessDatabase()) { context 155 Source/modules/indexeddb/IDBFactory.cpp RefPtr<IDBOpenDBRequest> request = IDBOpenDBRequest::create(context, nullptr, 0, IDBDatabaseMetadata::DefaultIntVersion); context 157 Source/modules/indexeddb/IDBFactory.cpp if (!m_permissionClient->allowIndexedDB(context, name)) { context 162 Source/modules/indexeddb/IDBFactory.cpp blink::Platform::current()->idbFactory()->deleteDatabase(name, WebIDBCallbacksImpl::create(request).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin())); context 166 Source/modules/indexeddb/IDBFactory.cpp short IDBFactory::cmp(ExecutionContext* context, const ScriptValue& firstValue, const ScriptValue& secondValue, ExceptionState& exceptionState) context 168 Source/modules/indexeddb/IDBFactory.cpp DOMRequestState requestState(context); context 63 Source/modules/indexeddb/IDBIndex.cpp ScriptValue IDBIndex::keyPath(ExecutionContext* context) const context 65 Source/modules/indexeddb/IDBIndex.cpp DOMRequestState requestState(context); context 69 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::openCursor(ExecutionContext* context, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) context 88 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 92 Source/modules/indexeddb/IDBIndex.cpp return openCursor(context, keyRange.release(), direction); context 95 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::openCursor(ExecutionContext* context, PassRefPtr<IDBKeyRange> keyRange, WebIDBCursor::Direction direction) context 97 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 103 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::count(ExecutionContext* context, const ScriptValue& range, ExceptionState& exceptionState) context 119 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 123 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 128 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::openKeyCursor(ExecutionContext* context, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) context 147 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 151 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 157 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::get(ExecutionContext* context, const ScriptValue& key, ExceptionState& exceptionState) context 160 Source/modules/indexeddb/IDBIndex.cpp return getInternal(context, key, exceptionState, false); context 163 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::getKey(ExecutionContext* context, const ScriptValue& key, ExceptionState& exceptionState) context 166 Source/modules/indexeddb/IDBIndex.cpp return getInternal(context, key, exceptionState, true); context 169 Source/modules/indexeddb/IDBIndex.cpp PassRefPtr<IDBRequest> IDBIndex::getInternal(ExecutionContext* context, const ScriptValue& key, ExceptionState& exceptionState, bool keyOnly) context 184 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, key, exceptionState); context 192 Source/modules/indexeddb/IDBIndex.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 37 Source/modules/indexeddb/IDBKeyRange.cpp PassRefPtr<IDBKeyRange> IDBKeyRange::fromScriptValue(ExecutionContext* context, const ScriptValue& value, ExceptionState& exceptionState) context 39 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 65 Source/modules/indexeddb/IDBKeyRange.cpp ScriptValue IDBKeyRange::lowerValue(ExecutionContext* context) const context 67 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 71 Source/modules/indexeddb/IDBKeyRange.cpp ScriptValue IDBKeyRange::upperValue(ExecutionContext* context) const context 73 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 88 Source/modules/indexeddb/IDBKeyRange.cpp PassRefPtr<IDBKeyRange> IDBKeyRange::only(ExecutionContext* context, const ScriptValue& keyValue, ExceptionState& exceptionState) context 90 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 100 Source/modules/indexeddb/IDBKeyRange.cpp PassRefPtr<IDBKeyRange> IDBKeyRange::lowerBound(ExecutionContext* context, const ScriptValue& boundValue, bool open, ExceptionState& exceptionState) context 102 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 112 Source/modules/indexeddb/IDBKeyRange.cpp PassRefPtr<IDBKeyRange> IDBKeyRange::upperBound(ExecutionContext* context, const ScriptValue& boundValue, bool open, ExceptionState& exceptionState) context 114 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 124 Source/modules/indexeddb/IDBKeyRange.cpp PassRefPtr<IDBKeyRange> IDBKeyRange::bound(ExecutionContext* context, const ScriptValue& lowerValue, const ScriptValue& upperValue, bool lowerOpen, bool upperOpen, ExceptionState& exceptionState) context 126 Source/modules/indexeddb/IDBKeyRange.cpp DOMRequestState requestState(context); context 64 Source/modules/indexeddb/IDBObjectStore.cpp ScriptValue IDBObjectStore::keyPath(ExecutionContext* context) const context 66 Source/modules/indexeddb/IDBObjectStore.cpp DOMRequestState requestState(context); context 80 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::get(ExecutionContext* context, const ScriptValue& key, ExceptionState& exceptionState) context 95 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, key, exceptionState); context 103 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 145 Source/modules/indexeddb/IDBObjectStore.cpp ExecutionContext* context = state->executionContext(); context 146 Source/modules/indexeddb/IDBObjectStore.cpp DOMRequestState requestState(context); context 185 Source/modules/indexeddb/IDBObjectStore.cpp ExecutionContext* context = state->executionContext(); context 186 Source/modules/indexeddb/IDBObjectStore.cpp DOMRequestState requestState(context); context 229 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, source, m_transaction.get()); context 237 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::deleteFunction(ExecutionContext* context, const ScriptValue& key, ExceptionState& exceptionState) context 257 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, key, exceptionState); context 265 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 270 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::clear(ExecutionContext* context, ExceptionState& exceptionState) context 290 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 323 Source/modules/indexeddb/IDBObjectStore.cpp virtual void handleEvent(ExecutionContext* context, Event* event) OVERRIDE context 340 Source/modules/indexeddb/IDBObjectStore.cpp ScriptValue value = cursor->value(context); context 365 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ExecutionContext* context, const String& name, const IDBKeyPath& keyPath, const Dictionary& options, ExceptionState& exceptionState) context 373 Source/modules/indexeddb/IDBObjectStore.cpp return createIndex(context, name, keyPath, unique, multiEntry, exceptionState); context 376 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBIndex> IDBObjectStore::createIndex(ExecutionContext* context, const String& name, const IDBKeyPath& keyPath, bool unique, bool multiEntry, ExceptionState& exceptionState) context 428 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> indexRequest = openCursor(context, static_cast<IDBKeyRange*>(0), blink::WebIDBCursor::Next, WebIDBDatabase::PreemptiveTask); context 511 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::openCursor(ExecutionContext* context, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) context 531 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 535 Source/modules/indexeddb/IDBObjectStore.cpp return openCursor(context, keyRange, direction, WebIDBDatabase::NormalTask); context 538 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::openCursor(ExecutionContext* context, PassRefPtr<IDBKeyRange> range, WebIDBCursor::Direction direction, WebIDBDatabase::TaskType taskType) context 540 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 547 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::openKeyCursor(ExecutionContext* context, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState) context 567 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 571 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 578 Source/modules/indexeddb/IDBObjectStore.cpp PassRefPtr<IDBRequest> IDBObjectStore::count(ExecutionContext* context, const ScriptValue& range, ExceptionState& exceptionState) context 594 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBKeyRange> keyRange = IDBKeyRange::fromScriptValue(context, range, exceptionState); context 598 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IDBRequest> request = IDBRequest::create(context, IDBAny::create(this), m_transaction.get()); context 76 Source/modules/indexeddb/IDBObjectStore.h PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& name, const String& keyPath, const Dictionary& options, ExceptionState& exceptionState) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptionState); } context 77 Source/modules/indexeddb/IDBObjectStore.h PassRefPtr<IDBIndex> createIndex(ExecutionContext* context, const String& name, const Vector<String>& keyPath, const Dictionary& options, ExceptionState& exceptionState) { return createIndex(context, name, IDBKeyPath(keyPath), options, exceptionState); } context 42 Source/modules/indexeddb/IDBOpenDBRequest.cpp PassRefPtr<IDBOpenDBRequest> IDBOpenDBRequest::create(ExecutionContext* context, PassRefPtr<IDBDatabaseCallbacks> callbacks, int64_t transactionId, int64_t version) context 44 Source/modules/indexeddb/IDBOpenDBRequest.cpp RefPtr<IDBOpenDBRequest> request(adoptRef(new IDBOpenDBRequest(context, callbacks, transactionId, version))); context 49 Source/modules/indexeddb/IDBOpenDBRequest.cpp IDBOpenDBRequest::IDBOpenDBRequest(ExecutionContext* context, PassRefPtr<IDBDatabaseCallbacks> callbacks, int64_t transactionId, int64_t version) context 50 Source/modules/indexeddb/IDBOpenDBRequest.cpp : IDBRequest(context, IDBAny::createNull(), 0) context 47 Source/modules/indexeddb/IDBRequest.cpp PassRefPtr<IDBRequest> IDBRequest::create(ExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) context 49 Source/modules/indexeddb/IDBRequest.cpp RefPtr<IDBRequest> request(adoptRef(new IDBRequest(context, source, transaction))); context 57 Source/modules/indexeddb/IDBRequest.cpp IDBRequest::IDBRequest(ExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) context 58 Source/modules/indexeddb/IDBRequest.cpp : ActiveDOMObject(context) context 71 Source/modules/indexeddb/IDBRequest.cpp , m_requestState(context) context 102 Source/modules/indexeddb/IDBRequest.cpp ScriptValue IDBRequest::source(ExecutionContext* context) const context 107 Source/modules/indexeddb/IDBRequest.cpp DOMRequestState requestState(context); context 46 Source/modules/indexeddb/IDBTransaction.cpp PassRefPtr<IDBTransaction> IDBTransaction::create(ExecutionContext* context, int64_t id, const Vector<String>& objectStoreNames, WebIDBDatabase::TransactionMode mode, IDBDatabase* db) context 49 Source/modules/indexeddb/IDBTransaction.cpp RefPtr<IDBTransaction> transaction(adoptRef(new IDBTransaction(context, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata()))); context 54 Source/modules/indexeddb/IDBTransaction.cpp PassRefPtr<IDBTransaction> IDBTransaction::create(ExecutionContext* context, int64_t id, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMetadata) context 56 Source/modules/indexeddb/IDBTransaction.cpp RefPtr<IDBTransaction> transaction(adoptRef(new IDBTransaction(context, id, Vector<String>(), WebIDBDatabase::TransactionVersionChange, db, openDBRequest, previousMetadata))); context 79 Source/modules/indexeddb/IDBTransaction.cpp IDBTransaction::IDBTransaction(ExecutionContext* context, int64_t id, const Vector<String>& objectStoreNames, WebIDBDatabase::TransactionMode mode, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMetadata) context 80 Source/modules/indexeddb/IDBTransaction.cpp : ActiveDOMObject(context) context 138 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ExecutableWithDatabase(ExecutionContext* context) context 139 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp : m_context(context) { } context 194 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBOpenDBRequest> idbOpenDBRequest = idbFactory->open(context(), databaseName, exceptionState); context 258 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp static PassRefPtr<DatabaseLoader> create(ExecutionContext* context, PassRefPtr<RequestDatabaseCallback> requestCallback) context 260 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp return adoptRef(new DatabaseLoader(context, requestCallback)); context 309 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp DatabaseLoader(ExecutionContext* context, PassRefPtr<RequestDatabaseCallback> requestCallback) context 310 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp : ExecutableWithDatabase(context) context 403 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp virtual void handleEvent(ExecutionContext* context, Event* event) OVERRIDE context 445 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp Document* document = toDocument(context); context 451 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp .setKey(idbCursor->key(context).toJSONValue(scriptState)->toJSONString()) context 452 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp .setPrimaryKey(idbCursor->primaryKey(context).toJSONValue(scriptState)->toJSONString()) context 453 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp .setValue(idbCursor->value(context).toJSONValue(scriptState)->toJSONString()); context 482 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp static PassRefPtr<DataLoader> create(ExecutionContext* context, PassRefPtr<RequestDataCallback> requestCallback, const String& objectStoreName, const String& indexName, PassRefPtr<IDBKeyRange> idbKeyRange, int skipCount, unsigned pageSize) context 484 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp return adoptRef(new DataLoader(context, requestCallback, objectStoreName, indexName, idbKeyRange, skipCount, pageSize)); context 494 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBTransaction> idbTransaction = transactionForDatabase(context(), idbDatabase.get(), m_objectStoreName); context 515 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp idbRequest = idbIndex->openCursor(context(), PassRefPtr<IDBKeyRange>(m_idbKeyRange), blink::WebIDBCursor::Next); context 517 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp idbRequest = idbObjectStore->openCursor(context(), PassRefPtr<IDBKeyRange>(m_idbKeyRange), blink::WebIDBCursor::Next); context 628 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); context 629 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ASSERT(!context.IsEmpty()); context 630 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Context::Scope contextScope(context); context 654 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); context 655 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ASSERT(!context.IsEmpty()); context 656 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Context::Scope contextScope(context); context 681 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); context 682 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ASSERT(!context.IsEmpty()); context 683 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Context::Scope contextScope(context); context 728 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp static PassRefPtr<ClearObjectStore> create(ExecutionContext* context, const String& objectStoreName, PassRefPtr<ClearObjectStoreCallback> requestCallback) context 730 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp return adoptRef(new ClearObjectStore(context, objectStoreName, requestCallback)); context 733 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ClearObjectStore(ExecutionContext* context, const String& objectStoreName, PassRefPtr<ClearObjectStoreCallback> requestCallback) context 734 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp : ExecutableWithDatabase(context) context 745 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBTransaction> idbTransaction = transactionForDatabase(context(), idbDatabase.get(), m_objectStoreName, IDBTransaction::modeReadWrite()); context 757 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBRequest> idbRequest = idbObjectStore->clear(context(), exceptionState); context 786 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Handle<v8::Context> context = toV8Context(isolate, document->frame(), DOMWrapperWorld::mainWorld()); context 787 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ASSERT(!context.IsEmpty()); context 788 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp v8::Context::Scope contextScope(context); context 51 Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp WorkerGlobalScopeIndexedDatabase& WorkerGlobalScopeIndexedDatabase::from(WillBeHeapSupplementable<WorkerGlobalScope>& context) context 53 Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp WorkerGlobalScopeIndexedDatabase* supplement = static_cast<WorkerGlobalScopeIndexedDatabase*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName())); context 56 Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement)); context 61 Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp IDBFactory* WorkerGlobalScopeIndexedDatabase::indexedDB(WillBeHeapSupplementable<WorkerGlobalScope>& context) context 63 Source/modules/indexeddb/WorkerGlobalScopeIndexedDatabase.cpp return from(context).indexedDB(); context 51 Source/modules/mediasource/MediaSource.cpp PassRefPtrWillBeRawPtr<MediaSource> MediaSource::create(ExecutionContext* context) context 53 Source/modules/mediasource/MediaSource.cpp RefPtrWillBeRawPtr<MediaSource> mediaSource(adoptRefWillBeRefCountedGarbageCollected(new MediaSource(context))); context 58 Source/modules/mediasource/MediaSource.cpp MediaSource::MediaSource(ExecutionContext* context) context 59 Source/modules/mediasource/MediaSource.cpp : MediaSourceBase(context) context 73 Source/modules/mediasource/MediaSourceBase.cpp MediaSourceBase::MediaSourceBase(ExecutionContext* context) context 74 Source/modules/mediasource/MediaSourceBase.cpp : ActiveDOMObject(context) context 40 Source/modules/mediasource/SourceBufferList.cpp SourceBufferList::SourceBufferList(ExecutionContext* context, GenericEventQueue* asyncEventQueue) context 41 Source/modules/mediasource/SourceBufferList.cpp : m_executionContext(context) context 48 Source/modules/mediasource/SourceBufferList.h static PassRefPtrWillBeRawPtr<SourceBufferList> create(ExecutionContext* context, GenericEventQueue* asyncEventQueue) context 50 Source/modules/mediasource/SourceBufferList.h return adoptRefWillBeRefCountedGarbageCollected(new SourceBufferList(context, asyncEventQueue)); context 49 Source/modules/mediasource/WebKitMediaSource.cpp PassRefPtrWillBeRawPtr<WebKitMediaSource> WebKitMediaSource::create(ExecutionContext* context) context 51 Source/modules/mediasource/WebKitMediaSource.cpp RefPtrWillBeRawPtr<WebKitMediaSource> mediaSource(adoptRefWillBeRefCountedGarbageCollected(new WebKitMediaSource(context))); context 56 Source/modules/mediasource/WebKitMediaSource.cpp WebKitMediaSource::WebKitMediaSource(ExecutionContext* context) context 57 Source/modules/mediasource/WebKitMediaSource.cpp : MediaSourceBase(context) context 40 Source/modules/mediasource/WebKitSourceBufferList.cpp WebKitSourceBufferList::WebKitSourceBufferList(ExecutionContext* context, GenericEventQueue* asyncEventQueue) context 41 Source/modules/mediasource/WebKitSourceBufferList.cpp : m_executionContext(context) context 48 Source/modules/mediasource/WebKitSourceBufferList.h static PassRefPtrWillBeRawPtr<WebKitSourceBufferList> create(ExecutionContext* context, GenericEventQueue* asyncEventQueue) context 50 Source/modules/mediasource/WebKitSourceBufferList.h return adoptRefWillBeRefCountedGarbageCollected(new WebKitSourceBufferList(context, asyncEventQueue)); context 36 Source/modules/mediastream/MediaDevicesRequest.cpp PassRefPtr<MediaDevicesRequest> MediaDevicesRequest::create(ExecutionContext* context, UserMediaController* controller, PassOwnPtr<MediaDeviceInfoCallback> callback, ExceptionState& exceptionState) context 38 Source/modules/mediastream/MediaDevicesRequest.cpp RefPtr<MediaDevicesRequest> request = adoptRef(new MediaDevicesRequest(context, controller, callback)); context 43 Source/modules/mediastream/MediaDevicesRequest.cpp MediaDevicesRequest::MediaDevicesRequest(ExecutionContext* context, UserMediaController* controller, PassOwnPtr<MediaDeviceInfoCallback> callback) context 44 Source/modules/mediastream/MediaDevicesRequest.cpp : ActiveDOMObject(context) context 56 Source/modules/mediastream/MediaDevicesRequest.cpp if (ExecutionContext* context = executionContext()) { context 57 Source/modules/mediastream/MediaDevicesRequest.cpp return toDocument(context); context 58 Source/modules/mediastream/MediaStream.cpp PassRefPtr<MediaStream> MediaStream::create(ExecutionContext* context) context 63 Source/modules/mediastream/MediaStream.cpp return adoptRef(new MediaStream(context, audioTracks, videoTracks)); context 66 Source/modules/mediastream/MediaStream.cpp PassRefPtr<MediaStream> MediaStream::create(ExecutionContext* context, PassRefPtr<MediaStream> stream) context 79 Source/modules/mediastream/MediaStream.cpp return adoptRef(new MediaStream(context, audioTracks, videoTracks)); context 82 Source/modules/mediastream/MediaStream.cpp PassRefPtr<MediaStream> MediaStream::create(ExecutionContext* context, const MediaStreamTrackVector& tracks) context 90 Source/modules/mediastream/MediaStream.cpp return adoptRef(new MediaStream(context, audioTracks, videoTracks)); context 93 Source/modules/mediastream/MediaStream.cpp PassRefPtr<MediaStream> MediaStream::create(ExecutionContext* context, PassRefPtr<MediaStreamDescriptor> streamDescriptor) context 95 Source/modules/mediastream/MediaStream.cpp return adoptRef(new MediaStream(context, streamDescriptor)); context 98 Source/modules/mediastream/MediaStream.cpp MediaStream::MediaStream(ExecutionContext* context, PassRefPtr<MediaStreamDescriptor> streamDescriptor) context 99 Source/modules/mediastream/MediaStream.cpp : ContextLifecycleObserver(context) context 110 Source/modules/mediastream/MediaStream.cpp RefPtr<MediaStreamTrack> newTrack = MediaStreamTrack::create(context, m_descriptor->audioComponent(i)); context 118 Source/modules/mediastream/MediaStream.cpp RefPtr<MediaStreamTrack> newTrack = MediaStreamTrack::create(context, m_descriptor->videoComponent(i)); context 124 Source/modules/mediastream/MediaStream.cpp MediaStream::MediaStream(ExecutionContext* context, const MediaStreamTrackVector& audioTracks, const MediaStreamTrackVector& videoTracks) context 125 Source/modules/mediastream/MediaStream.cpp : ContextLifecycleObserver(context) context 253 Source/modules/mediastream/MediaStream.cpp PassRefPtr<MediaStream> MediaStream::clone(ExecutionContext* context) context 257 Source/modules/mediastream/MediaStream.cpp tracks.append((*iter)->clone(context)); context 259 Source/modules/mediastream/MediaStream.cpp tracks.append((*iter)->clone(context)); context 260 Source/modules/mediastream/MediaStream.cpp RefPtr<MediaStream> clonedStream = MediaStream::create(context, tracks); context 41 Source/modules/mediastream/MediaStreamTrack.cpp PassRefPtr<MediaStreamTrack> MediaStreamTrack::create(ExecutionContext* context, MediaStreamComponent* component) context 43 Source/modules/mediastream/MediaStreamTrack.cpp RefPtr<MediaStreamTrack> track = adoptRef(new MediaStreamTrack(context, component)); context 48 Source/modules/mediastream/MediaStreamTrack.cpp MediaStreamTrack::MediaStreamTrack(ExecutionContext* context, MediaStreamComponent* component) context 49 Source/modules/mediastream/MediaStreamTrack.cpp : ActiveDOMObject(context) context 124 Source/modules/mediastream/MediaStreamTrack.cpp void MediaStreamTrack::getSources(ExecutionContext* context, PassOwnPtr<MediaStreamTrackSourcesCallback> callback, ExceptionState& exceptionState) context 126 Source/modules/mediastream/MediaStreamTrack.cpp RefPtr<MediaStreamTrackSourcesRequest> request = MediaStreamTrackSourcesRequestImpl::create(context->securityOrigin()->toString(), callback); context 142 Source/modules/mediastream/MediaStreamTrack.cpp PassRefPtr<MediaStreamTrack> MediaStreamTrack::clone(ExecutionContext* context) context 145 Source/modules/mediastream/MediaStreamTrack.cpp RefPtr<MediaStreamTrack> clonedTrack = MediaStreamTrack::create(context, clonedComponent.get()); context 47 Source/modules/mediastream/RTCDTMFSender.cpp PassRefPtr<RTCDTMFSender> RTCDTMFSender::create(ExecutionContext* context, blink::WebRTCPeerConnectionHandler* peerConnectionHandler, PassRefPtr<MediaStreamTrack> prpTrack, ExceptionState& exceptionState) context 56 Source/modules/mediastream/RTCDTMFSender.cpp RefPtr<RTCDTMFSender> dtmfSender = adoptRef(new RTCDTMFSender(context, track, handler.release())); context 61 Source/modules/mediastream/RTCDTMFSender.cpp RTCDTMFSender::RTCDTMFSender(ExecutionContext* context, PassRefPtr<MediaStreamTrack> track, PassOwnPtr<blink::WebRTCDTMFSenderHandler> handler) context 62 Source/modules/mediastream/RTCDTMFSender.cpp : ActiveDOMObject(context) context 55 Source/modules/mediastream/RTCDataChannel.cpp PassRefPtr<RTCDataChannel> RTCDataChannel::create(ExecutionContext* context, PassOwnPtr<blink::WebRTCDataChannelHandler> handler) context 58 Source/modules/mediastream/RTCDataChannel.cpp return adoptRef(new RTCDataChannel(context, handler)); context 61 Source/modules/mediastream/RTCDataChannel.cpp PassRefPtr<RTCDataChannel> RTCDataChannel::create(ExecutionContext* context, blink::WebRTCPeerConnectionHandler* peerConnectionHandler, const String& label, const blink::WebRTCDataChannelInit& init, ExceptionState& exceptionState) context 68 Source/modules/mediastream/RTCDataChannel.cpp return adoptRef(new RTCDataChannel(context, handler.release())); context 71 Source/modules/mediastream/RTCDataChannel.cpp RTCDataChannel::RTCDataChannel(ExecutionContext* context, PassOwnPtr<blink::WebRTCDataChannelHandler> handler) context 72 Source/modules/mediastream/RTCDataChannel.cpp : m_executionContext(context) context 161 Source/modules/mediastream/RTCPeerConnection.cpp PassRefPtr<RTCPeerConnection> RTCPeerConnection::create(ExecutionContext* context, const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState& exceptionState) context 171 Source/modules/mediastream/RTCPeerConnection.cpp RefPtr<RTCPeerConnection> peerConnection = adoptRef(new RTCPeerConnection(context, configuration.release(), constraints, exceptionState)); context 179 Source/modules/mediastream/RTCPeerConnection.cpp RTCPeerConnection::RTCPeerConnection(ExecutionContext* context, PassRefPtr<RTCConfiguration> configuration, blink::WebMediaConstraints constraints, ExceptionState& exceptionState) context 180 Source/modules/mediastream/RTCPeerConnection.cpp : ActiveDOMObject(context) context 44 Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp PassRefPtr<RTCSessionDescriptionRequestImpl> RTCSessionDescriptionRequestImpl::create(ExecutionContext* context, PassOwnPtr<RTCSessionDescriptionCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback) context 46 Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp RefPtr<RTCSessionDescriptionRequestImpl> request = adoptRef(new RTCSessionDescriptionRequestImpl(context, successCallback, errorCallback)); context 51 Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp RTCSessionDescriptionRequestImpl::RTCSessionDescriptionRequestImpl(ExecutionContext* context, PassOwnPtr<RTCSessionDescriptionCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback) context 52 Source/modules/mediastream/RTCSessionDescriptionRequestImpl.cpp : ActiveDOMObject(context) context 34 Source/modules/mediastream/RTCStatsRequestImpl.cpp PassRefPtr<RTCStatsRequestImpl> RTCStatsRequestImpl::create(ExecutionContext* context, PassOwnPtr<RTCStatsCallback> callback, PassRefPtr<MediaStreamTrack> selector) context 36 Source/modules/mediastream/RTCStatsRequestImpl.cpp RefPtr<RTCStatsRequestImpl> request = adoptRef(new RTCStatsRequestImpl(context, callback, selector)); context 41 Source/modules/mediastream/RTCStatsRequestImpl.cpp RTCStatsRequestImpl::RTCStatsRequestImpl(ExecutionContext* context, PassOwnPtr<RTCStatsCallback> callback, PassRefPtr<MediaStreamTrack> selector) context 42 Source/modules/mediastream/RTCStatsRequestImpl.cpp : ActiveDOMObject(context) context 41 Source/modules/mediastream/RTCVoidRequestImpl.cpp PassRefPtr<RTCVoidRequestImpl> RTCVoidRequestImpl::create(ExecutionContext* context, PassOwnPtr<VoidCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback) context 43 Source/modules/mediastream/RTCVoidRequestImpl.cpp RefPtr<RTCVoidRequestImpl> request = adoptRef(new RTCVoidRequestImpl(context, successCallback, errorCallback)); context 48 Source/modules/mediastream/RTCVoidRequestImpl.cpp RTCVoidRequestImpl::RTCVoidRequestImpl(ExecutionContext* context, PassOwnPtr<VoidCallback> successCallback, PassOwnPtr<RTCErrorCallback> errorCallback) context 49 Source/modules/mediastream/RTCVoidRequestImpl.cpp : ActiveDOMObject(context) context 68 Source/modules/mediastream/UserMediaRequest.cpp PassRefPtr<UserMediaRequest> UserMediaRequest::create(ExecutionContext* context, UserMediaController* controller, const Dictionary& options, PassOwnPtr<NavigatorUserMediaSuccessCallback> successCallback, PassOwnPtr<NavigatorUserMediaErrorCallback> errorCallback, ExceptionState& exceptionState) context 83 Source/modules/mediastream/UserMediaRequest.cpp return adoptRef(new UserMediaRequest(context, controller, audio, video, successCallback, errorCallback)); context 86 Source/modules/mediastream/UserMediaRequest.cpp UserMediaRequest::UserMediaRequest(ExecutionContext* context, UserMediaController* controller, blink::WebMediaConstraints audio, blink::WebMediaConstraints video, PassOwnPtr<NavigatorUserMediaSuccessCallback> successCallback, PassOwnPtr<NavigatorUserMediaErrorCallback> errorCallback) context 87 Source/modules/mediastream/UserMediaRequest.cpp : ContextLifecycleObserver(context) context 122 Source/modules/mediastream/UserMediaRequest.cpp if (ExecutionContext* context = executionContext()) { context 123 Source/modules/mediastream/UserMediaRequest.cpp return toDocument(context); context 43 Source/modules/notifications/Notification.cpp PassRefPtrWillBeRawPtr<Notification> Notification::create(ExecutionContext* context, const String& title, const Dictionary& options) context 45 Source/modules/notifications/Notification.cpp NotificationClient* client = NotificationController::clientFrom(toDocument(context)->page()); context 46 Source/modules/notifications/Notification.cpp RefPtrWillBeRawPtr<Notification> notification = adoptRefWillBeRefCountedGarbageCollected(new Notification(title, context, client)); context 58 Source/modules/notifications/Notification.cpp KURL iconUrl = argument.isEmpty() ? KURL() : context->completeURL(argument); context 67 Source/modules/notifications/Notification.cpp Notification::Notification(const String& title, ExecutionContext* context, NotificationClient* client) context 68 Source/modules/notifications/Notification.cpp : ActiveDOMObject(context) context 161 Source/modules/notifications/Notification.cpp const String& Notification::permission(ExecutionContext* context) context 163 Source/modules/notifications/Notification.cpp ASSERT(toDocument(context)->page()); context 164 Source/modules/notifications/Notification.cpp return permissionString(NotificationController::from(toDocument(context)->page())->client()->checkPermission(context)); context 167 Source/modules/notifications/Notification.cpp void Notification::requestPermission(ExecutionContext* context, PassOwnPtr<NotificationPermissionCallback> callback) context 169 Source/modules/notifications/Notification.cpp ASSERT(toDocument(context)->page()); context 170 Source/modules/notifications/Notification.cpp NotificationController::from(toDocument(context)->page())->client()->requestPermission(context, callback); context 61 Source/modules/performance/SharedWorkerPerformance.cpp double SharedWorkerPerformance::workerStart(ExecutionContext* context, SharedWorker& sharedWorker) context 63 Source/modules/performance/SharedWorkerPerformance.cpp return SharedWorkerPerformance::from(sharedWorker).getWorkerStart(context, sharedWorker); context 66 Source/modules/performance/SharedWorkerPerformance.cpp double SharedWorkerPerformance::getWorkerStart(ExecutionContext* context, SharedWorker&) const context 68 Source/modules/performance/SharedWorkerPerformance.cpp ASSERT(context); context 69 Source/modules/performance/SharedWorkerPerformance.cpp ASSERT(context->isDocument()); context 70 Source/modules/performance/SharedWorkerPerformance.cpp Document* document = toDocument(context); context 49 Source/modules/performance/WorkerGlobalScopePerformance.cpp WorkerGlobalScopePerformance& WorkerGlobalScopePerformance::from(WorkerGlobalScope& context) context 51 Source/modules/performance/WorkerGlobalScopePerformance.cpp WorkerGlobalScopePerformance* supplement = static_cast<WorkerGlobalScopePerformance*>(WillBeHeapSupplement<WorkerGlobalScope>::from(context, supplementName())); context 54 Source/modules/performance/WorkerGlobalScopePerformance.cpp provideTo(context, supplementName(), adoptPtrWillBeNoop(supplement)); context 59 Source/modules/performance/WorkerGlobalScopePerformance.cpp WorkerPerformance* WorkerGlobalScopePerformance::performance(WorkerGlobalScope& context) context 61 Source/modules/performance/WorkerGlobalScopePerformance.cpp return from(context).performance(); context 49 Source/modules/performance/WorkerPerformance.cpp double WorkerPerformance::now(ExecutionContext* context) const context 51 Source/modules/performance/WorkerPerformance.cpp ASSERT(context); context 52 Source/modules/performance/WorkerPerformance.cpp ASSERT(context->isWorkerGlobalScope()); context 53 Source/modules/performance/WorkerPerformance.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 29 Source/modules/push_messaging/PushManager.cpp ScriptPromise PushManager::registerPushMessaging(ExecutionContext* context, const String& senderId) context 31 Source/modules/push_messaging/PushManager.cpp RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(context); context 34 Source/modules/push_messaging/PushManager.cpp OwnPtr<CallbackPromiseAdapter<PushRegistration, PushError> > adapter = adoptPtr(new CallbackPromiseAdapter<PushRegistration, PushError>(resolver, context)); context 40 Source/modules/quota/StorageQuotaCallbacksImpl.cpp StorageQuotaCallbacksImpl::StorageQuotaCallbacksImpl(PassRefPtr<ScriptPromiseResolver> resolver, ExecutionContext* context) context 42 Source/modules/quota/StorageQuotaCallbacksImpl.cpp , m_requestState(context) context 46 Source/modules/quota/StorageQuotaCallbacksImpl.h static PassOwnPtr<StorageQuotaCallbacksImpl> create(PassRefPtr<ScriptPromiseResolver> resolver, ExecutionContext* context) context 48 Source/modules/quota/StorageQuotaCallbacksImpl.h return adoptPtr(new StorageQuotaCallbacksImpl(resolver, context)); context 44 Source/modules/quota/StorageQuotaClient.cpp StorageQuotaClient* StorageQuotaClient::from(ExecutionContext* context) context 46 Source/modules/quota/StorageQuotaClient.cpp return static_cast<StorageQuotaClient*>(Supplement<Page>::from(toDocument(context)->page(), supplementName())); context 57 Source/modules/serviceworkers/InstallEvent.cpp ScriptPromise InstallEvent::reloadAll(ExecutionContext* context) context 63 Source/modules/serviceworkers/InstallEvent.cpp RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(context); context 57 Source/modules/serviceworkers/RespondWithObserver.cpp PassRefPtr<RespondWithObserver> RespondWithObserver::create(ExecutionContext* context, int eventID) context 59 Source/modules/serviceworkers/RespondWithObserver.cpp return adoptRef(new RespondWithObserver(context, eventID)); context 116 Source/modules/serviceworkers/RespondWithObserver.cpp RespondWithObserver::RespondWithObserver(ExecutionContext* context, int eventID) context 117 Source/modules/serviceworkers/RespondWithObserver.cpp : ContextLifecycleObserver(context) context 31 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp ServiceWorkerContainerClient* ServiceWorkerContainerClient::from(ExecutionContext* context) context 33 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp if (context->isDocument()) { context 34 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp Document* document = toDocument(context); context 47 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp ASSERT(context->isWorkerGlobalScope()); context 48 Source/modules/serviceworkers/ServiceWorkerContainerClient.cpp return static_cast<ServiceWorkerContainerClient*>(Supplement<WorkerClients>::from(toWorkerGlobalScope(context)->clients(), supplementName())); context 44 Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp RefPtrWillBeRawPtr<ServiceWorkerGlobalScope> context = adoptRefWillBeRefCountedGarbageCollected(new ServiceWorkerGlobalScope(startupData->m_scriptURL, startupData->m_userAgent, thread, monotonicallyIncreasingTime(), startupData->m_workerClients.release())); context 46 Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp context->applyContentSecurityPolicyFromString(startupData->m_contentSecurityPolicy, startupData->m_contentSecurityPolicyType); context 47 Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp return context.release(); context 44 Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp ServiceWorkerGlobalScopeClient* ServiceWorkerGlobalScopeClient::from(ExecutionContext* context) context 46 Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.cpp return static_cast<ServiceWorkerGlobalScopeClient*>(Supplement<WorkerClients>::from(toWorkerGlobalScope(context)->clients(), supplementName())); context 56 Source/modules/serviceworkers/WaitUntilObserver.cpp PassRefPtr<WaitUntilObserver> WaitUntilObserver::create(ExecutionContext* context, EventType type, int eventID) context 58 Source/modules/serviceworkers/WaitUntilObserver.cpp return adoptRef(new WaitUntilObserver(context, type, eventID)); context 84 Source/modules/serviceworkers/WaitUntilObserver.cpp WaitUntilObserver::WaitUntilObserver(ExecutionContext* context, EventType type, int eventID) context 85 Source/modules/serviceworkers/WaitUntilObserver.cpp : ContextLifecycleObserver(context) context 40 Source/modules/speech/SpeechRecognition.cpp PassRefPtrWillBeRawPtr<SpeechRecognition> SpeechRecognition::create(ExecutionContext* context) context 42 Source/modules/speech/SpeechRecognition.cpp RefPtrWillBeRawPtr<SpeechRecognition> speechRecognition(adoptRefWillBeRefCountedGarbageCollected(new SpeechRecognition(context))); context 168 Source/modules/speech/SpeechRecognition.cpp SpeechRecognition::SpeechRecognition(ExecutionContext* context) context 169 Source/modules/speech/SpeechRecognition.cpp : ActiveDOMObject(context) context 37 Source/modules/speech/SpeechSynthesis.cpp PassRefPtrWillBeRawPtr<SpeechSynthesis> SpeechSynthesis::create(ExecutionContext* context) context 39 Source/modules/speech/SpeechSynthesis.cpp return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesis(context)); context 42 Source/modules/speech/SpeechSynthesis.cpp SpeechSynthesis::SpeechSynthesis(ExecutionContext* context) context 43 Source/modules/speech/SpeechSynthesis.cpp : ContextLifecycleObserver(context) context 31 Source/modules/speech/SpeechSynthesisUtterance.cpp PassRefPtrWillBeRawPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ExecutionContext* context, const String& text) context 33 Source/modules/speech/SpeechSynthesisUtterance.cpp return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisUtterance(context, text)); context 36 Source/modules/speech/SpeechSynthesisUtterance.cpp SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context, const String& text) context 37 Source/modules/speech/SpeechSynthesisUtterance.cpp : ContextLifecycleObserver(context) context 39 Source/modules/webaudio/AnalyserNode.cpp AnalyserNode::AnalyserNode(AudioContext* context, float sampleRate) context 40 Source/modules/webaudio/AnalyserNode.cpp : AudioBasicInspectorNode(context, sampleRate, 2) context 38 Source/modules/webaudio/AnalyserNode.h static PassRefPtr<AnalyserNode> create(AudioContext* context, float sampleRate) context 40 Source/modules/webaudio/AnalyserNode.h return adoptRef(new AnalyserNode(context, sampleRate)); context 37 Source/modules/webaudio/AudioBasicInspectorNode.cpp AudioBasicInspectorNode::AudioBasicInspectorNode(AudioContext* context, float sampleRate, unsigned outputChannelCount) context 38 Source/modules/webaudio/AudioBasicInspectorNode.cpp : AudioNode(context, sampleRate) context 58 Source/modules/webaudio/AudioBasicInspectorNode.cpp AudioContext::AutoLocker locker(context()); context 68 Source/modules/webaudio/AudioBasicInspectorNode.cpp AudioContext::AutoLocker locker(context()); context 76 Source/modules/webaudio/AudioBasicInspectorNode.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 96 Source/modules/webaudio/AudioBasicInspectorNode.cpp ASSERT(context()->isGraphOwner()); context 102 Source/modules/webaudio/AudioBasicInspectorNode.cpp context()->removeAutomaticPullNode(this); context 110 Source/modules/webaudio/AudioBasicInspectorNode.cpp context()->addAutomaticPullNode(this); context 114 Source/modules/webaudio/AudioBasicInspectorNode.cpp context()->removeAutomaticPullNode(this); context 39 Source/modules/webaudio/AudioBasicProcessorNode.cpp AudioBasicProcessorNode::AudioBasicProcessorNode(AudioContext* context, float sampleRate) context 40 Source/modules/webaudio/AudioBasicProcessorNode.cpp : AudioNode(context, sampleRate) context 99 Source/modules/webaudio/AudioBasicProcessorNode.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 53 Source/modules/webaudio/AudioBufferSourceNode.cpp PassRefPtr<AudioBufferSourceNode> AudioBufferSourceNode::create(AudioContext* context, float sampleRate) context 55 Source/modules/webaudio/AudioBufferSourceNode.cpp return adoptRef(new AudioBufferSourceNode(context, sampleRate)); context 58 Source/modules/webaudio/AudioBufferSourceNode.cpp AudioBufferSourceNode::AudioBufferSourceNode(AudioContext* context, float sampleRate) context 59 Source/modules/webaudio/AudioBufferSourceNode.cpp : AudioScheduledSourceNode(context, sampleRate) context 74 Source/modules/webaudio/AudioBufferSourceNode.cpp m_gain = AudioParam::create(context, "gain", 1.0, 0.0, 1.0); context 75 Source/modules/webaudio/AudioBufferSourceNode.cpp m_playbackRate = AudioParam::create(context, "playbackRate", 1.0, 0.0, MaxRate); context 167 Source/modules/webaudio/AudioBufferSourceNode.cpp ASSERT(context()->isAudioThread()); context 345 Source/modules/webaudio/AudioBufferSourceNode.cpp AudioContext::AutoLocker contextLocker(context()); context 255 Source/modules/webaudio/AudioContext.cpp AudioContext* context = reinterpret_cast<AudioContext*>(userData); context 256 Source/modules/webaudio/AudioContext.cpp ASSERT(context); context 257 Source/modules/webaudio/AudioContext.cpp if (!context) context 260 Source/modules/webaudio/AudioContext.cpp context->uninitialize(); context 261 Source/modules/webaudio/AudioContext.cpp context->clear(); context 858 Source/modules/webaudio/AudioContext.cpp AudioContext* context = reinterpret_cast<AudioContext*>(userData); context 859 Source/modules/webaudio/AudioContext.cpp ASSERT(context); context 860 Source/modules/webaudio/AudioContext.cpp if (!context) context 863 Source/modules/webaudio/AudioContext.cpp context->deleteMarkedNodes(); context 864 Source/modules/webaudio/AudioContext.cpp context->deref(); context 200 Source/modules/webaudio/AudioContext.h AutoLocker(AudioContext* context) context 201 Source/modules/webaudio/AudioContext.h : m_context(context) context 203 Source/modules/webaudio/AudioContext.h ASSERT(context); context 204 Source/modules/webaudio/AudioContext.h context->lock(m_mustReleaseLock); context 39 Source/modules/webaudio/AudioDestinationNode.cpp AudioDestinationNode::AudioDestinationNode(AudioContext* context, float sampleRate) context 40 Source/modules/webaudio/AudioDestinationNode.cpp : AudioNode(context, sampleRate) context 61 Source/modules/webaudio/AudioDestinationNode.cpp context()->setAudioThread(currentThread()); context 63 Source/modules/webaudio/AudioDestinationNode.cpp if (!context()->isInitialized()) { context 69 Source/modules/webaudio/AudioDestinationNode.cpp context()->handlePreRenderTasks(); context 87 Source/modules/webaudio/AudioDestinationNode.cpp context()->processAutomaticPullNodes(numberOfFrames); context 90 Source/modules/webaudio/AudioDestinationNode.cpp context()->handlePostRenderTasks(); context 46 Source/modules/webaudio/AudioNode.cpp AudioNode::AudioNode(AudioContext* context, float sampleRate) context 49 Source/modules/webaudio/AudioNode.cpp , m_context(context) context 62 Source/modules/webaudio/AudioNode.cpp context->lazyInitialize(); context 170 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 194 Source/modules/webaudio/AudioNode.cpp if (context() != destination->context()) { context 206 Source/modules/webaudio/AudioNode.cpp context()->incrementConnectionCount(); context 212 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 228 Source/modules/webaudio/AudioNode.cpp if (context() != param->context()) { context 242 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 264 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 296 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 331 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 357 Source/modules/webaudio/AudioNode.cpp return const_cast<AudioNode*>(this)->context()->executionContext(); context 362 Source/modules/webaudio/AudioNode.cpp ASSERT(context()->isAudioThread()); context 371 Source/modules/webaudio/AudioNode.cpp double currentTime = context()->currentTime(); context 379 Source/modules/webaudio/AudioNode.cpp m_lastNonSilentTime = (context()->currentSampleFrame() + framesToProcess) / static_cast<double>(m_sampleRate); context 392 Source/modules/webaudio/AudioNode.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 403 Source/modules/webaudio/AudioNode.cpp return m_lastNonSilentTime + latencyTime() + tailTime() < context()->currentTime(); context 408 Source/modules/webaudio/AudioNode.cpp ASSERT(context()->isAudioThread()); context 440 Source/modules/webaudio/AudioNode.cpp AudioContext::AutoLocker locker(context()); context 505 Source/modules/webaudio/AudioNode.cpp if (context()->isAudioThread()) { context 507 Source/modules/webaudio/AudioNode.cpp hasLock = context()->tryLock(mustReleaseLock); context 509 Source/modules/webaudio/AudioNode.cpp context()->lock(mustReleaseLock); context 518 Source/modules/webaudio/AudioNode.cpp context()->unlock(); context 521 Source/modules/webaudio/AudioNode.cpp ASSERT(context()->isAudioThread()); context 523 Source/modules/webaudio/AudioNode.cpp context()->addDeferredFinishDeref(this); context 529 Source/modules/webaudio/AudioNode.cpp if (context()->isAudioThreadFinished()) context 530 Source/modules/webaudio/AudioNode.cpp context()->deleteMarkedNodes(); context 535 Source/modules/webaudio/AudioNode.cpp ASSERT(context()->isGraphOwner()); context 562 Source/modules/webaudio/AudioNode.cpp context()->markForDeletion(this); context 60 Source/modules/webaudio/AudioNode.h AudioContext* context() { return m_context.get(); } context 61 Source/modules/webaudio/AudioNode.h const AudioContext* context() const { return m_context.get(); } context 40 Source/modules/webaudio/AudioNodeInput.cpp : AudioSummingJunction(node->context()) context 49 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isGraphOwner()); context 69 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isGraphOwner()); context 97 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isGraphOwner()); context 115 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isGraphOwner()); context 139 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 173 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isAudioThread()); context 185 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isAudioThread()); context 192 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isAudioThread()); context 219 Source/modules/webaudio/AudioNodeInput.cpp ASSERT(context()->isAudioThread()); context 54 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 58 Source/modules/webaudio/AudioNodeOutput.cpp if (context()->isAudioThread()) { context 63 Source/modules/webaudio/AudioNodeOutput.cpp context()->markAudioNodeOutputDirty(this); context 84 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 95 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 109 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isAudioThread()); context 128 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(const_cast<AudioNodeOutput*>(this)->context()->isAudioThread()); context 134 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 140 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 151 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 162 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 173 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 184 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 195 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 206 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 223 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 236 Source/modules/webaudio/AudioNodeOutput.cpp ASSERT(context()->isGraphOwner()); context 50 Source/modules/webaudio/AudioNodeOutput.h AudioContext* context() { return m_node->context(); } context 46 Source/modules/webaudio/AudioParam.cpp if (context() && context()->isAudioThread()) { context 48 Source/modules/webaudio/AudioParam.cpp float timelineValue = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), hasValue); context 75 Source/modules/webaudio/AudioParam.cpp if (context()) context 76 Source/modules/webaudio/AudioParam.cpp m_value = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), useTimelineValue); context 106 Source/modules/webaudio/AudioParam.cpp bool isSafe = context() && context()->isAudioThread() && values && numberOfValues; context 116 Source/modules/webaudio/AudioParam.cpp bool isGood = context() && context()->isAudioThread() && values && numberOfValues; context 129 Source/modules/webaudio/AudioParam.cpp float timelineValue = m_timeline.valueForContextTime(context(), narrowPrecisionToFloat(m_value), hasValue); context 158 Source/modules/webaudio/AudioParam.cpp double sampleRate = context()->sampleRate(); context 159 Source/modules/webaudio/AudioParam.cpp double startTime = context()->currentTime(); context 169 Source/modules/webaudio/AudioParam.cpp ASSERT(context()->isGraphOwner()); context 185 Source/modules/webaudio/AudioParam.cpp ASSERT(context()->isGraphOwner()); context 51 Source/modules/webaudio/AudioParam.h static PassRefPtr<AudioParam> create(AudioContext* context, const String& name, double defaultValue, double minValue, double maxValue, unsigned units = 0) context 53 Source/modules/webaudio/AudioParam.h return adoptRef(new AudioParam(context, name, defaultValue, minValue, maxValue, units)); context 106 Source/modules/webaudio/AudioParam.h AudioParam(AudioContext* context, const String& name, double defaultValue, double minValue, double maxValue, unsigned units = 0) context 107 Source/modules/webaudio/AudioParam.h : AudioSummingJunction(context) context 126 Source/modules/webaudio/AudioParamTimeline.cpp float AudioParamTimeline::valueForContextTime(AudioContext* context, float defaultValue, bool& hasValue) context 128 Source/modules/webaudio/AudioParamTimeline.cpp ASSERT(context); context 132 Source/modules/webaudio/AudioParamTimeline.cpp if (!tryLocker.locked() || !context || !m_events.size() || context->currentTime() < m_events[0].time()) { context 140 Source/modules/webaudio/AudioParamTimeline.cpp double sampleRate = context->sampleRate(); context 141 Source/modules/webaudio/AudioParamTimeline.cpp double startTime = context->currentTime(); context 45 Source/modules/webaudio/AudioScheduledSourceNode.cpp AudioScheduledSourceNode::AudioScheduledSourceNode(AudioContext* context, float sampleRate) context 46 Source/modules/webaudio/AudioScheduledSourceNode.cpp : AudioSourceNode(context, sampleRate) context 73 Source/modules/webaudio/AudioScheduledSourceNode.cpp size_t quantumStartFrame = context()->currentSampleFrame(); context 93 Source/modules/webaudio/AudioScheduledSourceNode.cpp context()->incrementActiveSourceCount(); context 181 Source/modules/webaudio/AudioScheduledSourceNode.cpp context()->notifyNodeFinishedProcessing(this); context 183 Source/modules/webaudio/AudioScheduledSourceNode.cpp context()->decrementActiveSourceCount(); context 38 Source/modules/webaudio/AudioSourceNode.h AudioSourceNode(AudioContext* context, float sampleRate) context 39 Source/modules/webaudio/AudioSourceNode.h : AudioNode(context, sampleRate) context 39 Source/modules/webaudio/AudioSummingJunction.cpp AudioSummingJunction::AudioSummingJunction(AudioContext* context) context 40 Source/modules/webaudio/AudioSummingJunction.cpp : m_context(context) context 53 Source/modules/webaudio/AudioSummingJunction.cpp ASSERT(context()->isGraphOwner()); context 55 Source/modules/webaudio/AudioSummingJunction.cpp context()->markSummingJunctionDirty(this); context 62 Source/modules/webaudio/AudioSummingJunction.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 45 Source/modules/webaudio/AudioSummingJunction.h AudioContext* context() { return m_context.get(); } context 33 Source/modules/webaudio/BiquadFilterNode.cpp BiquadFilterNode::BiquadFilterNode(AudioContext* context, float sampleRate) context 34 Source/modules/webaudio/BiquadFilterNode.cpp : AudioBasicProcessorNode(context, sampleRate) context 38 Source/modules/webaudio/BiquadFilterNode.cpp m_processor = adoptPtr(new BiquadProcessor(context, sampleRate, 1, false)); context 49 Source/modules/webaudio/BiquadFilterNode.h static PassRefPtr<BiquadFilterNode> create(AudioContext* context, float sampleRate) context 51 Source/modules/webaudio/BiquadFilterNode.h return adoptRef(new BiquadFilterNode(context, sampleRate)); context 35 Source/modules/webaudio/BiquadProcessor.cpp BiquadProcessor::BiquadProcessor(AudioContext* context, float sampleRate, size_t numberOfChannels, bool autoInitialize) context 48 Source/modules/webaudio/BiquadProcessor.cpp m_parameter1 = AudioParam::create(context, "frequency", 350.0, 10.0, nyquist); context 49 Source/modules/webaudio/BiquadProcessor.cpp m_parameter2 = AudioParam::create(context, "Q", 1, 0.0001, 1000.0); context 50 Source/modules/webaudio/BiquadProcessor.cpp m_parameter3 = AudioParam::create(context, "gain", 0.0, -40, 40); context 51 Source/modules/webaudio/BiquadProcessor.cpp m_parameter4 = AudioParam::create(context, "detune", 0.0, -4800, 4800); context 43 Source/modules/webaudio/ChannelMergerNode.cpp PassRefPtr<ChannelMergerNode> ChannelMergerNode::create(AudioContext* context, float sampleRate, unsigned numberOfInputs) context 48 Source/modules/webaudio/ChannelMergerNode.cpp return adoptRef(new ChannelMergerNode(context, sampleRate, numberOfInputs)); context 51 Source/modules/webaudio/ChannelMergerNode.cpp ChannelMergerNode::ChannelMergerNode(AudioContext* context, float sampleRate, unsigned numberOfInputs) context 52 Source/modules/webaudio/ChannelMergerNode.cpp : AudioNode(context, sampleRate) context 102 Source/modules/webaudio/ChannelMergerNode.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 37 Source/modules/webaudio/ChannelSplitterNode.cpp PassRefPtr<ChannelSplitterNode> ChannelSplitterNode::create(AudioContext* context, float sampleRate, unsigned numberOfOutputs) context 42 Source/modules/webaudio/ChannelSplitterNode.cpp return adoptRef(new ChannelSplitterNode(context, sampleRate, numberOfOutputs)); context 45 Source/modules/webaudio/ChannelSplitterNode.cpp ChannelSplitterNode::ChannelSplitterNode(AudioContext* context, float sampleRate, unsigned numberOfOutputs) context 46 Source/modules/webaudio/ChannelSplitterNode.cpp : AudioNode(context, sampleRate) context 50 Source/modules/webaudio/ConvolverNode.cpp ConvolverNode::ConvolverNode(AudioContext* context, float sampleRate) context 51 Source/modules/webaudio/ConvolverNode.cpp : AudioNode(context, sampleRate) context 119 Source/modules/webaudio/ConvolverNode.cpp if (buffer->sampleRate() != context()->sampleRate()) { context 123 Source/modules/webaudio/ConvolverNode.cpp + " does not match the context rate of " + String::number(context()->sampleRate()) context 145 Source/modules/webaudio/ConvolverNode.cpp bool useBackgroundThreads = !context()->isOfflineContext(); context 41 Source/modules/webaudio/ConvolverNode.h static PassRefPtr<ConvolverNode> create(AudioContext* context, float sampleRate) context 43 Source/modules/webaudio/ConvolverNode.h return adoptRef(new ConvolverNode(context, sampleRate)); context 39 Source/modules/webaudio/DefaultAudioDestinationNode.cpp DefaultAudioDestinationNode::DefaultAudioDestinationNode(AudioContext* context) context 40 Source/modules/webaudio/DefaultAudioDestinationNode.cpp : AudioDestinationNode(context, AudioDestination::hardwareSampleRate()) context 39 Source/modules/webaudio/DefaultAudioDestinationNode.h static PassRefPtr<DefaultAudioDestinationNode> create(AudioContext* context) context 41 Source/modules/webaudio/DefaultAudioDestinationNode.h return adoptRef(new DefaultAudioDestinationNode(context)); context 40 Source/modules/webaudio/DelayNode.cpp DelayNode::DelayNode(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) context 41 Source/modules/webaudio/DelayNode.cpp : AudioBasicProcessorNode(context, sampleRate) context 52 Source/modules/webaudio/DelayNode.cpp m_processor = adoptPtr(new DelayProcessor(context, sampleRate, 1, maxDelayTime)); context 39 Source/modules/webaudio/DelayNode.h static PassRefPtr<DelayNode> create(AudioContext* context, float sampleRate, double maxDelayTime, ExceptionState& exceptionState) context 41 Source/modules/webaudio/DelayNode.h return adoptRef(new DelayNode(context, sampleRate, maxDelayTime, exceptionState)); context 35 Source/modules/webaudio/DelayProcessor.cpp DelayProcessor::DelayProcessor(AudioContext* context, float sampleRate, unsigned numberOfChannels, double maxDelayTime) context 39 Source/modules/webaudio/DelayProcessor.cpp m_delayTime = AudioParam::create(context, "delayTime", 0.0, 0.0, maxDelayTime); context 41 Source/modules/webaudio/DynamicsCompressorNode.cpp DynamicsCompressorNode::DynamicsCompressorNode(AudioContext* context, float sampleRate) context 42 Source/modules/webaudio/DynamicsCompressorNode.cpp : AudioNode(context, sampleRate) context 50 Source/modules/webaudio/DynamicsCompressorNode.cpp m_threshold = AudioParam::create(context, "threshold", -24, -100, 0); context 51 Source/modules/webaudio/DynamicsCompressorNode.cpp m_knee = AudioParam::create(context, "knee", 30, 0, 40); context 52 Source/modules/webaudio/DynamicsCompressorNode.cpp m_ratio = AudioParam::create(context, "ratio", 12, 1, 20); context 53 Source/modules/webaudio/DynamicsCompressorNode.cpp m_reduction = AudioParam::create(context, "reduction", 0, -20, 0); context 54 Source/modules/webaudio/DynamicsCompressorNode.cpp m_attack = AudioParam::create(context, "attack", 0.003, 0, 1); context 55 Source/modules/webaudio/DynamicsCompressorNode.cpp m_release = AudioParam::create(context, "release", 0.250, 0, 1); context 38 Source/modules/webaudio/DynamicsCompressorNode.h static PassRefPtr<DynamicsCompressorNode> create(AudioContext* context, float sampleRate) context 40 Source/modules/webaudio/DynamicsCompressorNode.h return adoptRef(new DynamicsCompressorNode(context, sampleRate)); context 37 Source/modules/webaudio/GainNode.cpp GainNode::GainNode(AudioContext* context, float sampleRate) context 38 Source/modules/webaudio/GainNode.cpp : AudioNode(context, sampleRate) context 43 Source/modules/webaudio/GainNode.cpp m_gain = AudioParam::create(context, "gain", 1.0, 0.0, 1.0); context 89 Source/modules/webaudio/GainNode.cpp ASSERT(context()->isAudioThread() && context()->isGraphOwner()); context 42 Source/modules/webaudio/GainNode.h static PassRefPtr<GainNode> create(AudioContext* context, float sampleRate) context 44 Source/modules/webaudio/GainNode.h return adoptRef(new GainNode(context, sampleRate)); context 44 Source/modules/webaudio/MediaElementAudioSourceNode.cpp PassRefPtr<MediaElementAudioSourceNode> MediaElementAudioSourceNode::create(AudioContext* context, HTMLMediaElement* mediaElement) context 46 Source/modules/webaudio/MediaElementAudioSourceNode.cpp return adoptRef(new MediaElementAudioSourceNode(context, mediaElement)); context 49 Source/modules/webaudio/MediaElementAudioSourceNode.cpp MediaElementAudioSourceNode::MediaElementAudioSourceNode(AudioContext* context, HTMLMediaElement* mediaElement) context 50 Source/modules/webaudio/MediaElementAudioSourceNode.cpp : AudioSourceNode(context, context->sampleRate()) context 97 Source/modules/webaudio/MediaElementAudioSourceNode.cpp AudioContext::AutoLocker contextLocker(context()); context 40 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp PassRefPtr<MediaStreamAudioDestinationNode> MediaStreamAudioDestinationNode::create(AudioContext* context, size_t numberOfChannels) context 42 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp return adoptRef(new MediaStreamAudioDestinationNode(context, numberOfChannels)); context 45 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp MediaStreamAudioDestinationNode::MediaStreamAudioDestinationNode(AudioContext* context, size_t numberOfChannels) context 46 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp : AudioBasicInspectorNode(context, context->sampleRate(), numberOfChannels) context 56 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp m_stream = MediaStream::create(context->executionContext(), MediaStreamDescriptor::create(audioSources, videoSources)); context 59 Source/modules/webaudio/MediaStreamAudioDestinationNode.cpp m_source->setAudioFormat(numberOfChannels, context->sampleRate()); context 38 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp PassRefPtr<MediaStreamAudioSourceNode> MediaStreamAudioSourceNode::create(AudioContext* context, MediaStream* mediaStream, MediaStreamTrack* audioTrack, PassOwnPtr<AudioSourceProvider> audioSourceProvider) context 40 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp return adoptRef(new MediaStreamAudioSourceNode(context, mediaStream, audioTrack, audioSourceProvider)); context 43 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp MediaStreamAudioSourceNode::MediaStreamAudioSourceNode(AudioContext* context, MediaStream* mediaStream, MediaStreamTrack* audioTrack, PassOwnPtr<AudioSourceProvider> audioSourceProvider) context 44 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp : AudioSourceNode(context, context->sampleRate()) context 82 Source/modules/webaudio/MediaStreamAudioSourceNode.cpp AudioContext::AutoLocker contextLocker(context()); context 39 Source/modules/webaudio/OfflineAudioContext.cpp PassRefPtr<OfflineAudioContext> OfflineAudioContext::create(ExecutionContext* context, unsigned numberOfChannels, size_t numberOfFrames, float sampleRate, ExceptionState& exceptionState) context 42 Source/modules/webaudio/OfflineAudioContext.cpp if (!context || !context->isDocument()) { context 49 Source/modules/webaudio/OfflineAudioContext.cpp Document* document = toDocument(context); context 45 Source/modules/webaudio/OfflineAudioDestinationNode.cpp OfflineAudioDestinationNode::OfflineAudioDestinationNode(AudioContext* context, AudioBuffer* renderTarget) context 46 Source/modules/webaudio/OfflineAudioDestinationNode.cpp : AudioDestinationNode(context, renderTarget->sampleRate()) context 99 Source/modules/webaudio/OfflineAudioDestinationNode.cpp bool isAudioContextInitialized = context()->isInitialized(); context 153 Source/modules/webaudio/OfflineAudioDestinationNode.cpp context()->fireCompletionEvent(); context 41 Source/modules/webaudio/OfflineAudioDestinationNode.h static PassRefPtr<OfflineAudioDestinationNode> create(AudioContext* context, AudioBuffer* renderTarget) context 43 Source/modules/webaudio/OfflineAudioDestinationNode.h return adoptRef(new OfflineAudioDestinationNode(context, renderTarget)); context 46 Source/modules/webaudio/OscillatorNode.cpp PassRefPtr<OscillatorNode> OscillatorNode::create(AudioContext* context, float sampleRate) context 48 Source/modules/webaudio/OscillatorNode.cpp return adoptRef(new OscillatorNode(context, sampleRate)); context 51 Source/modules/webaudio/OscillatorNode.cpp OscillatorNode::OscillatorNode(AudioContext* context, float sampleRate) context 52 Source/modules/webaudio/OscillatorNode.cpp : AudioScheduledSourceNode(context, sampleRate) context 63 Source/modules/webaudio/OscillatorNode.cpp m_frequency = AudioParam::create(context, "frequency", 440, 0, 100000); context 65 Source/modules/webaudio/OscillatorNode.cpp m_detune = AudioParam::create(context, "detune", 0, -4800, 4800); context 49 Source/modules/webaudio/PannerNode.cpp PannerNode::PannerNode(AudioContext* context, float sampleRate) context 50 Source/modules/webaudio/PannerNode.cpp : AudioNode(context, sampleRate) context 68 Source/modules/webaudio/PannerNode.cpp m_hrtfDatabaseLoader = HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary(context->sampleRate()); context 79 Source/modules/webaudio/PannerNode.cpp m_distanceGain = AudioParam::create(context, "distanceGain", 1.0, 0.0, 1.0); context 80 Source/modules/webaudio/PannerNode.cpp m_coneGain = AudioParam::create(context, "coneGain", 1.0, 0.0, 1.0); context 98 Source/modules/webaudio/PannerNode.cpp if (m_connectionCount != context()->connectionCount()) { context 99 Source/modules/webaudio/PannerNode.cpp m_connectionCount = context()->connectionCount(); context 132 Source/modules/webaudio/PannerNode.cpp if (context()->isOfflineContext()) { context 189 Source/modules/webaudio/PannerNode.cpp return context()->listener(); context 448 Source/modules/webaudio/PannerNode.cpp ASSERT(context()->isAudioThread()); context 459 Source/modules/webaudio/PannerNode.cpp ASSERT(context()->isAudioThread()); context 469 Source/modules/webaudio/PannerNode.cpp ASSERT(context()->isAudioThread()); context 552 Source/modules/webaudio/PannerNode.cpp ASSERT(context()->isAudioThread()); context 564 Source/modules/webaudio/PannerNode.cpp ASSERT(context()->isAudioThread()); context 65 Source/modules/webaudio/PannerNode.h static PassRefPtr<PannerNode> create(AudioContext* context, float sampleRate) context 67 Source/modules/webaudio/PannerNode.h return adoptRef(new PannerNode(context, sampleRate)); context 59 Source/modules/webaudio/ScriptProcessorNode.cpp PassRefPtr<ScriptProcessorNode> ScriptProcessorNode::create(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) context 87 Source/modules/webaudio/ScriptProcessorNode.cpp return adoptRef(new ScriptProcessorNode(context, sampleRate, bufferSize, numberOfInputChannels, numberOfOutputChannels)); context 90 Source/modules/webaudio/ScriptProcessorNode.cpp ScriptProcessorNode::ScriptProcessorNode(AudioContext* context, float sampleRate, size_t bufferSize, unsigned numberOfInputChannels, unsigned numberOfOutputChannels) context 91 Source/modules/webaudio/ScriptProcessorNode.cpp : AudioNode(context, sampleRate) context 125 Source/modules/webaudio/ScriptProcessorNode.cpp float sampleRate = context()->sampleRate(); context 264 Source/modules/webaudio/ScriptProcessorNode.cpp if (context()->executionContext()) { context 270 Source/modules/webaudio/ScriptProcessorNode.cpp double playbackTime = (context()->currentSampleFrame() + m_bufferSize) / static_cast<double>(context()->sampleRate()); context 38 Source/modules/webaudio/WaveShaperNode.cpp WaveShaperNode::WaveShaperNode(AudioContext* context) context 39 Source/modules/webaudio/WaveShaperNode.cpp : AudioBasicProcessorNode(context, context->sampleRate()) context 42 Source/modules/webaudio/WaveShaperNode.cpp m_processor = adoptPtr(new WaveShaperProcessor(context->sampleRate(), 1)); context 66 Source/modules/webaudio/WaveShaperNode.cpp AudioContext::AutoLocker contextLocker(context()); context 39 Source/modules/webaudio/WaveShaperNode.h static PassRefPtr<WaveShaperNode> create(AudioContext* context) context 41 Source/modules/webaudio/WaveShaperNode.h return adoptRef(new WaveShaperNode(context)); context 46 Source/modules/webdatabase/DatabaseClient.cpp DatabaseClient* DatabaseClient::from(ExecutionContext* context) context 48 Source/modules/webdatabase/DatabaseClient.cpp if (context->isDocument()) { context 49 Source/modules/webdatabase/DatabaseClient.cpp return static_cast<DatabaseClient*>(Supplement<Page>::from(toDocument(context)->page(), supplementName())); context 51 Source/modules/webdatabase/DatabaseClient.cpp ASSERT(context->isWorkerGlobalScope()); context 52 Source/modules/webdatabase/DatabaseClient.cpp return static_cast<DatabaseClient*>(Supplement<WorkerClients>::from(toWorkerGlobalScope(context)->clients(), supplementName())); context 90 Source/modules/webdatabase/DatabaseContext.cpp PassRefPtrWillBeRawPtr<DatabaseContext> DatabaseContext::create(ExecutionContext* context) context 92 Source/modules/webdatabase/DatabaseContext.cpp RefPtrWillBeRawPtr<DatabaseContext> self = adoptRefWillBeNoop(new DatabaseContext(context)); context 97 Source/modules/webdatabase/DatabaseContext.cpp DatabaseContext::DatabaseContext(ExecutionContext* context) context 98 Source/modules/webdatabase/DatabaseContext.cpp : ActiveDOMObject(context) context 98 Source/modules/webdatabase/DatabaseManager.cpp DatabaseContext* DatabaseManager::existingDatabaseContextFor(ExecutionContext* context) context 106 Source/modules/webdatabase/DatabaseManager.cpp const Persistent<DatabaseContext>* databaseContext = m_contextMap.get(context); context 109 Source/modules/webdatabase/DatabaseManager.cpp return m_contextMap.get(context); context 113 Source/modules/webdatabase/DatabaseManager.cpp DatabaseContext* DatabaseManager::databaseContextFor(ExecutionContext* context) context 115 Source/modules/webdatabase/DatabaseManager.cpp if (DatabaseContext* databaseContext = existingDatabaseContextFor(context)) context 120 Source/modules/webdatabase/DatabaseManager.cpp return DatabaseContext::create(context).get(); context 126 Source/modules/webdatabase/DatabaseManager.cpp ExecutionContext* context = databaseContext->executionContext(); context 128 Source/modules/webdatabase/DatabaseManager.cpp m_contextMap.set(context, adoptPtr(new Persistent<DatabaseContext>(databaseContext))); context 130 Source/modules/webdatabase/DatabaseManager.cpp m_contextMap.set(context, databaseContext); context 140 Source/modules/webdatabase/DatabaseManager.cpp ExecutionContext* context = databaseContext->executionContext(); context 141 Source/modules/webdatabase/DatabaseManager.cpp ASSERT(m_contextMap.get(context)); context 145 Source/modules/webdatabase/DatabaseManager.cpp m_contextMap.remove(context); context 179 Source/modules/webdatabase/DatabaseManager.cpp static void logOpenDatabaseError(ExecutionContext* context, const String& name) context 182 Source/modules/webdatabase/DatabaseManager.cpp context->securityOrigin()->toString().ascii().data()); context 185 Source/modules/webdatabase/DatabaseManager.cpp PassRefPtrWillBeRawPtr<DatabaseBackendBase> DatabaseManager::openDatabaseBackend(ExecutionContext* context, context 192 Source/modules/webdatabase/DatabaseManager.cpp databaseContextFor(context)->backend(), type, name, expectedVersion, context 200 Source/modules/webdatabase/DatabaseManager.cpp logOpenDatabaseError(context, name); context 204 Source/modules/webdatabase/DatabaseManager.cpp logErrorMessage(context, errorMessage); context 215 Source/modules/webdatabase/DatabaseManager.cpp PassRefPtrWillBeRawPtr<Database> DatabaseManager::openDatabase(ExecutionContext* context, context 223 Source/modules/webdatabase/DatabaseManager.cpp RefPtrWillBeRawPtr<DatabaseBackendBase> backend = openDatabaseBackend(context, DatabaseType::Async, name, context 228 Source/modules/webdatabase/DatabaseManager.cpp RefPtrWillBeRawPtr<Database> database = Database::create(context, backend); context 230 Source/modules/webdatabase/DatabaseManager.cpp databaseContextFor(context)->setHasOpenDatabases(); context 231 Source/modules/webdatabase/DatabaseManager.cpp DatabaseClient::from(context)->didOpenDatabase(database, context->securityOrigin()->host(), name, expectedVersion); context 242 Source/modules/webdatabase/DatabaseManager.cpp PassRefPtrWillBeRawPtr<DatabaseSync> DatabaseManager::openDatabaseSync(ExecutionContext* context, context 247 Source/modules/webdatabase/DatabaseManager.cpp ASSERT(context->isContextThread()); context 251 Source/modules/webdatabase/DatabaseManager.cpp RefPtrWillBeRawPtr<DatabaseBackendBase> backend = openDatabaseBackend(context, DatabaseType::Sync, name, context 256 Source/modules/webdatabase/DatabaseManager.cpp RefPtrWillBeRawPtr<DatabaseSync> database = DatabaseSync::create(context, backend); context 282 Source/modules/webdatabase/DatabaseManager.cpp void DatabaseManager::logErrorMessage(ExecutionContext* context, const String& message) context 284 Source/modules/webdatabase/DatabaseManager.cpp context->addConsoleMessage(StorageMessageSource, ErrorMessageLevel, message); context 48 Source/modules/webdatabase/DatabaseServer.cpp void DatabaseServer::interruptAllDatabasesForContext(const DatabaseContext* context) context 50 Source/modules/webdatabase/DatabaseServer.cpp DatabaseTracker::tracker().interruptAllDatabasesForContext(context); context 200 Source/modules/webdatabase/DatabaseTracker.cpp void DatabaseTracker::interruptAllDatabasesForContext(const DatabaseContext* context) context 207 Source/modules/webdatabase/DatabaseTracker.cpp DatabaseNameMap* nameMap = m_openDatabaseMap->get(createDatabaseIdentifierFromSecurityOrigin(context->securityOrigin())); context 216 Source/modules/webdatabase/DatabaseTracker.cpp if ((*it)->databaseContext() == context) context 59 Source/modules/webdatabase/SQLCallbackWrapper.h ExecutionContext* context; context 72 Source/modules/webdatabase/SQLCallbackWrapper.h context = m_executionContext.release().leakRef(); context 75 Source/modules/webdatabase/SQLCallbackWrapper.h context->postTask(SafeReleaseTask::create(callback.release())); context 97 Source/modules/webdatabase/SQLCallbackWrapper.h virtual void performTask(ExecutionContext* context) context 99 Source/modules/webdatabase/SQLCallbackWrapper.h ASSERT(m_callbackToRelease && context && context->isContextThread()); context 101 Source/modules/webdatabase/SQLCallbackWrapper.h context->deref(); context 45 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp PassRefPtrWillBeRawPtr<Database> WorkerGlobalScopeWebDatabase::openDatabase(WorkerGlobalScope& context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState& exceptionState) context 50 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp if (RuntimeEnabledFeatures::databaseEnabled() && context.securityOrigin()->canAccessDatabase()) { context 52 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp database = dbManager.openDatabase(&context, name, version, displayName, estimatedSize, creationCallback, error, errorMessage); context 63 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp PassRefPtrWillBeRawPtr<DatabaseSync> WorkerGlobalScopeWebDatabase::openDatabaseSync(WorkerGlobalScope& context, const String& name, const String& version, const String& displayName, unsigned long estimatedSize, PassOwnPtr<DatabaseCallback> creationCallback, ExceptionState& exceptionState) context 68 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp if (RuntimeEnabledFeatures::databaseEnabled() && context.securityOrigin()->canAccessDatabase()) { context 70 Source/modules/webdatabase/WorkerGlobalScopeWebDatabase.cpp database = dbManager.openDatabaseSync(&context, name, version, displayName, estimatedSize, creationCallback, error, errorMessage); context 68 Source/modules/webmidi/MIDIAccess.cpp ScriptPromise MIDIAccess::request(const MIDIOptions& options, ExecutionContext* context) context 70 Source/modules/webmidi/MIDIAccess.cpp RefPtrWillBeRawPtr<MIDIAccess> midiAccess(adoptRefWillBeRefCountedGarbageCollected(new MIDIAccess(options, context))); context 74 Source/modules/webmidi/MIDIAccess.cpp toV8NoInline(midiAccess.get(), context); context 83 Source/modules/webmidi/MIDIAccess.cpp MIDIAccess::MIDIAccess(const MIDIOptions& options, ExecutionContext* context) context 84 Source/modules/webmidi/MIDIAccess.cpp : ActiveDOMObject(context) context 45 Source/modules/webmidi/MIDIOutput.cpp double now(ExecutionContext* context) context 47 Source/modules/webmidi/MIDIOutput.cpp DOMWindow* window = context ? context->executingWindow() : 0; context 101 Source/modules/websockets/NewWebSocketChannelImpl.cpp NewWebSocketChannelImpl::NewWebSocketChannelImpl(ExecutionContext* context, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) context 102 Source/modules/websockets/NewWebSocketChannelImpl.cpp : ContextLifecycleObserver(context) context 113 Source/modules/websockets/NewWebSocketChannelImpl.cpp if (context->isDocument() && toDocument(context)->page()) context 348 Source/modules/websockets/NewWebSocketChannelImpl.cpp ExecutionContext* context = executionContext(); context 349 Source/modules/websockets/NewWebSocketChannelImpl.cpp ASSERT(context->isDocument()); context 350 Source/modules/websockets/NewWebSocketChannelImpl.cpp return toDocument(context); context 73 Source/modules/websockets/NewWebSocketChannelImpl.h static PassRefPtr<NewWebSocketChannelImpl> create(ExecutionContext* context, WebSocketChannelClient* client, const String& sourceURL = String(), unsigned lineNumber = 0) context 75 Source/modules/websockets/NewWebSocketChannelImpl.h return adoptRef(new NewWebSocketChannelImpl(context, client, sourceURL, lineNumber)); context 154 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didConnectCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper) context 156 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 161 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, const String& message) context 163 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 168 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, PassOwnPtr<Vector<char> > binaryData) context 170 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 175 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmountCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, unsigned long bufferedAmount) context 177 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 182 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper) context 184 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 189 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didCloseCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus closingHandshakeCompletion, unsigned short code, const String& reason) context 191 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 196 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp void ThreadableWebSocketChannelClientWrapper::didReceiveMessageErrorCallback(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper) context 198 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp ASSERT_UNUSED(context, !context); context 222 Source/modules/websockets/WebSocket.cpp WebSocket::WebSocket(ExecutionContext* context) context 223 Source/modules/websockets/WebSocket.cpp : ActiveDOMObject(context) context 245 Source/modules/websockets/WebSocket.cpp PassRefPtr<WebSocket> WebSocket::create(ExecutionContext* context, const String& url, ExceptionState& exceptionState) context 248 Source/modules/websockets/WebSocket.cpp return create(context, url, protocols, exceptionState); context 251 Source/modules/websockets/WebSocket.cpp PassRefPtr<WebSocket> WebSocket::create(ExecutionContext* context, const String& url, const Vector<String>& protocols, ExceptionState& exceptionState) context 258 Source/modules/websockets/WebSocket.cpp RefPtr<WebSocket> webSocket(adoptRef(new WebSocket(context))); context 261 Source/modules/websockets/WebSocket.cpp webSocket->connect(context->completeURL(url), protocols, exceptionState); context 268 Source/modules/websockets/WebSocket.cpp PassRefPtr<WebSocket> WebSocket::create(ExecutionContext* context, const String& url, const String& protocol, ExceptionState& exceptionState) context 272 Source/modules/websockets/WebSocket.cpp return create(context, url, protocols, exceptionState); context 51 Source/modules/websockets/WebSocketChannel.cpp PassRefPtr<WebSocketChannel> WebSocketChannel::create(ExecutionContext* context, WebSocketChannelClient* client) context 53 Source/modules/websockets/WebSocketChannel.cpp ASSERT(context); context 64 Source/modules/websockets/WebSocketChannel.cpp if (context->isWorkerGlobalScope()) { context 65 Source/modules/websockets/WebSocketChannel.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 69 Source/modules/websockets/WebSocketChannel.cpp Document* document = toDocument(context); context 113 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(WorkerGlobalScope& context, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber) context 114 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp : m_workerGlobalScope(context) context 222 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp WorkerThreadableWebSocketChannel::Peer::Peer(PassRefPtr<WeakReference<Peer> > reference, PassRefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, WorkerLoaderProxy& loaderProxy, ExecutionContext* context, const String& sourceURL, unsigned lineNumber, PassOwnPtr<ThreadableWebSocketChannelSyncHelper> syncHelper) context 230 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp Document* document = toDocument(context); context 247 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp void WorkerThreadableWebSocketChannel::Peer::initialize(ExecutionContext* context, PassRefPtr<WeakReference<Peer> > reference, WorkerLoaderProxy* loaderProxy, PassRefPtr<ThreadableWebSocketChannelClientWrapper> clientWrapper, const String& sourceURLAtConnection, unsigned lineNumberAtConnection, PassOwnPtr<ThreadableWebSocketChannelSyncHelper> syncHelper) context 250 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp new Peer(reference, clientWrapper, *loaderProxy, context, sourceURLAtConnection, lineNumberAtConnection, syncHelper); context 357 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidConnect(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, const String& subprotocol, const String& extensions) context 359 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 371 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidReceiveMessage(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, const String& message) context 373 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 383 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidReceiveBinaryData(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > binaryData) context 385 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 395 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidUpdateBufferedAmount(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long bufferedAmount) context 397 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 407 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidStartClosingHandshake(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper) context 409 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 419 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidClose(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus closingHandshakeCompletion, unsigned short code, const String& reason) context 421 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 432 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp static void workerGlobalScopeDidReceiveMessageError(ExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper) context 434 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp ASSERT_UNUSED(context, context->isWorkerGlobalScope()); context 168 Source/platform/DragImage.cpp buffer->context()->scale(FloatSize(deviceScaleFactor, deviceScaleFactor)); context 174 Source/platform/DragImage.cpp buffer->context()->fillRoundedRect(rect, radii, radii, radii, radii, backgroundColor); context 182 Source/platform/DragImage.cpp buffer->context()->drawText(urlFont, TextRunPaintInfo(textRun), textPos); context 196 Source/platform/DragImage.cpp buffer->context()->drawBidiText(urlFont, TextRunPaintInfo(textRun), textPos); context 43 Source/platform/LifecycleContextTest.cpp template<> void observerContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) context 45 Source/platform/LifecycleContextTest.cpp context->wasObservedBy(observer); context 48 Source/platform/LifecycleContextTest.cpp template<> void unobserverContext(DummyContext* context, LifecycleObserver<DummyContext>* observer) context 50 Source/platform/LifecycleContextTest.cpp context->wasUnobservedBy(observer); context 60 Source/platform/LifecycleContextTest.cpp TestingObserver(DummyContext* context) context 61 Source/platform/LifecycleContextTest.cpp : LifecycleObserver<DummyContext>(context) context 78 Source/platform/LifecycleContextTest.cpp OwnPtr<DummyContext> context = adoptPtr(new DummyContext()); context 79 Source/platform/LifecycleContextTest.cpp OwnPtr<TestingObserver> observer = adoptPtr(new TestingObserver(context.get())); context 81 Source/platform/LifecycleContextTest.cpp EXPECT_EQ(observer->lifecycleContext(), context.get()); context 84 Source/platform/LifecycleContextTest.cpp context.clear(); context 91 Source/platform/LifecycleContextTest.cpp OwnPtr<DummyContext> context = adoptPtr(new DummyContext()); context 92 Source/platform/LifecycleContextTest.cpp OwnPtr<TestingObserver> observer = adoptPtr(new TestingObserver(context.get())); context 95 Source/platform/LifecycleContextTest.cpp context.clear(); context 45 Source/platform/LifecycleNotifier.h static PassOwnPtr<LifecycleNotifier> create(Context* context) context 47 Source/platform/LifecycleNotifier.h return adoptPtr(new LifecycleNotifier(context)); context 61 Source/platform/LifecycleNotifier.h explicit LifecycleNotifier(Context* context) context 63 Source/platform/LifecycleNotifier.h , m_context(context) context 67 Source/platform/LifecycleNotifier.h Context* context() const { return m_context; } context 47 Source/platform/LifecycleObserver.h explicit LifecycleObserver(Context* context, Type type = GenericType) context 48 Source/platform/LifecycleObserver.h : m_lifecycleContext(context) context 51 Source/platform/LifecycleObserver.h observeContext(context); context 80 Source/platform/LifecycleObserver.h inline void LifecycleObserver<T>::observeContext(typename LifecycleObserver<T>::Context* context) context 85 Source/platform/LifecycleObserver.h m_lifecycleContext = context; context 175 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp OMXFFTSpec_R_F32* context = static_cast<OMXFFTSpec_R_F32*>(malloc(bufSize)); context 176 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp omxSP_FFTInit_R_F32(context, log2FFTSize); context 177 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp return context; context 193 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp RDFTContext* context = av_rdft_init(pow2size, (RDFTransformType)trans); context 194 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp return context; context 163 Source/platform/blob/BlobRegistry.cpp static void registerStreamURLTask(void* context) context 165 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 176 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url, type)); context 177 Source/platform/blob/BlobRegistry.cpp callOnMainThread(®isterStreamURLTask, context.leakPtr()); context 181 Source/platform/blob/BlobRegistry.cpp static void registerStreamURLFromTask(void* context) context 183 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 196 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url, srcURL)); context 197 Source/platform/blob/BlobRegistry.cpp callOnMainThread(®isterStreamURLFromTask, context.leakPtr()); context 201 Source/platform/blob/BlobRegistry.cpp static void addDataToStreamTask(void* context) context 203 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 218 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url, streamData)); context 219 Source/platform/blob/BlobRegistry.cpp callOnMainThread(&addDataToStreamTask, context.leakPtr()); context 223 Source/platform/blob/BlobRegistry.cpp static void finalizeStreamTask(void* context) context 225 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 236 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url)); context 237 Source/platform/blob/BlobRegistry.cpp callOnMainThread(&finalizeStreamTask, context.leakPtr()); context 241 Source/platform/blob/BlobRegistry.cpp static void abortStreamTask(void* context) context 243 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 254 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url)); context 255 Source/platform/blob/BlobRegistry.cpp callOnMainThread(&abortStreamTask, context.leakPtr()); context 259 Source/platform/blob/BlobRegistry.cpp static void unregisterStreamURLTask(void* context) context 261 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> blobRegistryContext = adoptPtr(static_cast<BlobRegistryContext*>(context)); context 274 Source/platform/blob/BlobRegistry.cpp OwnPtr<BlobRegistryContext> context = adoptPtr(new BlobRegistryContext(url)); context 275 Source/platform/blob/BlobRegistry.cpp callOnMainThread(&unregisterStreamURLTask, context.leakPtr()); context 105 Source/platform/fonts/Font.cpp void Font::drawText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& point, CustomFontNotReadyAction customFontNotReadyAction) const context 119 Source/platform/fonts/Font.cpp return drawSimpleText(context, runInfo, point); context 121 Source/platform/fonts/Font.cpp return drawComplexText(context, runInfo, point); context 124 Source/platform/fonts/Font.cpp void Font::drawEmphasisMarks(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const context 135 Source/platform/fonts/Font.cpp drawEmphasisMarksForSimpleText(context, runInfo, mark, point); context 137 Source/platform/fonts/Font.cpp drawEmphasisMarksForComplexText(context, runInfo, mark, point); context 640 Source/platform/fonts/Font.cpp void Font::drawSimpleText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& point) const context 651 Source/platform/fonts/Font.cpp drawGlyphBuffer(context, runInfo, glyphBuffer, startPoint); context 654 Source/platform/fonts/Font.cpp void Font::drawEmphasisMarksForSimpleText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const context 662 Source/platform/fonts/Font.cpp drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y())); context 665 Source/platform/fonts/Font.cpp void Font::drawGlyphBuffer(GraphicsContext* context, const TextRunPaintInfo& runInfo, const GlyphBuffer& glyphBuffer, const FloatPoint& point) const context 682 Source/platform/fonts/Font.cpp renderingContext->drawSVGGlyphs(context, runInfo.run, fontData, glyphBuffer, lastFrom, nextGlyph - lastFrom, startPoint); context 685 Source/platform/fonts/Font.cpp drawGlyphs(context, fontData, glyphBuffer, lastFrom, nextGlyph - lastFrom, startPoint, runInfo.bounds); context 697 Source/platform/fonts/Font.cpp renderingContext->drawSVGGlyphs(context, runInfo.run, fontData, glyphBuffer, lastFrom, nextGlyph - lastFrom, startPoint); context 700 Source/platform/fonts/Font.cpp drawGlyphs(context, fontData, glyphBuffer, lastFrom, nextGlyph - lastFrom, startPoint, runInfo.bounds); context 718 Source/platform/fonts/Font.cpp void Font::drawEmphasisMarks(GraphicsContext* context, const TextRunPaintInfo& runInfo, const GlyphBuffer& glyphBuffer, const AtomicString& mark, const FloatPoint& point) const context 746 Source/platform/fonts/Font.cpp drawGlyphBuffer(context, runInfo, markBuffer, startPoint); context 195 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const context 204 Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y())); context 95 Source/platform/fonts/mac/FontComplexTextMac.cpp void Font::drawComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const FloatPoint& point) const context 102 Source/platform/fonts/mac/FontComplexTextMac.cpp drawGlyphBuffer(context, runInfo, glyphBuffer, point); context 117 Source/platform/fonts/mac/FontComplexTextMac.cpp drawGlyphBuffer(context, runInfo, glyphBuffer, startPoint); context 120 Source/platform/fonts/mac/FontComplexTextMac.cpp void Font::drawEmphasisMarksForComplexText(GraphicsContext* context, const TextRunPaintInfo& runInfo, const AtomicString& mark, const FloatPoint& point) const context 128 Source/platform/fonts/mac/FontComplexTextMac.cpp drawEmphasisMarks(context, runInfo, glyphBuffer, mark, FloatPoint(point.x() + initialAdvance, point.y())); context 48 Source/platform/fonts/win/FontPlatformDataWin.cpp void FontPlatformData::setupPaint(SkPaint* paint, GraphicsContext* context) const context 67 Source/platform/fonts/win/FontPlatformDataWin.cpp if (context && !context->couldUseLCDRenderedText()) { context 219 Source/platform/graphics/Canvas2DLayerBridge.cpp context()->makeContextCurrent(); context 308 Source/platform/graphics/Canvas2DLayerBridge.cpp context()->waitSyncPoint(mailboxInfo->m_mailbox.syncPoint); context 391 Source/platform/graphics/Canvas2DLayerBridge.cpp blink::WebGraphicsContext3D* webContext = context(); context 458 Source/platform/graphics/Canvas2DLayerBridge.cpp context()->genMailboxCHROMIUM(mailboxInfo->m_mailbox.name); context 518 Source/platform/graphics/Canvas2DLayerBridge.cpp context()->flush(); context 62 Source/platform/graphics/Canvas2DLayerBridge.h virtual blink::WebGraphicsContext3D* context() OVERRIDE; context 67 Source/platform/graphics/Canvas2DLayerManagerTest.cpp FakeCanvas2DLayerBridge(blink::WebGraphicsContext3D* context, PassOwnPtr<SkDeferredCanvas> canvas) context 68 Source/platform/graphics/Canvas2DLayerManagerTest.cpp : Canvas2DLayerBridge(adoptPtr(new MockWebGraphicsContext3DProvider(context)), canvas, 0, NonOpaque) context 46 Source/platform/graphics/CrossfadeGeneratedImage.cpp void CrossfadeGeneratedImage::drawCrossfade(GraphicsContext* context) context 57 Source/platform/graphics/CrossfadeGeneratedImage.cpp GraphicsContextStateSaver stateSaver(*context); context 59 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->clip(IntRect(IntPoint(), m_crossfadeSize)); context 60 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->beginTransparencyLayer(1); context 63 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->save(); context 65 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->scale(FloatSize( context 69 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->setAlphaAsFloat(inversePercentage); context 70 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->drawImage(m_fromImage, IntPoint()); context 71 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->restore(); context 74 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->save(); context 76 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->scale(FloatSize( context 80 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->setAlphaAsFloat(m_percentage); context 81 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->drawImage(m_toImage, IntPoint(), CompositePlusLighter); context 82 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->restore(); context 84 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->endLayer(); context 87 Source/platform/graphics/CrossfadeGeneratedImage.cpp void CrossfadeGeneratedImage::draw(GraphicsContext* context, const FloatRect& dstRect, const FloatRect& srcRect, CompositeOperator compositeOp, blink::WebBlendMode blendMode) context 89 Source/platform/graphics/CrossfadeGeneratedImage.cpp GraphicsContextStateSaver stateSaver(*context); context 90 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->setCompositeOperation(compositeOp, blendMode); context 91 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->clip(dstRect); context 92 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->translate(dstRect.x(), dstRect.y()); context 94 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->scale(FloatSize(dstRect.width() / srcRect.width(), dstRect.height() / srcRect.height())); context 95 Source/platform/graphics/CrossfadeGeneratedImage.cpp context->translate(-srcRect.x(), -srcRect.y()); context 97 Source/platform/graphics/CrossfadeGeneratedImage.cpp drawCrossfade(context); context 100 Source/platform/graphics/CrossfadeGeneratedImage.cpp void CrossfadeGeneratedImage::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, const FloatPoint& phase, CompositeOperator compositeOp, const FloatRect& dstRect, blink::WebBlendMode blendMode, const IntSize& repeatSpacing) context 102 Source/platform/graphics/CrossfadeGeneratedImage.cpp OwnPtr<ImageBuffer> imageBuffer = context->createCompatibleBuffer(m_size); context 107 Source/platform/graphics/CrossfadeGeneratedImage.cpp GraphicsContext* graphicsContext = imageBuffer->context(); context 111 Source/platform/graphics/CrossfadeGeneratedImage.cpp imageBuffer->drawPattern(context, srcRect, scale, phase, compositeOp, dstRect, blendMode, repeatSpacing); context 1730 Source/platform/graphics/GraphicsContext.cpp buffer->context()->scale(FloatSize(static_cast<float>(scaledSize.width()) / size.width(), context 13 Source/platform/graphics/GraphicsContextCullSaver.h GraphicsContextCullSaver(GraphicsContext& context) context 14 Source/platform/graphics/GraphicsContextCullSaver.h : m_context(context) context 19 Source/platform/graphics/GraphicsContextCullSaver.h GraphicsContextCullSaver(GraphicsContext& context, const FloatRect& rect) context 20 Source/platform/graphics/GraphicsContextCullSaver.h : m_context(context) context 23 Source/platform/graphics/GraphicsContextCullSaver.h context.beginCull(rect); context 161 Source/platform/graphics/GraphicsContextRecorder.cpp FragmentSnapshotPlayer player(m_picture, imageBuffer->context()->canvas()); context 170 Source/platform/graphics/GraphicsContextRecorder.cpp ProfilingSnapshotPlayer player(m_picture, imageBuffer->context()->canvas()); context 40 Source/platform/graphics/GraphicsContextStateSaver.h GraphicsContextStateSaver(GraphicsContext& context, bool saveAndRestore = true) context 41 Source/platform/graphics/GraphicsContextStateSaver.h : m_context(context) context 68 Source/platform/graphics/GraphicsContextStateSaver.h GraphicsContext* context() const { return &m_context; } context 75 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 76 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 81 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 82 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 83 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 85 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), alpha, CompositeSourceOver); context 86 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 87 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 89 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(99, 13, 10, 90), opaque, CompositePlusLighter); context 90 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 91 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 93 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(99, 13, 10, 90), opaque, CompositeSourceIn); context 94 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 95 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 97 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(99, 13, 10, 90), alpha, CompositeSourceIn); context 98 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 89, 90), context.opaqueRegion().asRect()); context 99 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 101 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(8, 8, 3, 90), opaque, CompositeSourceOut); context 102 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(11, 10, 88, 90), context.opaqueRegion().asRect()); context 103 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 105 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(30, 30, 290, 290), opaque, CompositeSourceOver); context 106 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 30, 290, 290), context.opaqueRegion().asRect()); context 107 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 109 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(40, 20, 290, 50), opaque, CompositeSourceOver); context 110 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 30, 290, 290), context.opaqueRegion().asRect()); context 111 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 113 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 390, 50), opaque, CompositeSourceIn); context 114 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 30, 290, 290), context.opaqueRegion().asRect()); context 115 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 117 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 390, 50), alpha); context 118 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 30, 290, 290), context.opaqueRegion().asRect()); context 119 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 121 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 390, 50), opaque, CompositeSourceOver); context 122 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 10, 290, 310), context.opaqueRegion().asRect()); context 123 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 132 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 133 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 138 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 139 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 140 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 142 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 143 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 145 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 146 Source/platform/graphics/GraphicsContextTest.cpp context.clip(FloatRect(0, 0, 10, 10)); context 147 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 148 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 149 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 150 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 152 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 153 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 155 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 156 Source/platform/graphics/GraphicsContextTest.cpp context.clip(FloatRect(20, 20, 10, 10)); context 157 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 158 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 10, 10), context.opaqueRegion().asRect()); context 159 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 161 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 162 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 165 Source/platform/graphics/GraphicsContextTest.cpp context.clip(FloatRect(30, 20, 10, 10)); context 166 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 167 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 168 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 169 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 171 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 172 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 175 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 176 Source/platform/graphics/GraphicsContextTest.cpp context.translate(10, 10); context 177 Source/platform/graphics/GraphicsContextTest.cpp context.clip(FloatRect(20, 20, 10, 10)); context 178 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 179 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(30, 30, 10, 10), context.opaqueRegion().asRect()); context 180 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 181 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 183 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 184 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 187 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 188 Source/platform/graphics/GraphicsContextTest.cpp context.clip(FloatRect(20, 20, 10, 10)); context 189 Source/platform/graphics/GraphicsContextTest.cpp context.translate(10, 10); context 190 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 191 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 10, 10), context.opaqueRegion().asRect()); context 192 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 193 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 195 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(10, 10, 90, 90)); context 196 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 203 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 204 Source/platform/graphics/GraphicsContextTest.cpp context.clipPath(path, RULE_EVENODD); context 205 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 206 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 207 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 208 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 211 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 212 Source/platform/graphics/GraphicsContextTest.cpp context.clip(IntRect(30, 30, 20, 20)); context 213 Source/platform/graphics/GraphicsContextTest.cpp context.clipOut(IntRect(30, 30, 10, 10)); context 214 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 215 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 216 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 217 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 227 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 228 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 237 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 238 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(1); context 239 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 10, 10), opaque, CompositeSourceOver); context 241 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeDestinationIn); context 242 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(1); context 245 Source/platform/graphics/GraphicsContextTest.cpp alphaImage->context()->fillRect(IntRect(0, 0, 100, 100), alpha); context 247 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 248 Source/platform/graphics/GraphicsContextTest.cpp context.drawImageBuffer(alphaImage.get(), FloatRect(10, 10, 10, 10)); context 250 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 251 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 253 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 254 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 264 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 265 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 274 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 275 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(1); context 276 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 10, 10), opaque, CompositeSourceOver); context 278 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeDestinationIn); context 279 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(1); context 282 Source/platform/graphics/GraphicsContextTest.cpp alphaImage->context()->fillRect(IntRect(0, 0, 100, 100), alpha); context 284 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 285 Source/platform/graphics/GraphicsContextTest.cpp context.drawImageBuffer(alphaImage.get(), FloatRect(10, 10, 10, 10)); context 288 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(12, 12, 3, 3), opaque, CompositeSourceOver); context 290 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 291 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 293 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(12, 12, 3, 3), context.opaqueRegion().asRect()); context 294 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 303 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 304 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 309 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 20, 10, 10), opaque, CompositeSourceOver); context 310 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 10, 10), context.opaqueRegion().asRect()); context 311 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 314 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(31, 20, 10, 10), opaque, CompositeSourceOver); context 315 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 10, 10), context.opaqueRegion().asRect()); context 316 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 319 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(30, 20, 10, 10), opaque, CompositeSourceOver); context 320 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 20, 10), context.opaqueRegion().asRect()); context 321 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 324 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 31, 20, 10), opaque, CompositeSourceOver); context 325 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 20, 10), context.opaqueRegion().asRect()); context 326 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 329 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 30, 20, 10), opaque, CompositeSourceOver); context 330 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 20, 20), context.opaqueRegion().asRect()); context 331 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 334 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(9, 20, 10, 20), opaque, CompositeSourceOver); context 335 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 20, 20), context.opaqueRegion().asRect()); context 336 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 339 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 20, 10, 20), opaque, CompositeSourceOver); context 340 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 20, 30, 20), context.opaqueRegion().asRect()); context 341 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 344 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 9, 30, 10), opaque, CompositeSourceOver); context 345 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 20, 30, 20), context.opaqueRegion().asRect()); context 346 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 349 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 30, 10), opaque, CompositeSourceOver); context 350 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 30, 30), context.opaqueRegion().asRect()); context 351 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 361 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 362 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 367 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 368 Source/platform/graphics/GraphicsContextTest.cpp context.setMiterLimit(0); context 369 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeThickness(4); context 370 Source/platform/graphics/GraphicsContextTest.cpp context.setLineCap(SquareCap); context 371 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeStyle(SolidStroke); context 372 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 374 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 375 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 376 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 378 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceIn); context 380 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 381 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(alpha); context 382 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 0), IntPoint(100, 0)); context 383 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 384 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 385 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 387 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 388 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(opaque); context 389 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 10), IntPoint(100, 10)); context 390 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 391 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 392 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 394 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 395 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(alpha); context 396 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 10), IntPoint(100, 10)); context 397 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 398 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 13, 90, 87), context.opaqueRegion().asRect()); context 399 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 401 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 402 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(alpha); context 403 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 11), IntPoint(100, 11)); context 404 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 405 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 14, 90, 86), context.opaqueRegion().asRect()); context 406 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 408 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(true); context 409 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 411 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 412 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 413 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 415 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceIn); context 417 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 418 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(alpha); context 419 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 0), IntPoint(100, 0)); context 420 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 421 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 422 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 424 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 425 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 426 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(opaque); context 427 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 10), IntPoint(100, 10)); context 428 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 429 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 430 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 432 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(true); context 433 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 434 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(opaque); context 435 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 10), IntPoint(100, 10)); context 436 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 437 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 13, 90, 87), context.opaqueRegion().asRect()); context 438 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 440 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 441 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeColor(alpha); context 442 Source/platform/graphics/GraphicsContextTest.cpp context.drawLine(IntPoint(0, 11), IntPoint(100, 11)); context 443 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 444 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 14, 90, 86), context.opaqueRegion().asRect()); context 445 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 454 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 455 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 460 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 461 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 462 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 464 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 465 Source/platform/graphics/GraphicsContextTest.cpp context.setMiterLimit(1); context 466 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeThickness(5); context 467 Source/platform/graphics/GraphicsContextTest.cpp context.setLineCap(SquareCap); context 468 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeStyle(SolidStroke); context 469 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceIn); context 473 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 476 Source/platform/graphics/GraphicsContextTest.cpp context.fillPath(path); context 477 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 478 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 481 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(opaque); context 484 Source/platform/graphics/GraphicsContextTest.cpp context.fillPath(path); context 485 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 486 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 489 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 492 Source/platform/graphics/GraphicsContextTest.cpp context.fillPath(path); context 493 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 13, 90, 87), context.opaqueRegion().asRect()); context 494 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 497 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 500 Source/platform/graphics/GraphicsContextTest.cpp context.fillPath(path); context 501 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 14, 90, 86), context.opaqueRegion().asRect()); context 502 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 512 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 513 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 536 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 537 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 538 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 540 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(opaqueImage.get(), IntPoint(0, 0)); context 541 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 542 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 543 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(alphaImage.get(), IntPoint(0, 0)); context 544 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 545 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 547 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(opaqueImage.get(), IntPoint(5, 5)); context 548 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 549 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 550 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(alphaImage.get(), IntPoint(5, 5)); context 551 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 552 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 554 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(opaqueImage.get(), IntPoint(10, 10)); context 555 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 556 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 557 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(alphaImage.get(), IntPoint(10, 10)); context 558 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 559 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 561 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(alphaImage.get(), IntPoint(20, 10), CompositeSourceIn); context 562 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 20, 90, 80), context.opaqueRegion().asRect()); context 563 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 565 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 566 Source/platform/graphics/GraphicsContextTest.cpp context.setAlphaAsFloat(0.5); context 567 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(opaqueImage.get(), IntPoint(25, 15), CompositeSourceIn); context 568 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 569 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 25, 90, 75), context.opaqueRegion().asRect()); context 570 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 572 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 573 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 574 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 576 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(alphaImage.get(), IntPoint(10, 20), CompositeSourceIn); context 577 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 10, 80, 90), context.opaqueRegion().asRect()); context 578 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 580 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 581 Source/platform/graphics/GraphicsContextTest.cpp context.setAlphaAsFloat(0.5); context 582 Source/platform/graphics/GraphicsContextTest.cpp context.drawImage(opaqueImage.get(), IntPoint(15, 25), CompositeSourceIn); context 583 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 584 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(25, 10, 75, 90), context.opaqueRegion().asRect()); context 585 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 595 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 596 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 601 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 602 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 604 Source/platform/graphics/GraphicsContextTest.cpp context.drawEllipse(IntRect(10, 10, 90, 90)); context 605 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 606 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 608 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 609 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 610 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 612 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceIn); context 614 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 616 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(opaque); context 617 Source/platform/graphics/GraphicsContextTest.cpp context.drawEllipse(IntRect(10, 10, 50, 30)); context 618 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 619 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 621 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 622 Source/platform/graphics/GraphicsContextTest.cpp context.drawEllipse(IntRect(10, 10, 30, 50)); context 623 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(40, 10, 60, 90), context.opaqueRegion().asRect()); context 624 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 626 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(true); context 628 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(opaque); context 629 Source/platform/graphics/GraphicsContextTest.cpp context.drawEllipse(IntRect(10, 10, 50, 30)); context 630 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(40, 41, 60, 59), context.opaqueRegion().asRect()); context 631 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 633 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 634 Source/platform/graphics/GraphicsContextTest.cpp context.drawEllipse(IntRect(20, 10, 30, 50)); context 635 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(51, 41, 49, 59), context.opaqueRegion().asRect()); context 636 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 645 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 646 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 652 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 653 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 655 Source/platform/graphics/GraphicsContextTest.cpp context.fillRoundedRect(IntRect(10, 10, 90, 90), radii, radii, radii, radii, opaque); context 656 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 657 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 659 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 660 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 661 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 663 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceIn); context 664 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 666 Source/platform/graphics/GraphicsContextTest.cpp context.fillRoundedRect(IntRect(10, 10, 50, 30), radii, radii, radii, radii, opaque); context 667 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 668 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 670 Source/platform/graphics/GraphicsContextTest.cpp context.fillRoundedRect(IntRect(10, 10, 30, 50), radii, radii, radii, radii, alpha); context 671 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(40, 10, 60, 90), context.opaqueRegion().asRect()); context 672 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 674 Source/platform/graphics/GraphicsContextTest.cpp context.fillRoundedRect(IntRect(10, 0, 50, 30), radii, radii, radii, radii, alpha); context 675 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(40, 30, 60, 70), context.opaqueRegion().asRect()); context 676 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 678 Source/platform/graphics/GraphicsContextTest.cpp context.fillRoundedRect(IntRect(30, 0, 70, 50), radii, radii, radii, radii, opaque); context 679 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(40, 30, 60, 70), context.opaqueRegion().asRect()); context 680 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 692 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 693 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 711 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(50, 50, 50, 50), opaque, CompositeSourceOver); context 712 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 713 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 715 Source/platform/graphics/GraphicsContextTest.cpp context.drawPosText("A", 1, &point, textRect, opaquePaint); context 716 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 717 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 719 Source/platform/graphics/GraphicsContextTest.cpp context.drawPosText("A", 1, &point, textRect, alphaPaint); context 720 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 721 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 723 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(50, 50, 50, 50), opaque, CompositeSourceOver); context 724 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 725 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 727 Source/platform/graphics/GraphicsContextTest.cpp context.drawPosTextH("A", 1, &pointX, 0, textRect, opaquePaint); context 728 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 729 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 731 Source/platform/graphics/GraphicsContextTest.cpp context.drawPosTextH("A", 1, &pointX, 0, textRect, alphaPaint); context 732 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 733 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 735 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(50, 50, 50, 50), opaque, CompositeSourceOver); context 736 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 737 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 739 Source/platform/graphics/GraphicsContextTest.cpp context.drawTextOnPath("A", 1, path, textRect, 0, opaquePaint); context 740 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 50, 50), context.opaqueRegion().asRect()); context 741 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 743 Source/platform/graphics/GraphicsContextTest.cpp context.drawTextOnPath("A", 1, path, textRect, 0, alphaPaint); context 744 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 745 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 755 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 756 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 775 Source/platform/graphics/GraphicsContextTest.cpp context.writePixels(opaqueBitmap, 50, 50); context 776 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(50, 50, 10, 10), context.opaqueRegion().asRect()); context 777 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 779 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 780 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 781 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 783 Source/platform/graphics/GraphicsContextTest.cpp context.writePixels(alphaBitmap, 10, 0); context 784 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 785 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 787 Source/platform/graphics/GraphicsContextTest.cpp context.writePixels(alphaBitmap, 10, 1); context 788 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 789 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 791 Source/platform/graphics/GraphicsContextTest.cpp context.writePixels(alphaBitmap, 0, 10); context 792 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 793 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 795 Source/platform/graphics/GraphicsContextTest.cpp context.writePixels(alphaBitmap, 1, 10); context 796 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(11, 11, 89, 89), context.opaqueRegion().asRect()); context 797 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 807 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 808 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 827 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmap(opaqueBitmap, 10, 10, &paint); context 828 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 10, 10), context.opaqueRegion().asRect()); context 829 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 831 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 90, 90), opaque, CompositeSourceOver); context 832 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 833 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 835 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmap(alphaBitmap, 10, 0, &paint); context 836 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 837 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 839 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmap(alphaBitmap, 10, 1, &paint); context 840 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 841 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 843 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmap(alphaBitmap, 0, 10, &paint); context 844 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 845 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 847 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmap(alphaBitmap, 1, 10, &paint); context 848 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(11, 11, 89, 89), context.opaqueRegion().asRect()); context 849 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 859 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 860 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 879 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmapRect(opaqueBitmap, 0, SkRect::MakeXYWH(10, 10, 90, 90), &paint); context 880 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 881 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 883 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmapRect(alphaBitmap, 0, SkRect::MakeXYWH(10, 0, 10, 10), &paint); context 884 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 90, 90), context.opaqueRegion().asRect()); context 885 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 887 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmapRect(alphaBitmap, 0, SkRect::MakeXYWH(10, 0, 10, 11), &paint); context 888 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 889 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 891 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmapRect(alphaBitmap, 0, SkRect::MakeXYWH(0, 10, 10, 10), &paint); context 892 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 11, 90, 89), context.opaqueRegion().asRect()); context 893 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 895 Source/platform/graphics/GraphicsContextTest.cpp context.drawBitmapRect(alphaBitmap, 0, SkRect::MakeXYWH(0, 10, 11, 10), &paint); context 896 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(11, 11, 89, 89), context.opaqueRegion().asRect()); context 897 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 907 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 908 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 911 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 20, 10, 10), opaque, CompositeSourceOver); context 912 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 20, 10, 10), context.opaqueRegion().asRect()); context 913 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 915 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(20, 20, 10, 10)); context 916 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 918 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 919 Source/platform/graphics/GraphicsContextTest.cpp context.save(); context 920 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 20, 10, 10), opaque, CompositeSourceOver); context 921 Source/platform/graphics/GraphicsContextTest.cpp context.restore(); context 922 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 923 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 925 Source/platform/graphics/GraphicsContextTest.cpp context.clearRect(FloatRect(20, 20, 10, 10)); context 926 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 928 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 929 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(20, 20, 10, 10), opaque, CompositeSourceOver); context 930 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 931 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 941 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 942 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 948 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 949 Source/platform/graphics/GraphicsContextTest.cpp context.setMiterLimit(1); context 950 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeThickness(5); context 951 Source/platform/graphics/GraphicsContextTest.cpp context.setLineCap(SquareCap); context 952 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeStyle(SolidStroke); context 958 Source/platform/graphics/GraphicsContextTest.cpp context.setLineDash(dashArray, 0); context 961 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 40, 40), opaque, CompositeSourceOver); context 962 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 40, 40), context.opaqueRegion().asRect()); context 963 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 966 Source/platform/graphics/GraphicsContextTest.cpp context.clip(IntRect(10, 10, 10, 40)); context 969 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOut); context 970 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(alpha); context 973 Source/platform/graphics/GraphicsContextTest.cpp context.strokePath(path); context 975 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(20, 10, 30, 40), context.opaqueRegion().asRect()); context 976 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH(bitmap, context.opaqueRegion().asRect()); context 986 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 987 Source/platform/graphics/GraphicsContextTest.cpp context.setTrackOpaqueRegion(true); context 993 Source/platform/graphics/GraphicsContextTest.cpp context.setShouldAntialias(false); context 994 Source/platform/graphics/GraphicsContextTest.cpp context.setMiterLimit(1); context 995 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeThickness(5); context 996 Source/platform/graphics/GraphicsContextTest.cpp context.setLineCap(SquareCap); context 997 Source/platform/graphics/GraphicsContextTest.cpp context.setStrokeStyle(SolidStroke); context 1003 Source/platform/graphics/GraphicsContextTest.cpp context.setLineDash(dashArray, 0); context 1006 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 40, 40), opaque, CompositeSourceOver); context 1007 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 40, 40), context.opaqueRegion().asRect()); context 1008 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 1011 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOver); context 1012 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 1015 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOut); context 1016 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 1019 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 40, 40), opaque, CompositeSourceOver); context 1022 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(opaque); context 1025 Source/platform/graphics/GraphicsContextTest.cpp context.strokePath(path); context 1027 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 1028 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 1029 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(10, 10, 40, 40), context.opaqueRegion().asRect()); context 1030 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 1033 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOut); context 1034 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 1037 Source/platform/graphics/GraphicsContextTest.cpp context.fillRect(FloatRect(10, 10, 40, 40), opaque, CompositeSourceOver); context 1039 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 1040 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 1041 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 1045 Source/platform/graphics/GraphicsContextTest.cpp context.setCompositeOperation(CompositeSourceOut); context 1046 Source/platform/graphics/GraphicsContextTest.cpp context.beginTransparencyLayer(0.5); context 1049 Source/platform/graphics/GraphicsContextTest.cpp context.setFillColor(opaque); context 1052 Source/platform/graphics/GraphicsContextTest.cpp context.strokePath(path); context 1054 Source/platform/graphics/GraphicsContextTest.cpp context.endLayer(); context 1055 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ_RECT(IntRect(), context.opaqueRegion().asRect()); context 1056 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_PIXELS_MATCH_EXACT(bitmap, context.opaqueRegion().asRect()); context 1067 Source/platform/graphics/GraphicsContextTest.cpp GraphicsContext context(&canvas); context 1072 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 1073 Source/platform/graphics/GraphicsContextTest.cpp DISPATCH(context, controlContext, scale, FloatSize(2, 2)); context 1074 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 1077 Source/platform/graphics/GraphicsContextTest.cpp context.beginRecording(FloatRect(0, 0, 200, 200)); context 1078 Source/platform/graphics/GraphicsContextTest.cpp DISPATCH(context, controlContext, translate, FloatSize(10, 10)); context 1079 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 1082 Source/platform/graphics/GraphicsContextTest.cpp context.beginRecording(FloatRect(10, 10, 100, 100)); context 1083 Source/platform/graphics/GraphicsContextTest.cpp DISPATCH(context, controlContext, rotate, 45); context 1084 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 1087 Source/platform/graphics/GraphicsContextTest.cpp context.endRecording(); context 1088 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 1091 Source/platform/graphics/GraphicsContextTest.cpp context.endRecording(); context 1092 Source/platform/graphics/GraphicsContextTest.cpp EXPECT_EQ(context.getCTM(), controlContext.getCTM()); context 328 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::paintGraphicsLayerContents(GraphicsContext& context, const IntRect& clip) context 333 Source/platform/graphics/GraphicsLayer.cpp m_client->paintContents(this, context, m_paintingPhase, clip); context 834 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::setRenderingContext(int context) context 836 Source/platform/graphics/GraphicsLayer.cpp if (m_3dRenderingContext == context) context 839 Source/platform/graphics/GraphicsLayer.cpp m_3dRenderingContext = context; context 840 Source/platform/graphics/GraphicsLayer.cpp m_layer->layer()->setRenderingContext(context); context 1193 Source/platform/graphics/GraphicsLayer.cpp void GraphicsLayer::paint(GraphicsContext& context, const IntRect& clip) context 1195 Source/platform/graphics/GraphicsLayer.cpp paintGraphicsLayerContents(context, clip); context 225 Source/platform/graphics/Image.cpp void Image::drawPattern(GraphicsContext* context, const FloatRect& floatSrcRect, const FloatSize& scale, context 230 Source/platform/graphics/Image.cpp bitmap->drawPattern(context, adjustForNegativeSize(floatSrcRect), scale, phase, compositeOp, destRect, blendMode, repeatSpacing); context 153 Source/platform/graphics/ImageBuffer.cpp bool ImageBuffer::copyToPlatformTexture(blink::WebGraphicsContext3D* context, Platform3DObject texture, GLenum internalFormat, GLenum destType, GLint level, bool premultiplyAlpha, bool flipY) context 178 Source/platform/graphics/ImageBuffer.cpp if (!context->makeContextCurrent()) context 181 Source/platform/graphics/ImageBuffer.cpp Platform3DObject sourceTexture = context->createTexture(); context 183 Source/platform/graphics/ImageBuffer.cpp context->bindTexture(GL_TEXTURE_2D, sourceTexture); context 185 Source/platform/graphics/ImageBuffer.cpp context->waitSyncPoint(mailbox->syncPoint); context 186 Source/platform/graphics/ImageBuffer.cpp context->consumeTextureCHROMIUM(GL_TEXTURE_2D, mailbox->name); context 189 Source/platform/graphics/ImageBuffer.cpp context->pixelStorei(GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, !premultiplyAlpha); context 192 Source/platform/graphics/ImageBuffer.cpp context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, !flipY); context 193 Source/platform/graphics/ImageBuffer.cpp context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, texture, level, internalFormat, destType); context 195 Source/platform/graphics/ImageBuffer.cpp context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, false); context 196 Source/platform/graphics/ImageBuffer.cpp context->pixelStorei(GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, false); context 198 Source/platform/graphics/ImageBuffer.cpp context->bindTexture(GL_TEXTURE_2D, 0); context 199 Source/platform/graphics/ImageBuffer.cpp context->deleteTexture(sourceTexture); context 201 Source/platform/graphics/ImageBuffer.cpp context->flush(); context 202 Source/platform/graphics/ImageBuffer.cpp sharedContext->waitSyncPoint(context->insertSyncPoint()); context 234 Source/platform/graphics/ImageBuffer.cpp void ImageBuffer::draw(GraphicsContext* context, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator op, blink::WebBlendMode blendMode) context 242 Source/platform/graphics/ImageBuffer.cpp if (!context->isAccelerated() && m_surface->isAccelerated() && m_surface->cachedBitmapEnabled() && isSurfaceValid()) { context 247 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); context 249 Source/platform/graphics/ImageBuffer.cpp context->drawImage(image.get(), destRect, srcRect, op, blendMode, DoNotRespectImageOrientation); context 259 Source/platform/graphics/ImageBuffer.cpp void ImageBuffer::drawPattern(GraphicsContext* context, const FloatRect& srcRect, const FloatSize& scale, context 266 Source/platform/graphics/ImageBuffer.cpp RefPtr<Image> image = BitmapImage::create(NativeImageSkia::create(drawNeedsCopy(m_context.get(), context) ? deepSkBitmapCopy(bitmap) : bitmap)); context 267 Source/platform/graphics/ImageBuffer.cpp image->drawPattern(context, srcRect, scale, phase, op, destRect, blendMode, repeatSpacing); context 277 Source/platform/graphics/ImageBuffer.cpp if (context()->isAccelerated() || !isSurfaceValid()) context 311 Source/platform/graphics/ImageBuffer.cpp PassRefPtr<Uint8ClampedArray> getImageData(const IntRect& rect, GraphicsContext* context, const IntSize& size) context 328 Source/platform/graphics/ImageBuffer.cpp context->readPixels(info, result->data(), 4 * rect.width(), rect.x(), rect.y()); context 336 Source/platform/graphics/ImageBuffer.cpp return getImageData<Unmultiplied>(rect, context(), m_surface->size()); context 343 Source/platform/graphics/ImageBuffer.cpp return getImageData<Premultiplied>(rect, context(), m_surface->size()); context 373 Source/platform/graphics/ImageBuffer.cpp context()->writePixels(info, srcAddr, srcBytesPerRow, destX, destY); context 94 Source/platform/graphics/ImageBuffer.h GraphicsContext* context() const; context 57 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp GraphicsContext context(canvas); context 58 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp context.setTrackOpaqueRegion(!m_opaque); context 59 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp context.setCertainlyOpaque(m_opaque); context 60 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp context.setShouldSmoothFonts(canPaintLCDText); context 63 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp context.setAnnotationMode(AnnotateAll); context 67 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp AffineTransform canvasToContentTransform = context.getCTM().inverse(); context 69 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp m_painter->paint(context, clip); context 74 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegate.cpp opaque = canvasToContentTransform.mapRect(context.opaqueRegion().asRect()); context 52 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp virtual void paint(GraphicsContext& context, const IntRect& contentRect) OVERRIDE context 54 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp m_callback(context, contentRect); context 64 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp virtual void operator()(GraphicsContext& context, const IntRect& contentRect) OVERRIDE context 69 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp context.fillRect(top, opaque); context 70 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp context.fillRect(bottom, opaque); context 75 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp virtual void operator()(GraphicsContext& context, const IntRect& contentRect) context 78 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp context.fillRect(contentRect, alpha); context 88 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp virtual void operator()(GraphicsContext& context, const IntRect& contentRect) context 91 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp context.fillRect(contentRect, alpha); context 97 Source/platform/graphics/OpaqueRectTrackingContentLayerDelegateTest.cpp context.fillRect(fillOpaque, opaque); context 172 Source/platform/graphics/filters/FEColorMatrix.cpp resultImage->context()->drawBitmap(nativeImage->bitmap(), drawingRegion.x(), drawingRegion.y(), &paint); context 176 Source/platform/graphics/filters/FEColorMatrix.cpp resultImage->context()->clipOut(drawingRegion); context 177 Source/platform/graphics/filters/FEColorMatrix.cpp resultImage->context()->fillRect(fullRect, Color(m_values[4], m_values[9], m_values[14], m_values[19])); context 172 Source/platform/graphics/filters/FEComponentTransfer.cpp resultImage->context()->drawBitmap(nativeImage->bitmap(), destRect.x(), destRect.y(), &paint); context 176 Source/platform/graphics/filters/FEComponentTransfer.cpp resultImage->context()->clipOut(destRect); context 177 Source/platform/graphics/filters/FEComponentTransfer.cpp resultImage->context()->fillRect(fullRect, Color(rValues[0], gValues[0], bValues[0], aValues[0])); context 315 Source/platform/graphics/filters/FEComposite.cpp GraphicsContext* filterContext = resultImage->context(); context 86 Source/platform/graphics/filters/FEDropShadow.cpp GraphicsContext* resultContext = resultImage->context(); context 83 Source/platform/graphics/filters/FEFlood.cpp resultImage->context()->fillRect(FloatRect(FloatPoint(), absolutePaintRect().size()), color); context 159 Source/platform/graphics/filters/FEGaussianBlur.cpp GraphicsContext* dstContext = resultImage->context(); context 53 Source/platform/graphics/filters/FEMerge.cpp GraphicsContext* filterContext = resultImage->context(); context 117 Source/platform/graphics/filters/FEMorphology.cpp GraphicsContext* dstContext = resultImage->context(); context 92 Source/platform/graphics/filters/FEOffset.cpp resultImage->context()->drawImageBuffer(in->asImageBuffer(), drawingRegion); context 80 Source/platform/graphics/filters/FETile.cpp GraphicsContext* tileImageContext = tileImage->context(); context 90 Source/platform/graphics/filters/FETile.cpp GraphicsContext* filterContext = resultImage->context(); context 58 Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp SkiaImageFilterBuilder::SkiaImageFilterBuilder(GraphicsContext* context) context 59 Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp : m_context(context) context 58 Source/platform/graphics/filters/SkiaImageFilterBuilder.h GraphicsContext* context() { return m_context; } context 64 Source/platform/graphics/filters/SourceAlpha.cpp GraphicsContext* filterContext = resultImage->context(); context 59 Source/platform/graphics/filters/SourceGraphic.cpp resultImage->context()->drawImageBuffer( context 62 Source/platform/graphics/gpu/DrawingBuffer.cpp ScopedTextureUnit0BindingRestorer(blink::WebGraphicsContext3D* context, GLenum activeTextureUnit, Platform3DObject textureUnitZeroId) context 63 Source/platform/graphics/gpu/DrawingBuffer.cpp : m_context(context) context 81 Source/platform/graphics/gpu/DrawingBuffer.cpp PassRefPtr<DrawingBuffer> DrawingBuffer::create(blink::WebGraphicsContext3D* context, const IntSize& size, PreserveDrawingBuffer preserve, PassRefPtr<ContextEvictionManager> contextEvictionManager) context 83 Source/platform/graphics/gpu/DrawingBuffer.cpp Extensions3DUtil extensionsUtil(context); context 94 Source/platform/graphics/gpu/DrawingBuffer.cpp RefPtr<DrawingBuffer> drawingBuffer = adoptRef(new DrawingBuffer(context, size, multisampleSupported, packedDepthStencilSupported, preserve, contextEvictionManager)); context 98 Source/platform/graphics/gpu/DrawingBuffer.cpp DrawingBuffer::DrawingBuffer(blink::WebGraphicsContext3D* context, context 109 Source/platform/graphics/gpu/DrawingBuffer.cpp , m_context(context) context 319 Source/platform/graphics/gpu/DrawingBuffer.cpp bool DrawingBuffer::copyToPlatformTexture(blink::WebGraphicsContext3D* context, Platform3DObject texture, GLenum internalFormat, GLenum destType, GLint level, bool premultiplyAlpha, bool flipY) context 346 Source/platform/graphics/gpu/DrawingBuffer.cpp if (!context->makeContextCurrent()) context 349 Source/platform/graphics/gpu/DrawingBuffer.cpp Platform3DObject sourceTexture = context->createTexture(); context 355 Source/platform/graphics/gpu/DrawingBuffer.cpp context->getIntegerv(GL_TEXTURE_BINDING_2D, &boundTexture); context 356 Source/platform/graphics/gpu/DrawingBuffer.cpp context->bindTexture(GL_TEXTURE_2D, sourceTexture); context 357 Source/platform/graphics/gpu/DrawingBuffer.cpp context->waitSyncPoint(bufferMailbox->mailbox.syncPoint); context 358 Source/platform/graphics/gpu/DrawingBuffer.cpp context->consumeTextureCHROMIUM(GL_TEXTURE_2D, bufferMailbox->mailbox.name); context 367 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, unpackUnpremultiplyAlphaNeeded); context 368 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, unpackPremultiplyAlphaNeeded); context 369 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, flipY); context 370 Source/platform/graphics/gpu/DrawingBuffer.cpp context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, texture, level, internalFormat, destType); context 371 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_FLIP_Y_CHROMIUM, false); context 372 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_UNPREMULTIPLY_ALPHA_CHROMIUM, false); context 373 Source/platform/graphics/gpu/DrawingBuffer.cpp context->pixelStorei(GC3D_UNPACK_PREMULTIPLY_ALPHA_CHROMIUM, false); context 375 Source/platform/graphics/gpu/DrawingBuffer.cpp context->bindTexture(GL_TEXTURE_2D, boundTexture); context 376 Source/platform/graphics/gpu/DrawingBuffer.cpp context->deleteTexture(sourceTexture); context 378 Source/platform/graphics/gpu/DrawingBuffer.cpp context->flush(); context 379 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->waitSyncPoint(context->insertSyncPoint()); context 426 Source/platform/graphics/gpu/DrawingBuffer.cpp blink::WebGraphicsContext3D* context = provider->context3d(); context 427 Source/platform/graphics/gpu/DrawingBuffer.cpp if (!context || !context->makeContextCurrent()) context 430 Source/platform/graphics/gpu/DrawingBuffer.cpp Platform3DObject sourceTexture = context->createTexture(); context 432 Source/platform/graphics/gpu/DrawingBuffer.cpp context->getIntegerv(GL_TEXTURE_BINDING_2D, &boundTexture); context 433 Source/platform/graphics/gpu/DrawingBuffer.cpp context->bindTexture(GL_TEXTURE_2D, sourceTexture); context 434 Source/platform/graphics/gpu/DrawingBuffer.cpp context->waitSyncPoint(bufferMailbox->mailbox.syncPoint); context 435 Source/platform/graphics/gpu/DrawingBuffer.cpp context->consumeTextureCHROMIUM(GL_TEXTURE_2D, bufferMailbox->mailbox.name); context 436 Source/platform/graphics/gpu/DrawingBuffer.cpp context->copyTextureCHROMIUM(GL_TEXTURE_2D, sourceTexture, context 438 Source/platform/graphics/gpu/DrawingBuffer.cpp context->bindTexture(GL_TEXTURE_2D, boundTexture); context 439 Source/platform/graphics/gpu/DrawingBuffer.cpp context->deleteTexture(sourceTexture); context 440 Source/platform/graphics/gpu/DrawingBuffer.cpp context->flush(); context 441 Source/platform/graphics/gpu/DrawingBuffer.cpp m_context->waitSyncPoint(context->insertSyncPoint()); context 133 Source/platform/graphics/gpu/DrawingBuffer.h virtual blink::WebGraphicsContext3D* context() OVERRIDE; context 26 Source/platform/graphics/gpu/Extensions3DUtil.cpp Extensions3DUtil::Extensions3DUtil(blink::WebGraphicsContext3D* context) context 27 Source/platform/graphics/gpu/Extensions3DUtil.cpp : m_context(context) context 141 Source/platform/graphics/skia/NativeImageSkia.cpp static ResamplingMode limitResamplingMode(GraphicsContext* context, ResamplingMode resampling) context 143 Source/platform/graphics/skia/NativeImageSkia.cpp switch (context->imageInterpolationQuality()) { context 242 Source/platform/graphics/skia/NativeImageSkia.cpp void NativeImageSkia::drawResampledBitmap(GraphicsContext* context, SkPaint& paint, const SkRect& srcRect, const SkRect& destRect) const context 249 Source/platform/graphics/skia/NativeImageSkia.cpp context->getTotalMatrix().mapRect(&screenRect, destRect); context 255 Source/platform/graphics/skia/NativeImageSkia.cpp if (!context->canvas()->getClipBounds(&destRectVisibleSubset)) context 272 Source/platform/graphics/skia/NativeImageSkia.cpp context->drawBitmapRect(scaledImageFragment, &scaledSrcRect, destRectVisibleSubset, &paint); context 335 Source/platform/graphics/skia/NativeImageSkia.cpp static bool shouldDrawAntiAliased(GraphicsContext* context, const SkRect& destRect) context 337 Source/platform/graphics/skia/NativeImageSkia.cpp if (!context->shouldAntialias()) context 339 Source/platform/graphics/skia/NativeImageSkia.cpp const SkMatrix totalMatrix = context->getTotalMatrix(); context 346 Source/platform/graphics/skia/NativeImageSkia.cpp if (!context->shouldAntialiasHairlineImages()) context 364 Source/platform/graphics/skia/NativeImageSkia.cpp void NativeImageSkia::draw(GraphicsContext* context, const SkRect& srcRect, const SkRect& destRect, PassRefPtr<SkXfermode> compOp) const context 369 Source/platform/graphics/skia/NativeImageSkia.cpp paint.setColorFilter(context->colorFilter()); context 370 Source/platform/graphics/skia/NativeImageSkia.cpp paint.setAlpha(context->getNormalizedAlpha()); context 371 Source/platform/graphics/skia/NativeImageSkia.cpp paint.setLooper(context->drawLooper()); context 372 Source/platform/graphics/skia/NativeImageSkia.cpp paint.setAntiAlias(shouldDrawAntiAliased(context, destRect)); context 375 Source/platform/graphics/skia/NativeImageSkia.cpp if (context->isAccelerated()) { context 377 Source/platform/graphics/skia/NativeImageSkia.cpp } else if (context->printing()) { context 382 Source/platform/graphics/skia/NativeImageSkia.cpp SkMatrix totalMatrix = context->getTotalMatrix(); context 397 Source/platform/graphics/skia/NativeImageSkia.cpp resampling = limitResamplingMode(context, resampling); context 410 Source/platform/graphics/skia/NativeImageSkia.cpp drawResampledBitmap(context, paint, srcRect, destRect); context 416 Source/platform/graphics/skia/NativeImageSkia.cpp context->drawBitmapRect(bitmap(), &srcRect, destRect, &paint); context 420 Source/platform/graphics/skia/NativeImageSkia.cpp context->didDrawRect(destRect, paint, &bitmap()); context 439 Source/platform/graphics/skia/NativeImageSkia.cpp GraphicsContext* context, context 453 Source/platform/graphics/skia/NativeImageSkia.cpp SkMatrix totalMatrix = context->getTotalMatrix(); context 454 Source/platform/graphics/skia/NativeImageSkia.cpp AffineTransform ctm = context->getCTM(); context 470 Source/platform/graphics/skia/NativeImageSkia.cpp if (context->isAccelerated() || context->printing()) context 474 Source/platform/graphics/skia/NativeImageSkia.cpp resampling = limitResamplingMode(context, resampling); context 539 Source/platform/graphics/skia/NativeImageSkia.cpp paint.setColorFilter(context->colorFilter()); context 545 Source/platform/graphics/skia/NativeImageSkia.cpp context->drawRect(destRect, paint); context 150 Source/platform/graphics/skia/OpaqueRegionSkia.cpp static inline bool getDeviceClipAsRect(const GraphicsContext* context, SkRect& deviceClipRect) context 153 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (!context->canvas()->isClipRect()) context 157 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (context->canvas()->getClipDeviceBounds(&deviceClipIRect)) context 173 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::popCanvasLayer(const GraphicsContext* context) context 189 Source/platform/graphics/skia/OpaqueRegionSkia.cpp applyOpaqueRegionFromLayer(context, layerOpaqueRect, layerPaint); context 199 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDrawRect(const GraphicsContext* context, const SkRect& fillRect, const SkPaint& paint, const SkBitmap* sourceBitmap) context 206 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawUnbounded(context, paint, FillOrStroke); context 210 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, strokeRect, paint, sourceBitmap, fillsBounds, FillOrStroke); context 215 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, fillRect, paint, sourceBitmap, fillsBounds, FillOnly); context 218 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDrawPath(const GraphicsContext* context, const SkPath& path, const SkPaint& paint) context 222 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawRect(context, rect, paint, 0); context 229 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawUnbounded(context, paint, FillOrStroke); context 232 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); context 236 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDrawPoints(const GraphicsContext* context, SkCanvas::PointMode mode, int numPoints, const SkPoint points[], const SkPaint& paint) context 257 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawUnbounded(context, paint, FillOrStroke); context 260 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); context 264 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDrawBounded(const GraphicsContext* context, const SkRect& bounds, const SkPaint& paint) context 269 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDrawUnbounded(context, paint, FillOrStroke); context 273 Source/platform/graphics/skia/OpaqueRegionSkia.cpp didDraw(context, rect, paint, 0, fillsBounds, FillOrStroke); context 277 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDraw(const GraphicsContext* context, const SkRect& rect, const SkPaint& paint, const SkBitmap* sourceBitmap, bool fillsBounds, DrawType drawType) context 282 Source/platform/graphics/skia/OpaqueRegionSkia.cpp SkMatrix canvasTransform = context->canvas()->getTotalMatrix(); context 288 Source/platform/graphics/skia/OpaqueRegionSkia.cpp if (!getDeviceClipAsRect(context, deviceClipRect)) context 303 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::didDrawUnbounded(const GraphicsContext* context, const SkPaint& paint, DrawType drawType) context 312 Source/platform/graphics/skia/OpaqueRegionSkia.cpp getDeviceClipAsRect(context, deviceClipRect); context 316 Source/platform/graphics/skia/OpaqueRegionSkia.cpp void OpaqueRegionSkia::applyOpaqueRegionFromLayer(const GraphicsContext* context, const SkRect& layerOpaqueRect, const SkPaint& paint) context 319 Source/platform/graphics/skia/OpaqueRegionSkia.cpp bool deviceClipIsARect = getDeviceClipAsRect(context, deviceClipRect); context 51 Source/platform/mac/LocalCurrentGraphicsContext.h CGContextRef context() { return m_skiaBitLocker.cgContext(); } context 824 Source/platform/scroll/ScrollView.cpp void ScrollView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) context 826 Source/platform/scroll/ScrollView.cpp ScrollbarTheme::theme()->paintScrollCorner(context, cornerRect); context 829 Source/platform/scroll/ScrollView.cpp void ScrollView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect) context 831 Source/platform/scroll/ScrollView.cpp bar->paint(context, rect); context 839 Source/platform/scroll/ScrollView.cpp void ScrollView::paintScrollbars(GraphicsContext* context, const IntRect& rect) context 842 Source/platform/scroll/ScrollView.cpp paintScrollbar(context, m_horizontalScrollbar.get(), rect); context 844 Source/platform/scroll/ScrollView.cpp paintScrollbar(context, m_verticalScrollbar.get(), rect); context 848 Source/platform/scroll/ScrollView.cpp paintScrollCorner(context, scrollCornerRect()); context 851 Source/platform/scroll/ScrollView.cpp void ScrollView::paintPanScrollIcon(GraphicsContext* context) context 857 Source/platform/scroll/ScrollView.cpp context->drawImage(panScrollIcon, iconGCPoint); context 860 Source/platform/scroll/ScrollView.cpp void ScrollView::paint(GraphicsContext* context, const IntRect& rect) context 862 Source/platform/scroll/ScrollView.cpp if (context->paintingDisabled() && !context->updatingControlTints()) context 874 Source/platform/scroll/ScrollView.cpp GraphicsContextStateSaver stateSaver(*context); context 876 Source/platform/scroll/ScrollView.cpp context->translate(x(), y()); context 880 Source/platform/scroll/ScrollView.cpp context->translate(-scrollX(), -scrollY()); context 883 Source/platform/scroll/ScrollView.cpp context->clip(visibleContentRect()); context 886 Source/platform/scroll/ScrollView.cpp paintContents(context, documentDirtyRect); context 889 Source/platform/scroll/ScrollView.cpp calculateAndPaintOverhangAreas(context, rect); context 893 Source/platform/scroll/ScrollView.cpp GraphicsContextStateSaver stateSaver(*context); context 897 Source/platform/scroll/ScrollView.cpp context->translate(x(), y()); context 899 Source/platform/scroll/ScrollView.cpp context->clip(IntRect(IntPoint(), visibleAreaWithScrollbars.size())); context 901 Source/platform/scroll/ScrollView.cpp paintScrollbars(context, scrollViewDirtyRect); context 906 Source/platform/scroll/ScrollView.cpp paintPanScrollIcon(context); context 965 Source/platform/scroll/ScrollView.cpp void ScrollView::paintOverhangAreas(GraphicsContext* context, const IntRect& horizontalOverhangRect, const IntRect& verticalOverhangRect, const IntRect& dirtyRect) context 967 Source/platform/scroll/ScrollView.cpp ScrollbarTheme::theme()->paintOverhangBackground(context, horizontalOverhangRect, verticalOverhangRect, dirtyRect); context 968 Source/platform/scroll/ScrollView.cpp ScrollbarTheme::theme()->paintOverhangShadows(context, scrollOffset(), horizontalOverhangRect, verticalOverhangRect, dirtyRect); context 971 Source/platform/scroll/ScrollView.cpp void ScrollView::calculateAndPaintOverhangAreas(GraphicsContext* context, const IntRect& dirtyRect) context 978 Source/platform/scroll/ScrollView.cpp paintOverhangAreas(context, horizontalOverhangRect, verticalOverhangRect, dirtyRect); context 981 Source/platform/scroll/ScrollView.cpp void ScrollView::calculateAndPaintOverhangBackground(GraphicsContext* context, const IntRect& dirtyRect) context 988 Source/platform/scroll/ScrollView.cpp ScrollbarTheme::theme()->paintOverhangBackground(context, horizontalOverhangRect, verticalOverhangRect, dirtyRect); context 184 Source/platform/scroll/Scrollbar.cpp void Scrollbar::paint(GraphicsContext* context, const IntRect& damageRect) context 186 Source/platform/scroll/Scrollbar.cpp if (context->updatingControlTints() && theme()->supportsControlTints()) { context 191 Source/platform/scroll/Scrollbar.cpp if (context->paintingDisabled() || !frameRect().intersects(damageRect)) context 194 Source/platform/scroll/Scrollbar.cpp if (!theme()->paint(this, context, damageRect)) context 195 Source/platform/scroll/Scrollbar.cpp Widget::paint(context, damageRect); context 203 Source/platform/scroll/ScrollbarTheme.cpp void ScrollbarTheme::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect) context 209 Source/platform/scroll/ScrollbarTheme.cpp context->fillRect(cornerRect, Color::white); context 211 Source/platform/scroll/ScrollbarTheme.cpp blink::Platform::current()->themeEngine()->paint(context->canvas(), blink::WebThemeEngine::PartScrollbarCorner, blink::WebThemeEngine::StateNormal, blink::WebRect(cornerRect), 0); context 215 Source/platform/scroll/ScrollbarTheme.cpp void ScrollbarTheme::paintOverhangBackground(GraphicsContext* context, const IntRect& horizontalOverhangRect, const IntRect& verticalOverhangRect, const IntRect& dirtyRect) context 217 Source/platform/scroll/ScrollbarTheme.cpp context->setFillColor(Color::white); context 219 Source/platform/scroll/ScrollbarTheme.cpp context->fillRect(intersection(horizontalOverhangRect, dirtyRect)); context 221 Source/platform/scroll/ScrollbarTheme.cpp context->fillRect(intersection(verticalOverhangRect, dirtyRect)); context 51 Source/platform/scroll/ScrollbarThemeMock.cpp void ScrollbarThemeMock::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& trackRect) context 53 Source/platform/scroll/ScrollbarThemeMock.cpp context->fillRect(trackRect, scrollbar->enabled() ? Color::lightGray : Color(0xFFE0E0E0)); context 56 Source/platform/scroll/ScrollbarThemeMock.cpp void ScrollbarThemeMock::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& thumbRect) context 59 Source/platform/scroll/ScrollbarThemeMock.cpp context->fillRect(thumbRect, Color::darkGray); context 88 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp void ScrollbarThemeNonMacCommon::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 92 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp paintTrackPiece(context, scrollbar, rect, ForwardTrackPart); context 95 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp void ScrollbarThemeNonMacCommon::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 109 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp GraphicsContextStateSaver stateSaver(*context); context 110 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp context->setShouldAntialias(false); context 119 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp context->setFillColor(Color(0xCC, 0xAA, 0x00, 0xFF)); context 121 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp context->fillRect(tickRect); context 123 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp context->setFillColor(Color(0xFF, 0xDD, 0x00, 0xFF)); context 125 Source/platform/scroll/ScrollbarThemeNonMacCommon.cpp context->fillRect(tickStroke); context 125 Source/platform/scroll/ScrollbarThemeOverlay.cpp void ScrollbarThemeOverlay::paintThumb(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) context 137 Source/platform/scroll/ScrollbarThemeOverlay.cpp context->fillRect(thumbRect, m_color); context 147 Source/platform/scroll/ScrollbarThemeOverlay.cpp blink::WebCanvas* canvas = context->canvas(); context 31 Source/platform/text/BidiCharacterRun.h BidiCharacterRun(int start, int stop, BidiContext* context, WTF::Unicode::Direction dir) context 32 Source/platform/text/BidiCharacterRun.h : m_override(context->override()) context 39 Source/platform/text/BidiCharacterRun.h dir = context->dir(); context 41 Source/platform/text/BidiCharacterRun.h m_level = context->level(); context 71 Source/platform/text/BidiContext.cpp static inline PassRefPtr<BidiContext> copyContextAndRebaselineLevel(BidiContext* context, BidiContext* parent) context 73 Source/platform/text/BidiContext.cpp ASSERT(context); context 75 Source/platform/text/BidiContext.cpp if (context->dir() == RightToLeft) context 80 Source/platform/text/BidiContext.cpp return BidiContext::create(newLevel, context->dir(), context->override(), context->source(), parent); context 143 Source/platform/text/BidiResolver.h context = BidiContext::create(textDirection == LTR ? 0 : 1, direction, isOverride); context 150 Source/platform/text/BidiResolver.h , context(bidiContext) context 157 Source/platform/text/BidiResolver.h RefPtr<BidiContext> context; context 177 Source/platform/text/BidiResolver.h return status1.eor == status2.eor && status1.last == status2.last && status1.lastStrong == status2.lastStrong && *(status1.context) == *(status2.context); context 218 Source/platform/text/BidiResolver.h BidiContext* context() const { return m_status.context.get(); } context 219 Source/platform/text/BidiResolver.h void setContext(PassRefPtr<BidiContext> c) { m_status.context = c; } context 231 Source/platform/text/BidiResolver.h ASSERT(s.context); context 233 Source/platform/text/BidiResolver.h m_paragraphDirectionality = s.context->dir() == WTF::Unicode::LeftToRight ? LTR : RTL; context 341 Source/platform/text/BidiResolver.h m_runs.addRun(new Run(startOffset, endOffset + 1, context(), m_direction)); context 472 Source/platform/text/BidiResolver.h BidiContext* baseContext = context(); context 506 Source/platform/text/BidiResolver.h unsigned char fromLevel = context()->level(); context 507 Source/platform/text/BidiResolver.h RefPtr<BidiContext> toContext = context(); context 719 Source/platform/text/BidiResolver.h BidiContext* c = context(); context 727 Source/platform/text/BidiResolver.h dirCurrent = stateAtEnd.context()->dir(); context 738 Source/platform/text/BidiResolver.h if (context()->override() context 744 Source/platform/text/BidiResolver.h dirCurrent = context()->dir(); context 792 Source/platform/text/BidiResolver.h if (context()->dir() != LeftToRight) { context 803 Source/platform/text/BidiResolver.h if (context()->dir() != LeftToRight) { context 811 Source/platform/text/BidiResolver.h if (context()->dir() == RightToLeft) { context 844 Source/platform/text/BidiResolver.h if (m_status.lastStrong == LeftToRight && context()->dir() == LeftToRight) context 850 Source/platform/text/BidiResolver.h if (context()->dir() == LeftToRight) context 904 Source/platform/text/BidiResolver.h if (m_status.lastStrong == RightToLeft || context()->dir() == RightToLeft) { context 933 Source/platform/text/BidiResolver.h if (context()->dir() == LeftToRight) context 955 Source/platform/text/BidiResolver.h || (m_status.eor == EuropeanNumber && (m_status.lastStrong == RightToLeft || context()->dir() == RightToLeft)) context 956 Source/platform/text/BidiResolver.h || (m_status.eor != EuropeanNumber && m_status.lastStrong == LeftToRight && context()->dir() == RightToLeft)) { context 162 Source/platform/text/TextBreakIteratorICU.cpp textFixPointer(source, destination, destination->context); context 183 Source/platform/text/TextBreakIteratorICU.cpp text->context = 0; context 293 Source/platform/text/TextBreakIteratorICU.cpp if (!text->context) context 334 Source/platform/text/TextBreakIteratorICU.cpp text->context = string; context 416 Source/platform/text/TextBreakIteratorICU.cpp if (!text->context) context 228 Source/platform/text/TextRun.h void setRenderingContext(PassRefPtr<RenderingContext> context) { m_renderingContext = context; } context 47 Source/platform/text/UnicodeUtilitiesTest.cpp UBool U_CALLCONV testFirstAndLastCharsInCategory(const void *context, UChar32 start, UChar32 limit, UCharCategory type) context 697 Source/web/ChromeClientImpl.cpp bool ChromeClientImpl::paintCustomOverhangArea(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) context 702 Source/web/ChromeClientImpl.cpp return pluginContainer->paintCustomOverhangArea(context, horizontalOverhangArea, verticalOverhangArea, dirtyRect); context 60 Source/web/EventListenerWrapper.cpp void EventListenerWrapper::handleEvent(ExecutionContext* context, Event* event) context 138 Source/web/FrameLoaderClientImpl.cpp void FrameLoaderClientImpl::didCreateScriptContext(v8::Handle<v8::Context> context, int extensionGroup, int worldId) context 144 Source/web/FrameLoaderClientImpl.cpp m_webFrame->client()->didCreateScriptContext(m_webFrame, context, extensionGroup, worldId); context 147 Source/web/FrameLoaderClientImpl.cpp void FrameLoaderClientImpl::willReleaseScriptContext(v8::Handle<v8::Context> context, int worldId) context 150 Source/web/FrameLoaderClientImpl.cpp m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worldId); context 207 Source/web/FrameLoaderClientImpl.cpp bool FrameLoaderClientImpl::allowDisplayingInsecureContent(bool enabledPerSettings, SecurityOrigin* context, const KURL& url) context 210 Source/web/FrameLoaderClientImpl.cpp return m_webFrame->permissionClient()->allowDisplayingInsecureContent(m_webFrame, enabledPerSettings, WebSecurityOrigin(context), WebURL(url)); context 215 Source/web/FrameLoaderClientImpl.cpp bool FrameLoaderClientImpl::allowRunningInsecureContent(bool enabledPerSettings, SecurityOrigin* context, const KURL& url) context 218 Source/web/FrameLoaderClientImpl.cpp return m_webFrame->permissionClient()->allowRunningInsecureContent(m_webFrame, enabledPerSettings, WebSecurityOrigin(context), WebURL(url)); context 52 Source/web/IDBFactoryBackendProxy.cpp bool IDBFactoryBackendProxy::allowIndexedDB(ExecutionContext* context, const String& name) context 54 Source/web/IDBFactoryBackendProxy.cpp ASSERT_WITH_SECURITY_IMPLICATION(context->isDocument() || context->isWorkerGlobalScope()); context 56 Source/web/IDBFactoryBackendProxy.cpp if (context->isDocument()) { context 57 Source/web/IDBFactoryBackendProxy.cpp WebSecurityOrigin origin(context->securityOrigin()); context 58 Source/web/IDBFactoryBackendProxy.cpp Document* document = toDocument(context); context 64 Source/web/IDBFactoryBackendProxy.cpp WorkerGlobalScope& workerGlobalScope = *toWorkerGlobalScope(context); context 57 Source/web/LocalFileSystemClient.cpp bool LocalFileSystemClient::allowFileSystem(ExecutionContext* context) context 59 Source/web/LocalFileSystemClient.cpp ASSERT(context); context 60 Source/web/LocalFileSystemClient.cpp if (context->isDocument()) { context 61 Source/web/LocalFileSystemClient.cpp Document* document = toDocument(context); context 65 Source/web/LocalFileSystemClient.cpp ASSERT(context->isWorkerGlobalScope()); context 66 Source/web/LocalFileSystemClient.cpp return WorkerPermissionClient::from(*toWorkerGlobalScope(context))->allowFileSystem(); context 69 Source/web/LocalFileSystemClient.cpp void LocalFileSystemClient::requestFileSystemAccess(ExecutionContext* context, PassOwnPtr<WebCore::PermissionCallbacks> callbacks) context 71 Source/web/LocalFileSystemClient.cpp ASSERT(context); context 72 Source/web/LocalFileSystemClient.cpp if (context->isDocument()) { context 73 Source/web/LocalFileSystemClient.cpp Document* document = toDocument(context); context 82 Source/web/LocalFileSystemClient.cpp ASSERT(context->isWorkerGlobalScope()); context 83 Source/web/LocalFileSystemClient.cpp WorkerPermissionClient::from(*toWorkerGlobalScope(context))->requestFileSystemAccess(callbacks); context 98 Source/web/NotificationPresenterImpl.cpp NotificationClient::Permission NotificationPresenterImpl::checkPermission(ExecutionContext* context) context 100 Source/web/NotificationPresenterImpl.cpp int result = m_presenter->checkPermission(WebSecurityOrigin(context->securityOrigin())); context 104 Source/web/NotificationPresenterImpl.cpp void NotificationPresenterImpl::requestPermission(ExecutionContext* context, WTF::PassOwnPtr<NotificationPermissionCallback> callback) context 106 Source/web/NotificationPresenterImpl.cpp m_presenter->requestPermission(WebSecurityOrigin(context->securityOrigin()), new NotificationPermissionCallbackClient(m_presenter, context->securityOrigin(), callback)); context 554 Source/web/WebDevToolsAgentImpl.cpp GraphicsContext context(canvas); context 555 Source/web/WebDevToolsAgentImpl.cpp context.setCertainlyOpaque(false); context 556 Source/web/WebDevToolsAgentImpl.cpp ic->drawHighlight(context); context 315 Source/web/WebFrameImpl.cpp virtual float spoolPage(GraphicsContext& context, int pageNumber) context 320 Source/web/WebFrameImpl.cpp context.save(); context 322 Source/web/WebFrameImpl.cpp context.scale(WebCore::FloatSize(scale, scale)); context 324 Source/web/WebFrameImpl.cpp context.translate(static_cast<float>(-pageRect.x()), static_cast<float>(-pageRect.y())); context 325 Source/web/WebFrameImpl.cpp context.clip(pageRect); context 326 Source/web/WebFrameImpl.cpp frame()->view()->paintContents(&context, pageRect); context 327 Source/web/WebFrameImpl.cpp if (context.supportsURLFragments()) context 328 Source/web/WebFrameImpl.cpp outputLinkedDestinations(context, frame()->document(), pageRect); context 329 Source/web/WebFrameImpl.cpp context.restore(); context 434 Source/web/WebFrameImpl.cpp virtual float spoolPage(GraphicsContext& context, int pageNumber) context 436 Source/web/WebFrameImpl.cpp m_plugin->printPage(pageNumber, &context); context 462 Source/web/WebFrameImpl.cpp v8::Handle<v8::Context> context = v8::Isolate::GetCurrent()->GetCurrentContext(); context 463 Source/web/WebFrameImpl.cpp if (context.IsEmpty()) context 465 Source/web/WebFrameImpl.cpp return frameForContext(context); context 468 Source/web/WebFrameImpl.cpp WebLocalFrame* WebFrame::frameForContext(v8::Handle<v8::Context> context) context 470 Source/web/WebFrameImpl.cpp return WebFrameImpl::fromFrame(toFrameIfNotDetached(context)); context 149 Source/web/WebKit.cpp static void callOnMainThreadFunction(WTF::MainThreadFunction function, void* context) context 151 Source/web/WebKit.cpp Platform::current()->callOnMainThread(function, context); context 52 Source/web/WebLeakDetector.cpp v8::Local<v8::Context> context(frame->mainWorldScriptContext()); context 53 Source/web/WebLeakDetector.cpp v8::Context::Scope contextScope(context); context 57 Source/web/WebLeakDetector.cpp ResourceFetcher* fetcher = currentDOMWindow(context->GetIsolate())->document()->fetcher(); context 69 Source/web/WebLeakDetector.cpp v8::Local<v8::Context> context(frame->mainWorldScriptContext()); context 70 Source/web/WebLeakDetector.cpp v8::Context::Scope contextScope(context); context 355 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::paint(GraphicsContext* context, const IntRect& rect) context 360 Source/web/WebMediaPlayerClientImpl.cpp if (m_webMediaPlayer && !context->paintingDisabled()) { context 365 Source/web/WebMediaPlayerClientImpl.cpp paintOnAndroid(context, rect, context->getNormalizedAlpha()); context 369 Source/web/WebMediaPlayerClientImpl.cpp WebCanvas* canvas = context->canvas(); context 370 Source/web/WebMediaPlayerClientImpl.cpp m_webMediaPlayer->paint(canvas, rect, context->getNormalizedAlpha()); context 374 Source/web/WebMediaPlayerClientImpl.cpp bool WebMediaPlayerClientImpl::copyVideoTextureToPlatformTexture(WebGraphicsContext3D* context, Platform3DObject texture, GLint level, GLenum type, GLenum internalFormat, bool premultiplyAlpha, bool flipY) context 376 Source/web/WebMediaPlayerClientImpl.cpp if (!context || !m_webMediaPlayer) context 378 Source/web/WebMediaPlayerClientImpl.cpp if (!Extensions3DUtil::canUseCopyTextureCHROMIUM(internalFormat, type, level) || !context->makeContextCurrent()) context 381 Source/web/WebMediaPlayerClientImpl.cpp return m_webMediaPlayer->copyVideoTextureToPlatformTexture(context, texture, level, internalFormat, type, premultiplyAlpha, flipY); context 461 Source/web/WebMediaPlayerClientImpl.cpp void WebMediaPlayerClientImpl::paintOnAndroid(WebCore::GraphicsContext* context, const IntRect& rect, uint8_t alpha) context 467 Source/web/WebMediaPlayerClientImpl.cpp if (!context || !context3D || !m_webMediaPlayer || context->paintingDisabled()) context 481 Source/web/WebMediaPlayerClientImpl.cpp WebCanvas* canvas = context->canvas(); context 650 Source/web/WebPluginContainerImpl.cpp bool WebPluginContainerImpl::paintCustomOverhangArea(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect) context 652 Source/web/WebPluginContainerImpl.cpp context->save(); context 653 Source/web/WebPluginContainerImpl.cpp context->setFillColor(Color(0xCC, 0xCC, 0xCC)); context 654 Source/web/WebPluginContainerImpl.cpp context->fillRect(intersection(horizontalOverhangArea, dirtyRect)); context 655 Source/web/WebPluginContainerImpl.cpp context->fillRect(intersection(verticalOverhangArea, dirtyRect)); context 656 Source/web/WebPluginContainerImpl.cpp context->restore(); context 240 Source/web/WebPluginScrollbarImpl.cpp GraphicsContext context(canvas); context 241 Source/web/WebPluginScrollbarImpl.cpp m_scrollbar->paint(&context, rect); context 250 Source/web/WebPopupMenuImpl.cpp GraphicsContext context(canvas); context 251 Source/web/WebPopupMenuImpl.cpp m_widget->paint(&context, rect); context 261 Source/web/WebPopupMenuImpl.cpp GraphicsContext context(canvas); context 262 Source/web/WebPopupMenuImpl.cpp context.applyDeviceScaleFactor(m_client->deviceScaleFactor()); context 263 Source/web/WebPopupMenuImpl.cpp m_widget->paint(&context, rect); context 51 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 52 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 53 Source/web/WebScrollbarThemePainter.cpp m_theme->paintScrollbarBackground(&context, m_scrollbar); context 58 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 59 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 60 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackBackground(&context, m_scrollbar, IntRect(rect)); context 65 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 66 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 67 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::BackTrackPart); context 72 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 73 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 74 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTrackPiece(&context, m_scrollbar, IntRect(rect), WebCore::ForwardTrackPart); context 79 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 80 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 81 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonStartPart); context 86 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 87 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 88 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::BackButtonEndPart); context 93 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 94 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 95 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonStartPart); context 100 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 101 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 102 Source/web/WebScrollbarThemePainter.cpp m_theme->paintButton(&context, m_scrollbar, IntRect(rect), WebCore::ForwardButtonEndPart); context 107 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 108 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 109 Source/web/WebScrollbarThemePainter.cpp m_theme->paintTickmarks(&context, m_scrollbar, IntRect(rect)); context 114 Source/web/WebScrollbarThemePainter.cpp GraphicsContext context(canvas); context 115 Source/web/WebScrollbarThemePainter.cpp context.setCertainlyOpaque(false); context 116 Source/web/WebScrollbarThemePainter.cpp m_theme->paintThumb(&context, m_scrollbar, IntRect(rect)); context 307 Source/web/WebSharedWorkerImpl.cpp void WebSharedWorkerImpl::connectTask(ExecutionContext* context, PassOwnPtr<WebMessagePortChannel> channel) context 310 Source/web/WebSharedWorkerImpl.cpp RefPtr<MessagePort> port = MessagePort::create(*context); context 312 Source/web/WebSharedWorkerImpl.cpp WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); context 333 Source/web/WebSharedWorkerImpl.cpp static void connectToWorkerContextInspectorTask(ExecutionContext* context, bool) context 335 Source/web/WebSharedWorkerImpl.cpp toWorkerGlobalScope(context)->workerInspectorController()->connectFrontend(); context 382 Source/web/WebSharedWorkerImpl.cpp static void resumeWorkerContextTask(ExecutionContext* context, bool) context 384 Source/web/WebSharedWorkerImpl.cpp toWorkerGlobalScope(context)->workerInspectorController()->resume(); context 402 Source/web/WebSharedWorkerImpl.cpp static void reconnectToWorkerContextInspectorTask(ExecutionContext* context, const String& savedState) context 404 Source/web/WebSharedWorkerImpl.cpp WorkerInspectorController* ic = toWorkerGlobalScope(context)->workerInspectorController(); context 414 Source/web/WebSharedWorkerImpl.cpp static void disconnectFromWorkerContextInspectorTask(ExecutionContext* context, bool) context 416 Source/web/WebSharedWorkerImpl.cpp toWorkerGlobalScope(context)->workerInspectorController()->disconnectFrontend(); context 425 Source/web/WebSharedWorkerImpl.cpp static void dispatchOnInspectorBackendTask(ExecutionContext* context, const String& message) context 427 Source/web/WebSharedWorkerImpl.cpp toWorkerGlobalScope(context)->workerInspectorController()->dispatchMessageFromFrontend(message); context 2221 Source/web/WebViewImpl.cpp if (InputMethodContext* context = inputMethodContext()) context 2222 Source/web/WebViewImpl.cpp context->dispatchCandidateWindowShowEvent(); context 2227 Source/web/WebViewImpl.cpp if (InputMethodContext* context = inputMethodContext()) context 2228 Source/web/WebViewImpl.cpp context->dispatchCandidateWindowUpdateEvent(); context 2233 Source/web/WebViewImpl.cpp if (InputMethodContext* context = inputMethodContext()) context 2234 Source/web/WebViewImpl.cpp context->dispatchCandidateWindowHideEvent(); context 89 Source/web/WorkerPermissionClient.cpp WorkerPermissionClient* WorkerPermissionClient::from(ExecutionContext& context) context 91 Source/web/WorkerPermissionClient.cpp WorkerClients* clients = toWorkerGlobalScope(context).clients(); context 63 Source/web/tests/CustomEventTest.cpp virtual void handleEvent(ExecutionContext* context, Event* event) context 67 Source/web/tests/CustomEventTest.cpp v8::Local<v8::Context> v8Context = WebCore::toV8Context(context, DOMWrapperWorld::mainWorld()); context 2119 Source/web/tests/WebFrameTest.cpp WebCore::GraphicsContext context(&canvas); context 2120 Source/web/tests/WebFrameTest.cpp context.setTrackOpaqueRegion(true); context 2122 Source/web/tests/WebFrameTest.cpp EXPECT_EQ_RECT(WebCore::IntRect(0, 0, 0, 0), context.opaqueRegion().asRect()); context 2126 Source/web/tests/WebFrameTest.cpp view->paint(&context, paintRect); context 2131 Source/web/tests/WebFrameTest.cpp EXPECT_EQ_RECT(clippedRect, context.opaqueRegion().asRect()); context 2806 Source/web/tests/WebFrameTest.cpp Notification(WebLocalFrame* frame, v8::Handle<v8::Context> context, int worldId) context 2808 Source/web/tests/WebFrameTest.cpp , context(context->GetIsolate(), context) context 2815 Source/web/tests/WebFrameTest.cpp context.Reset(); context 2820 Source/web/tests/WebFrameTest.cpp return other && frame == other->frame && context == other->context && worldId == other->worldId; context 2824 Source/web/tests/WebFrameTest.cpp v8::Persistent<v8::Context> context; context 2849 Source/web/tests/WebFrameTest.cpp virtual void didCreateScriptContext(WebLocalFrame* frame, v8::Handle<v8::Context> context, int extensionGroup, int worldId) OVERRIDE context 2851 Source/web/tests/WebFrameTest.cpp createNotifications.push_back(new Notification(frame, context, worldId)); context 2854 Source/web/tests/WebFrameTest.cpp virtual void willReleaseScriptContext(WebLocalFrame* frame, v8::Handle<v8::Context> context, int worldId) OVERRIDE context 2856 Source/web/tests/WebFrameTest.cpp releaseNotifications.push_back(new Notification(frame, context, worldId)); context 2883 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(mainFrame->mainWorldScriptContext(), firstCreateNotification->context); context 2887 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(childFrame->mainWorldScriptContext(), secondCreateNotification->context); context 2931 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(mainFrame->mainWorldScriptContext(), firstRefreshNotification->context); context 2935 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(childFrame->mainWorldScriptContext(), secondRefreshNotification->context); context 2967 Source/web/tests/WebFrameTest.cpp ASSERT_NE(webViewHelper.webView()->mainFrame()->mainWorldScriptContext(), v8::Local<v8::Context>::New(isolate, notification->context)); context 3123 Source/web/tests/WebFrameTest.cpp virtual void didCreateScriptContext(WebLocalFrame* frame, v8::Handle<v8::Context> context, int extensionGroup, int worldId) OVERRIDE context 54 Source/wtf/MainThread.cpp void callOnMainThread(MainThreadFunction* function, void* context) context 56 Source/wtf/MainThread.cpp (*callOnMainThreadFunction)(function, context); context 59 Source/wtf/MainThread.cpp static void callFunctionObject(void* context) context 61 Source/wtf/MainThread.cpp Function<void()>* function = static_cast<Function<void()>*>(context); context 45 Source/wtf/MainThread.h WTF_EXPORT void callOnMainThread(MainThreadFunction*, void* context); context 54 Source/wtf/Threading.cpp NewThreadContext* context = reinterpret_cast<NewThreadContext*>(contextData); context 59 Source/wtf/Threading.cpp MutexLocker locker(context->creationMutex); context 62 Source/wtf/Threading.cpp initializeCurrentThreadInternal(context->name); context 65 Source/wtf/Threading.cpp ThreadFunction entryPoint = context->entryPoint; context 66 Source/wtf/Threading.cpp void* data = context->data; context 67 Source/wtf/Threading.cpp delete context; context 81 Source/wtf/Threading.cpp NewThreadContext* context = new NewThreadContext(entryPoint, data, name); context 84 Source/wtf/Threading.cpp MutexLocker locker(context->creationMutex); context 86 Source/wtf/Threading.cpp return createThreadInternal(threadEntryPoint, context, name); context 115 Source/wtf/text/StringImplCF.cpp CFAllocatorContext context = { 0, 0, retain, release, copyDescription, allocate, reallocate, deallocate, preferredSize }; context 116 Source/wtf/text/StringImplCF.cpp return CFAllocatorCreate(0, &context); context 398 Source/wtf/text/TextCodecICU.cpp static void urlEscapedEntityCallback(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, context 408 Source/wtf/text/TextCodecICU.cpp UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err); context 412 Source/wtf/text/TextCodecICU.cpp static void gbkCallbackEscape(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, context 422 Source/wtf/text/TextCodecICU.cpp UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err); context 426 Source/wtf/text/TextCodecICU.cpp static void gbkUrlEscapedEntityCallack(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, context 436 Source/wtf/text/TextCodecICU.cpp urlEscapedEntityCallback(context, fromUArgs, codeUnits, length, codePoint, reason, err); context 439 Source/wtf/text/TextCodecICU.cpp UCNV_FROM_U_CALLBACK_ESCAPE(context, fromUArgs, codeUnits, length, codePoint, reason, err); context 442 Source/wtf/text/TextCodecICU.cpp static void gbkCallbackSubstitute(const void* context, UConverterFromUnicodeArgs* fromUArgs, const UChar* codeUnits, int32_t length, context 452 Source/wtf/text/TextCodecICU.cpp UCNV_FROM_U_CALLBACK_SUBSTITUTE(context, fromUArgs, codeUnits, length, codePoint, reason, err); context 432 public/platform/Platform.h virtual void callOnMainThread(void (*func)(void*), void* context) { } context 40 public/platform/WebExternalTextureLayerClient.h virtual WebGraphicsContext3D* context() = 0;