Searched refs:context_ (Results 1 - 25 of 492) sorted by relevance

1234567891011>>

/external/chromium_org/content/renderer/
H A Dscoped_clipboard_writer_glue.cc12 context_(client->CreateWriteContext()) {
13 DCHECK(context_);
17 if (!objects_.empty() && context_) {
18 context_->Flush(objects_);
28 if (context_) {
29 context_->WriteBitmapFromPixels(&objects_, pixels, size);
/external/chromium_org/mojo/services/view_manager/
H A Dview_manager_init_service_impl.cc18 : context_(context) {
19 context_->AddConnection(this);
23 context_->RemoveConnection(this);
30 context_->Embed(url, service_provider.Pass(), callback);
/external/chromium_org/ui/gfx/
H A Dscoped_cg_context_save_gstate_mac.h14 explicit ScopedCGContextSaveGState(CGContextRef context) : context_(context) {
15 CGContextSaveGState(context_);
19 CGContextRestoreGState(context_);
23 CGContextRef context_; member in class:gfx::ScopedCGContextSaveGState
/external/chromium_org/content/common/gpu/client/
H A Dgpu_in_process_context_tests.cc25 context_ = WGC3DIPCBI::CreateOffscreenContext(
27 context_->InitializeOnCurrentThread();
28 context_support_ = context_->GetContextSupport();
32 context_.reset(NULL);
36 scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context_; member in class:__anon7581::ContextTestBase
H A Dgpu_context_tests.h43 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/
H A Dblob_storage_host.cc19 : 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_
[all...]
/external/chromium_org/mojo/cc/
H A Dcontext_provider_mojo.cc20 context_ = MojoGLES2CreateContext(command_buffer_handle_.release().value(),
24 return !!context_;
28 if (!context_)
31 MojoGLES2GetGLES2Interface(context_));
35 if (!context_)
38 MojoGLES2GetContextSupport(context_));
50 bool ContextProviderMojo::DestroyedOnMainThread() { return !context_; }
53 if (context_)
54 MojoGLES2DestroyContext(context_);
/external/chromium_org/base/
H A Dasync_socket_io_handler_win.cc11 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_
[all...]
/external/chromium_org/components/policy/core/common/cloud/
H A Dsystem_policy_request_context.cc29 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_
[all...]
/external/chromium_org/net/url_request/
H A Durl_request_context_storage.cc29 : context_(context) {
36 context_->set_net_log(net_log);
42 context_->set_host_resolver(host_resolver.get());
47 context_->set_cert_verifier(cert_verifier);
53 context_->set_channel_id_service(channel_id_service);
59 context_->set_fraudulent_certificate_reporter(
66 context_->set_http_auth_handler_factory(http_auth_handler_factory);
71 context_->set_proxy_service(proxy_service);
77 context_->set_ssl_config_service(ssl_config_service);
83 context_
[all...]
/external/chromium_org/ui/gl/
H A Dgl_context_osmesa.cc18 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...]
H A Dgl_context_wgl.cc19 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/content/browser/dom_storage/
H A Ddom_storage_context_wrapper.cc69 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_, origi
[all...]
H A Ddom_storage_context_impl_unittest.cc48 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_
[all...]
/external/chromium_org/storage/browser/fileapi/quota/
H A Dopen_file_handle.cc19 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/
H A Dcloud_print_url_request_context_getter.cc22 if (!context_) {
28 context_.reset(builder.Build());
30 return context_.get();
/external/chromium_org/mojo/examples/aura_demo/
H A Dview_manager_init.cc25 context_.reset(new mojo::ViewManagerContext(app));
26 context_->Embed("mojo:mojo_aura_demo");
30 scoped_ptr<mojo::ViewManagerContext> context_; member in class:examples::ViewManagerInit
/external/chromium_org/mojo/examples/demo_launcher/
H A Ddemo_launcher.cc27 context_.reset(new mojo::ViewManagerContext(app));
28 context_->Embed("mojo:mojo_window_manager");
31 scoped_ptr<mojo::ViewManagerContext> context_; member in class:examples::DemoLauncher
/external/chromium_org/mojo/examples/wm_flow/init/
H A Dinit.cc28 context_.reset(new mojo::ViewManagerContext(app));
29 context_->Embed("mojo:mojo_wm_flow_wm");
33 scoped_ptr<mojo::ViewManagerContext> context_; member in class:examples::WMFlowInit
/external/chromium_org/mojo/services/test_service/
H A Dtest_request_tracker_impl.cc15 : context_(context), weak_factory_(this) {
24 assert(context_->ids_to_names.find(client_id) !=
25 context_->ids_to_names.end());
26 context_->records[client_id].push_back(*stats);
30 uint64_t id = context_->next_id++;
39 DCHECK(context_->ids_to_names.find(id) == context_->ids_to_names.end());
40 context_->ids_to_names[id] = name;
45 : context_(context) {
54 for (AllRecordsMap::const_iterator it1 = context_
[all...]
/external/chromium_org/sync/test/sessions/
H A Dtest_scoped_session_event_listener.h20 : context_(context), listener_(listener) {
24 context_->listeners_.RemoveObserver(listener_);
27 SyncSessionContext* context_; member in class:syncer::sessions::TestScopedSessionEventListener
/external/chromium_org/mojo/services/network/
H A Dnetwork_service_impl.cc16 : context_(context),
25 BindToRequest(new URLLoaderImpl(context_), &loader);
29 BindToRequest(new CookieStoreImpl(context_, origin_), &store);
33 BindToRequest(new WebSocketImpl(context_), &socket);
/external/chromium_org/mojo/shell/
H A Dshell_test_helper.cc27 context_.Init();
29 new ApplicationManager::TestAPI(context_.application_manager()));
32 context_.mojo_url_resolver()->SetBaseURL(
38 context_.application_manager()->SetLoaderForURL(loader.Pass(), url);
/external/chromium_org/net/base/
H A Dfile_stream.cc13 : context_(new Context(task_runner)) {
18 : context_(new Context(file.Pass(), task_runner)) {
22 context_.release()->Orphan();
33 context_->Open(path, open_flags, callback);
38 context_->Close(callback);
43 return context_->file().IsValid();
52 context_->Seek(whence, offset, callback);
65 return context_->Read(buf, buf_len, callback);
75 return context_->Write(buf, buf_len, callback);
82 context_
[all...]
/external/chromium_org/gin/
H A Dcontext_holder.cc22 DCHECK(context_.IsEmpty());
23 context_.Reset(isolate_, context);

Completed in 581 milliseconds

1234567891011>>