Home
last modified time | relevance | path

Searched refs:GetWeakPtr (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/flutter/engine/flutter/fml/memory/
Dweak_ptr_unittest.cc17 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
24 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
33 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
42 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
53 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST()
67 ptr = factory.GetWeakPtr(); in TEST()
78 ptr = factory.GetWeakPtr(); in TEST()
89 a = factory.GetWeakPtr(); in TEST()
90 b = factory.GetWeakPtr(); in TEST()
103 a = factory.GetWeakPtr(); in TEST()
[all …]
/third_party/flutter/engine/flutter/shell/common/
Dace_shell.cc71 if (!platform_view || !platform_view->GetWeakPtr()) { in CreateShellOnPlatformThread()
132 io_manager = io_manager->GetWeakPtr(), // in CreateShellOnPlatformThread()
320 [rasterizer = rasterizer_->GetWeakPtr()]() { in NotifyLowMemoryWarning()
391 weak_engine_ = engine_->GetWeakPtr(); in Setup()
392 weak_rasterizer_ = rasterizer_->GetWeakPtr(); in Setup()
393 weak_platform_view_ = platform_view_->GetWeakPtr(); in Setup()
440 rasterizer = rasterizer_->GetWeakPtr(), // in OnPlatformViewCreated()
466 auto ui_task = [engine = engine_->GetWeakPtr()] { in OnPlatformViewCreated()
480 auto io_task = [io_manager = io_manager_->GetWeakPtr(), platform_view, in OnPlatformViewCreated()
535 auto gpu_task = [rasterizer = rasterizer_->GetWeakPtr(), in OnPlatformViewDestroyed()
[all …]
Dshell.cc53 if (!platform_view || !platform_view->GetWeakPtr()) { in CreateShellOnPlatformThread()
114 io_manager = io_manager->GetWeakPtr() // in CreateShellOnPlatformThread()
363 [rasterizer = rasterizer_->GetWeakPtr()]() { in NotifyLowMemoryWarning()
468 weak_engine_ = engine_->GetWeakPtr(); in Setup()
469 weak_rasterizer_ = rasterizer_->GetWeakPtr(); in Setup()
470 weak_platform_view_ = platform_view_->GetWeakPtr(); in Setup()
529 rasterizer = rasterizer_->GetWeakPtr(), // in OnPlatformViewCreated()
555 auto ui_task = [engine = engine_->GetWeakPtr(), // in OnPlatformViewCreated()
582 auto io_task = [io_manager = io_manager_->GetWeakPtr(), platform_view, in OnPlatformViewCreated()
626 auto gpu_task = [rasterizer = rasterizer_->GetWeakPtr(), in OnPlatformViewDestroyed()
[all …]
Dshell_io_manager.cc90 fml::WeakPtr<ShellIOManager> ShellIOManager::GetWeakPtr() { in GetWeakPtr() function in flutter::ShellIOManager
91 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
97 ? resource_context_weak_factory_->GetWeakPtr() in GetResourceContext()
108 return weak_factory_.GetWeakPtr(); in GetWeakIOManager()
Danimator.cc74 [self = weak_factory_.GetWeakPtr(), trace_flow_id] { in EnqueueTraceFlowId()
146 [self = weak_factory_.GetWeakPtr(), in BeginFrame()
213 task_runners_.GetUITaskRunner()->PostTask([self = weak_factory_.GetWeakPtr(), in RequestFrame()
226 [self = weak_factory_.GetWeakPtr()](fml::TimePoint frame_start_time, in AwaitVSync()
Dace_platform_view.cc83 fml::WeakPtr<PlatformView> PlatformView::GetWeakPtr() const { in GetWeakPtr() function in flutter::PlatformView
84 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
Dplatform_view.cc91 fml::WeakPtr<PlatformView> PlatformView::GetWeakPtr() const { in GetWeakPtr() function in flutter::PlatformView
92 return weak_factory_.GetWeakPtr(); in GetWeakPtr()
Dshell_io_manager.h43 fml::WeakPtr<ShellIOManager> GetWeakPtr();
/third_party/cef/patch/patches/
Dprint_preview_123.patch76 weak_ptr_factory_.GetWeakPtr(), std::move(callback));
81 - std::move(job_settings), weak_ptr_factory_.GetWeakPtr()));
82 + std::move(job_settings), weak_ptr_factory_.GetWeakPtr(),
167 - weak_ptr_factory_.GetWeakPtr(),
168 + weak_ptr_factory_.GetWeakPtr(), initiator,
199 + weak_ptr_factory_.GetWeakPtr(),
204 + weak_ptr_factory_.GetWeakPtr(), initiator,
217 - weak_ptr_factory_.GetWeakPtr(), default_filename));
241 + weak_ptr_factory_.GetWeakPtr()));
/third_party/cef/libcef/browser/devtools/
Ddevtools_file_manager.cc57 weak_factory_.GetWeakPtr(), url), in SaveToFile()
59 weak_factory_.GetWeakPtr(), url)); in SaveToFile()
66 weak_factory_.GetWeakPtr(), url)); in AppendToFile()
121 weak_factory_.GetWeakPtr(), url, content, in Save()
Ddevtools_controller.h60 base::WeakPtr<CefDevToolsController> GetWeakPtr() { in GetWeakPtr() function
61 return weak_ptr_factory_.GetWeakPtr(); in GetWeakPtr()
Ddevtools_manager.cc129 weak_ptr_factory_.GetWeakPtr())); in ShowDevTools()
196 ->Initialize(inspected_browser_, devtools_controller_->GetWeakPtr()); in InitializeRegistrationOnUIThread()
/third_party/cef/include/base/
Dcef_cancelable_callback.h141 *out = BindRepeating(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
148 *out = BindOnce(forwarder, weak_ptr_factory_.GetWeakPtr()); in MakeForwarder()
/third_party/cef/libcef/browser/net_service/
Dproxy_url_loader_factory.cc127 &ResourceContextData::RemoveProxy, self->weak_factory_.GetWeakPtr())); in AddProxy()
158 &CorsPreflightRequest::OnDestroy, weak_factory_.GetWeakPtr())); in CorsPreflightRequest()
477 weak_factory_.GetWeakPtr(), original_url), in Restart()
479 weak_factory_.GetWeakPtr())); in Restart()
550 weak_factory_.GetWeakPtr())); in OnHeadersReceived()
577 weak_factory_.GetWeakPtr())); in OnReceiveResponse()
624 weak_factory_.GetWeakPtr(), new_redirect_info)); in OnReceiveRedirect()
639 weak_factory_.GetWeakPtr())); in OnUploadProgress()
736 weak_factory_.GetWeakPtr(), original_url)); in BeforeRequestReceived()
781 weak_factory_.GetWeakPtr(), redirect_info)); in InterceptResponseReceived()
[all …]
Dbrowser_urlrequest_impl.cc159 frame_, request_context_, weak_ptr_factory_.GetWeakPtr(), in Start()
381 weak_ptr_factory_.GetWeakPtr())); in ContinueOnOriginatingThread()
387 weak_ptr_factory_.GetWeakPtr())); in ContinueOnOriginatingThread()
394 weak_ptr_factory_.GetWeakPtr())); in ContinueOnOriginatingThread()
398 weak_ptr_factory_.GetWeakPtr())); in ContinueOnOriginatingThread()
401 weak_ptr_factory_.GetWeakPtr())); in ContinueOnOriginatingThread()
Dstream_reader_url_loader.cc485 weak_factory_.GetWeakPtr(), net::ERR_ABORTED)); in StreamReaderURLLoader()
511 weak_factory_.GetWeakPtr())); in Start()
538 weak_factory_.GetWeakPtr())); in ContinueWithRequestHeaders()
586 weak_factory_.GetWeakPtr())); in OnInputStreamOpened()
652 weak_factory_.GetWeakPtr(), in HeadersComplete()
770 weak_factory_.GetWeakPtr())); in ReadMore()
806 weak_factory_.GetWeakPtr())); in OnReaderReadCompleted()
Dlogin_delegate.cc131 weak_ptr_factory_.GetWeakPtr(), browser, in LoginDelegate()
162 new AuthCallbackImpl(weak_ptr_factory_.GetWeakPtr()); in Start()
Dresource_request_handler_wrapper.cc399 weak_ptr_factory_.GetWeakPtr()); in SetInitialized()
498 weak_ptr_factory_.GetWeakPtr())); in OnBeforeRequest()
584 weak_ptr_factory_.GetWeakPtr(), request_id) in MaybeLoadCookies()
589 weak_ptr_factory_.GetWeakPtr(), request_id, request, in MaybeLoadCookies()
683 weak_ptr_factory_.GetWeakPtr(), request_id, in ShouldInterceptRequest()
963 weak_ptr_factory_.GetWeakPtr(), request_id) in MaybeSaveCookies()
968 weak_ptr_factory_.GetWeakPtr(), request_id, std::move(callback)); in MaybeSaveCookies()
1025 weak_ptr_factory_.GetWeakPtr(), request_id)); in OnFilterResponseBody()
/third_party/cef/libcef/browser/
Dtrace_subscriber.cc112 weak_factory_.GetWeakPtr(), callback))); in EndTracing()
118 weak_factory_.GetWeakPtr(), callback, tracing_file); in EndTracing()
Dfile_dialog_manager.cc216 weak_ptr_factory_.GetWeakPtr(), params.mode, listener); in RunFileChooser()
220 weak_ptr_factory_.GetWeakPtr(), params.mode, listener); in RunFileChooser()
231 weak_ptr_factory_.GetWeakPtr(), std::move(callback)); in RunFileChooser()
338 weak_ptr_factory_.GetWeakPtr(), mode, listener)))); in OnRunFileChooserUploadFolderDelegateCallback()
Djavascript_dialog_manager.cc138 weak_ptr_factory_.GetWeakPtr(), std::move(callback))); in RunJavaScriptDialog()
194 weak_ptr_factory_.GetWeakPtr(), std::move(callback))); in RunBeforeUnloadDialog()
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dengine.cc95 weak = weak_factory_.GetWeakPtr()]() { in Engine()
138 weak = weak_factory_.GetWeakPtr()]() { in Engine()
195 std::bind([weak = weak_factory_.GetWeakPtr(), in Engine()
253 auto on_run_failure = [weak = weak_factory_.GetWeakPtr()]() { in Engine()
/third_party/cef/libcef/browser/media_router/
Dmedia_router_manager.cc102 manager_->weak_ptr_factory_.GetWeakPtr(), route_, in DidChangeState()
189 weak_ptr_factory_.GetWeakPtr(), std::move(callback)), in CreateRoute()
277 weak_ptr_factory_.GetWeakPtr(), route)); in CreateRouteState()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dimage_decoder.h60 fml::WeakPtr<ImageDecoder> GetWeakPtr() const;
/third_party/flutter/engine/flutter/shell/gpu/
Dgpu_surface_vulkan.cc33 [weak_this = weak_factory_.GetWeakPtr()](const SurfaceFrame&, in AcquireFrame()

1234