/external/chromium_org/mojo/cc/ |
context_provider_mojo.cc | 17 context_ = MojoGLES2CreateContext( 22 return !!context_; 26 if (!context_) 29 MojoGLES2GetGLES2Interface(context_)); 33 if (!context_) 36 MojoGLES2GetContextSupport(context_)); 45 bool ContextProviderMojo::IsContextLost() { return !context_; } 46 bool ContextProviderMojo::DestroyedOnMainThread() { return !context_; } 49 if (context_) 50 MojoGLES2DestroyContext(context_); [all...] |
/external/chromium_org/chrome/renderer/extensions/ |
messaging_utils_unittest.cc | 38 context_->module_system()); 42 context_->module_system()->Require("test"); 47 context_->module_system()); 51 context_->module_system()->Require("test"); 56 context_->module_system()); 61 context_->module_system()->Require("test"); 66 context_->module_system()); 71 context_->module_system()->Require("test"); 76 context_->module_system()); 81 context_->module_system()->Require("test") [all...] |
safe_builtins_unittest.cc | 15 context_->module_system()); 21 context_->module_system()->Require("test"); 26 context_->module_system()); 35 context_->module_system()->Require("test"); 40 context_->module_system()); 49 context_->module_system()->Require("test"); 54 context_->module_system()); 63 context_->module_system()->Require("test");
|
event_unittest.cc | 83 context_->module_system()); 97 context_->module_system()->Require("test"); 102 context_->module_system()); 114 context_->module_system()->Require("test"); 119 context_->module_system()); 130 context_->module_system()->Require("test"); 135 context_->module_system()); 147 context_->module_system()->Require("test"); 152 context_->module_system()); 162 context_->module_system()->Require("test") [all...] |
module_system_unittest.cc | 54 context_->module_system()); 58 context_->module_system()->SetExceptionHandlerForTest(scoped_handler.Pass()); 61 context_->module_system()->Require("test"); 69 context_->module_system()); 74 context_->module_system()->Require("test"); 79 context_->module_system()); 87 context_->module_system()->Require("test"); 92 context_->module_system()); 107 context_->module_system()->Require("test"); 121 context_->module_system()->Require("test") [all...] |
/external/chromium_org/ui/gfx/ |
scoped_cg_context_save_gstate_mac.h | 14 explicit ScopedCGContextSaveGState(CGContextRef context) : context_(context) { 15 CGContextSaveGState(context_); 19 CGContextRestoreGState(context_); 23 CGContextRef context_; member in class:gfx::ScopedCGContextSaveGState
|
scoped_ns_graphics_context_save_gstate_mac.h | 26 NSGraphicsContext* context_; // weak member in class:gfx::ScopedNSGraphicsContextSaveGState
|
/external/chromium_org/content/renderer/ |
scoped_clipboard_writer_glue.cc | 13 context_(client->CreateWriteContext()) { 15 DCHECK((clipboard_ && !context_.get()) || 16 (!clipboard_ && context_.get())); 20 if (!objects_.empty() && context_) { 21 context_->Flush(objects_); 27 if (context_) { 28 context_->WriteBitmapFromPixels(&objects_, pixels, size);
|
/external/chromium_org/content/common/gpu/client/ |
gpu_in_process_context_tests.cc | 25 context_ = WGC3DIPCBI::CreateOffscreenContext( 27 context_->makeContextCurrent(); 28 context_support_ = context_->GetContextSupport(); 32 context_.reset(NULL); 36 scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context_; member in class:__anon11847::ContextTestBase
|
gpu_context_tests.h | 43 if (!context_) 46 TestSignalSyncPoint(context_->insertSyncPoint()); 50 if (!context_) 59 if (!context_) 62 unsigned query = context_->createQueryEXT(); 63 context_->beginQueryEXT(GL_COMMANDS_ISSUED_CHROMIUM, query); 64 context_->finish(); 65 context_->endQueryEXT(GL_COMMANDS_ISSUED_CHROMIUM); 67 context_->deleteQueryEXT(query); 71 if (!context_) [all...] |
/external/chromium_org/content/browser/fileapi/ |
blob_storage_host.cc | 19 : context_(context->AsWeakPtr()) { 23 if (!context_.get()) 27 context_->RevokePublicBlobURL(*iter); 32 context_->DecrementBlobRefCount(iter->first); 37 if (!context_.get() || uuid.empty() || context_->IsInUse(uuid)) 39 context_->StartBuildingBlob(uuid); 46 if (!context_.get() || !IsBeingBuiltInHost(uuid)) 48 context_->AppendBlobDataItem(uuid, data_item); 53 if (!context_.get() || !IsBeingBuiltInHost(uuid) [all...] |
/external/chromium_org/mojo/shell/ |
keep_alive.cc | 13 KeepAlive::KeepAlive(Context* context) : context_(context) { 14 DCHECK(context_->task_runners()->ui_runner()->RunsTasksOnCurrentThread()); 15 ++context_->keep_alive_counter()->count_; 19 DCHECK(context_->task_runners()->ui_runner()->RunsTasksOnCurrentThread()); 20 if (--context_->keep_alive_counter()->count_ == 0) { 23 base::Bind(&KeepAlive::MaybeQuit, context_));
|
/external/chromium_org/mojo/services/network/ |
network_service_impl.cc | 12 : context_(context) { 20 BindToRequest(new URLLoaderImpl(context_), &loader);
|
/external/chromium_org/sync/test/sessions/ |
test_scoped_session_event_listener.h | 20 : context_(context), listener_(listener) { 24 context_->listeners_.RemoveObserver(listener_); 27 SyncSessionContext* context_; member in class:syncer::sessions::TestScopedSessionEventListener
|
/external/chromium_org/base/ |
async_socket_io_handler_win.cc | 11 context_(NULL), 19 if (context_) { 22 context_->handler = NULL; 24 delete context_; 35 DCHECK_EQ(context_, context); 49 &context_->overlapped); 60 DCHECK(!context_); 70 context_ = new base::MessageLoopForIO::IOContext(); 71 context_->handler = this; 72 memset(&context_->overlapped, 0, sizeof(context_->overlapped)) [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
system_policy_request_context.cc | 29 if (!context_.get()) { 31 context_.reset(new net::URLRequestContext()); 40 context_->set_net_log(system_context->net_log()); 41 context_->set_host_resolver(system_context->host_resolver()); 42 context_->set_proxy_service(system_context->proxy_service()); 43 context_->set_ssl_config_service( 49 context_->set_job_factory(system_context->job_factory()); 52 context_->set_http_user_agent_settings(&http_user_agent_settings_); 57 context_->set_http_transaction_factory(http_transaction_factory_.get()); 61 context_->set_cookie_store(new net::CookieMonster(NULL, NULL)) [all...] |
/external/chromium_org/ui/gl/ |
gl_context_osmesa.cc | 18 context_(NULL) { 23 DCHECK(!context_); 30 context_ = OSMesaCreateContextExt(format, 35 if (!context_) { 44 if (context_) { 45 OSMesaDestroyContext(static_cast<OSMesaContext>(context_)); 46 context_ = NULL; 51 DCHECK(context_); 56 if (!OSMesaMakeCurrent(context_, 96 DCHECK(context_); [all...] |
gl_context_wgl.cc | 19 context_(NULL) { 42 // setting context_. Otherwise this context will be considered initialized 46 context_ = wglCreateContext( 48 if (!context_) { 55 if (!wglShareLists(share_handle, context_)) { 66 if (context_) { 67 wglDeleteContext(context_); 68 context_ = NULL; 73 DCHECK(context_); 80 if (!wglMakeCurrent(static_cast<HDC>(surface->GetHandle()), context_)) { [all...] |
/external/chromium_org/net/url_request/ |
url_request_context_storage.cc | 28 : context_(context) { 35 context_->set_net_log(net_log); 41 context_->set_host_resolver(host_resolver.get()); 46 context_->set_cert_verifier(cert_verifier); 52 context_->set_server_bound_cert_service(server_bound_cert_service); 58 context_->set_fraudulent_certificate_reporter( 65 context_->set_http_auth_handler_factory(http_auth_handler_factory); 70 context_->set_proxy_service(proxy_service); 76 context_->set_ssl_config_service(ssl_config_service); 82 context_->set_network_delegate(network_delegate) [all...] |
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_context_wrapper.cc | 69 context_ = new DOMStorageContextImpl( 88 DCHECK(context_.get()); 89 context_->task_runner() 94 context_, 100 DCHECK(context_.get()); 101 context_->task_runner() 106 context_, 111 DCHECK(context_.get()); 112 context_->task_runner()->PostShutdownBlockingTask( 115 base::Bind(&DOMStorageContextImpl::DeleteLocalStorage, context_, origin)) [all...] |
dom_storage_context_impl_unittest.cc | 48 context_ = new DOMStorageContextImpl(temp_dir_.path(), 74 scoped_refptr<DOMStorageContextImpl> context_; member in class:content::DOMStorageContextImplTest 82 EXPECT_EQ(temp_dir_.path(), context_->localstorage_directory()); 83 EXPECT_EQ(base::FilePath(), context_->sessionstorage_directory()); 84 EXPECT_EQ(storage_policy_.get(), context_->special_storage_policy_.get()); 85 context_->DeleteLocalStorage(GURL("http://chromium.org/")); 87 EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)); 88 EXPECT_FALSE(context_->GetStorageNamespace(kFirstSessionStorageNamespaceId)); 89 EXPECT_EQ(kFirstSessionStorageNamespaceId, context_->AllocateSessionId()); 91 context_->GetLocalStorageUsage(&infos, kDontIncludeFileInfo) [all...] |
/external/chromium_org/webkit/browser/fileapi/quota/ |
open_file_handle.cc | 19 int64 growth = context_->UpdateMaxWrittenOffset(offset); 29 context_->AddAppendModeWriteAmount(amount); 35 return context_->GetEstimatedFileSize(); 40 return context_->GetMaxWrittenOffset(); 45 return context_->platform_path(); 51 context_(context) {
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
cloud_print_url_request_context_getter.cc | 22 if (!context_) { 28 context_.reset(builder.Build()); 30 return context_.get();
|
/external/chromium_org/net/base/ |
file_stream.cc | 13 : context_(new Context(task_runner)) { 18 : context_(new Context(file.Pass(), task_runner)) { 22 context_.release()->Orphan(); 33 context_->OpenAsync(path, open_flags, callback); 38 context_->CloseAsync(callback); 43 return context_->file().IsValid(); 52 context_->SeekAsync(whence, offset, callback); 65 return context_->ReadAsync(buf, buf_len, callback); 77 return context_->WriteAsync(buf, buf_len, callback); 84 context_->FlushAsync(callback) [all...] |
/external/chromium_org/gin/ |
context_holder.cc | 22 DCHECK(context_.IsEmpty()); 23 context_.Reset(isolate_, context);
|