示例#1
0
        /// <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);
            }
        }
示例#2
0
 /// <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)
 {
 }
示例#3
0
 /// <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)
 {
 }