Home
last modified time | relevance | path

Searched refs:WrapUnique (Results 1 – 25 of 46) sorted by relevance

12

/third_party/cef/libcef/browser/extensions/
Dextensions_api_client.cc41 return base::WrapUnique( in CreateGuestViewManagerDelegate()
48 return base::WrapUnique(new CefMimeHandlerViewGuestDelegate(guest)); in CreateMimeHandlerViewGuestDelegate()
/third_party/node/tools/inspector_protocol/lib/
Dbase_string_adapter_cc.template88 return base::WrapUnique(new base::Value(inner));
93 return base::WrapUnique(new base::Value(inner));
98 return base::WrapUnique(new base::Value(inner));
103 return base::WrapUnique(new base::Value(inner));
/third_party/gn/src/base/memory/
Dptr_util.h17 std::unique_ptr<T> WrapUnique(T* ptr) { in WrapUnique() function
/third_party/cef/include/base/
Dcef_ptr_util.h52 std::unique_ptr<T> WrapUnique(T* ptr) { in WrapUnique() function
/third_party/cef/libcef/browser/printing/
Dconstrained_window_views_client.cc45 return base::WrapUnique(new CefConstrainedWindowViewsClient); in CreateCefConstrainedWindowViewsClient()
Dprint_view_manager.cc339 base::WrapUnique(new CefPrintViewManager(contents))); in CreateForWebContents()
/third_party/cef/libcef/browser/net/
Ddevtools_scheme_handler.cc46 CreateInternalHandlerFactory(base::WrapUnique(new Delegate()))); in RegisterChromeDevToolsHandler()
/third_party/cef/libcef/browser/views/
Dlayout_impl.h60 owner_view->SetLayoutManager(base::WrapUnique(layout_ref_)); in Initialize()
Dlayout_util.cc42 base::WrapUnique(new UserData(cef_layout))); in Assign()
Dbrowser_platform_delegate_views.cc272 return base::WrapUnique(new CefMenuRunnerViews(browser_view_.get())); in CreateMenuRunner()
Dview_util.cc47 view->SetUserData(UserDataKey(), base::WrapUnique(new UserData(cef_view))); in Register()
Doverlay_view_host.cc181 ? base::WrapUnique(view_util::GetFor(view)) in Init()
/third_party/cef/libcef/renderer/alloy/
Durl_loader_throttle_provider_impl.cc39 return base::WrapUnique(new CefURLLoaderThrottleProviderImpl(*this)); in Clone()
/third_party/cef/libcef/common/
Dprocess_message_impl.cc44 auto value = base::WrapUnique(value_impl->CopyOrDetachValue(nullptr)); in TakeArgumentList()
/third_party/cef/libcef/browser/native/
Dbrowser_platform_delegate_native_win.cc438 return base::WrapUnique(new CefFileDialogRunnerWin); in CreateFileDialogRunner()
443 return base::WrapUnique(new CefJavaScriptDialogRunnerWin); in CreateJavaScriptDialogRunner()
448 return base::WrapUnique(new CefMenuRunnerWin); in CreateMenuRunner()
Dbrowser_platform_delegate_native_mac.mm368 return base::WrapUnique(new CefFileDialogRunnerMac);
373 return base::WrapUnique(new CefJavaScriptDialogRunnerMac);
378 return base::WrapUnique(new CefMenuRunnerMac);
Dbrowser_platform_delegate_native_linux.cc262 return base::WrapUnique(new CefMenuRunnerLinux); in CreateMenuRunner()
/third_party/cef/libcef/browser/alloy/
Dalloy_browser_context.cc257 extension_system()->LoadExtension(base::WrapUnique(value_impl->CopyValue()), in LoadExtension()
337 return base::WrapUnique(new ChromeZoomLevelPrefs( in CreateZoomLevelDelegate()
/third_party/cef/libcef/browser/
Dprint_settings_impl.cc155 return base::WrapUnique(Detach(nullptr)); in TakeOwnership()
Dbrowser_info_manager.cc452 return base::WrapUnique(popup); in PopPendingPopup()
511 auto extra_info_value = base::WrapUnique(extra_info_impl->CopyValue()); in SendNewBrowserInfoResponse()
/third_party/cef/libcef/browser/prefs/
Drenderer_prefs.cc175 prefs->SetValue(key, base::WrapUnique(new base::Value(value)), in SetString()
180 prefs->SetValue(key, base::WrapUnique(new base::Value(value)), in SetBool()
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory_test.cc55 TEST(WrapUniqueTest, WrapUnique) { in TEST() argument
61 std::unique_ptr<DestructorVerifier> ptr = absl::WrapUnique(dv); in TEST()
/third_party/abseil-cpp/absl/memory/
Dmemory_test.cc55 TEST(WrapUniqueTest, WrapUnique) { in TEST() argument
61 std::unique_ptr<DestructorVerifier> ptr = absl::WrapUnique(dv); in TEST()
/third_party/cef/libcef/browser/net_service/
Dproxy_url_loader_factory.cc123 base::WrapUnique(self)); in AddProxy()
128 self->proxies_.emplace(base::WrapUnique(proxy)); in AddProxy()
1348 requests_.insert(std::make_pair(request_id, base::WrapUnique(req))); in CreateLoaderAndStart()
/third_party/cef/libcef/browser/chrome/
Dchrome_content_browser_client_cef.cc88 base::WrapUnique<ChromeBrowserMainExtraParts>(browser_main_parts_)); in CreateBrowserMainParts()

12