/// <summary> /// Provides an opportunity to register custom schemes. Do not keep a /// reference to the |registrar| object. This function is called on the /// UI thread. /// </summary> private void on_register_custom_schemes(cef_app_t *self, cef_scheme_registrar_t *registrar) { ThrowIfObjectDisposed(); using (var m_registrar = CefSchemeRegistrar.From(registrar)) { this.OnRegisterCustomSchemes(m_registrar); } }
/// <summary> /// Provides an opportunity to register custom schemes. Do not keep a reference /// to the |registrar| object. This method is called on the UI thread. /// </summary> protected virtual void OnRegisterCustomSchemes(CefSchemeRegistrar registrar) { }