From 352467dbdc21c25c3657db9d337fd321a5e6ef41 Mon Sep 17 00:00:00 2001 From: Per Lundberg Date: Sun, 27 Oct 2013 10:53:59 +0200 Subject: [PATCH] Changed the name of the custom scheme to "custom" again, in an attempt to put something useful in the "host" portion of the URI. --- CefSharp.Example/CefSharpSchemeHandlerFactory.cs | 2 +- CefSharp.Example/ExamplePresenter.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CefSharp.Example/CefSharpSchemeHandlerFactory.cs b/CefSharp.Example/CefSharpSchemeHandlerFactory.cs index b76e43781..912124728 100644 --- a/CefSharp.Example/CefSharpSchemeHandlerFactory.cs +++ b/CefSharp.Example/CefSharpSchemeHandlerFactory.cs @@ -2,7 +2,7 @@ namespace CefSharp.Example { internal class CefSharpSchemeHandlerFactory : ISchemeHandlerFactory { - public const string SchemeName = "cefsharp"; + public const string SchemeName = "custom"; public ISchemeHandler Create() { diff --git a/CefSharp.Example/ExamplePresenter.cs b/CefSharp.Example/ExamplePresenter.cs index 98a72398c..5aa80d6d5 100644 --- a/CefSharp.Example/ExamplePresenter.cs +++ b/CefSharp.Example/ExamplePresenter.cs @@ -35,7 +35,7 @@ namespace CefSharp.Example Cef.RegisterJsObject("bound", new BoundObject()); } - public static string DefaultUrl = "cefsharp://home"; + public static string DefaultUrl = "custom://cefsharp/home"; // private static readonly Uri resource_url = new Uri("http://test/resource/load"); // private static readonly Uri scheme_url = new Uri("test://test/SchemeTest.html"); // private static readonly Uri bind_url = new Uri("test://test/BindingTest.html");