SIGN IN SIGN UP
cefsharp / CefSharp UNCLAIMED

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

0 0 0 C#
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net472</TargetFrameworks>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="Extensions\set_page_color\icon.png" />
<Content Include="Extensions\set_page_color\popup.html" />
<Content Include="Extensions\set_page_color\popup.js" />
<Content Include="Resources\assets\css\docs.css" />
<Content Include="Resources\assets\css\shCore.css" />
<Content Include="Resources\assets\css\shCoreDefault.css" />
<Content Include="Resources\assets\js\application.js" />
<Content Include="Resources\assets\js\jquery.js" />
<Content Include="Resources\assets\js\shBrushCSharp.js" />
<Content Include="Resources\assets\js\shCore.js" />
<Content Include="Resources\BindingTestNetCore.html" />
<Content Include="Resources\BindingTestAsync.js" />
<Content Include="Resources\BindingTestSync.js" />
<Content Include="Resources\BindingTestsAsyncTask.html" />
<Content Include="Resources\BindingApiCustomObjectNameTest.html" />
<Content Include="Resources\BindingTestSingle.html" />
<Content Include="Resources\DragDropCursorsTest.html" />
<Content Include="Resources\ImageTest.html" />
<Content Include="Resources\HelloWorld.html" />
<Content Include="Resources\JavascriptCallbackTest.html" />
Implement Javascript Binding v2 (#2247) * JSB Rewrite - Add CefSharp.RegisterBoundObject javascript method To get around the problem of IPC timing, I've reversed the communication, now it's the render process requesting the bound objects, the implementation is incomplete at this stage, more just a basic proof of concept Rewrite BindingTest.html using QUnit One of the tests doesn't map correctly as it requires def user interaction TODO: - Get objects by name - Rename Messages.h values that relate to this change so they are more descriptive - Better error handling - Caching of objects within a render process - Investigate global context options, don't think it's possible to call an async method directly in the global context # Conflicts: # CefSharp.Example/Resources/BindingTest.html * JSB Improve Request/Response message names * BindingTest.html - Output stress test results * Remove JavascriptRootObject was leftover from time we used WCF to transmit objects * JavascriptObjectRepository - Objects are now sent in the same list with an IsAsync flag Separation when sending over IPC with two unique lists isn't necessary * JavascriptObjectRepository - Return objects by name or return all by default Untabify CefAppUnmanagedWrapper.cpp Add minor comment to CefBrowserWrapper for a reminder that we use Frame Identifier as dictionary key * Add //TODO: JSB comments for work that's left to be done Ideally within a render process we cache bound objects once they've been communicated, It would also be nice to make multiple binding requests so objects can later be added dynamically * JSB Allow multiple calls to CefSharp.RegisterBoundObject Update BindingTest.html to name two distinct calls to different bound objects * JSB - Add some notes about caching, no working implementation yet * JSB - Dynamically Register object on Request * JSB Add ability to unbind an object and rename RegisterBoundObject to BindObjectAsync # Conflicts: # CefSharp.Example/Resources/BindingTest.html * JSB BindObjectAsync - if objects already bound then return false * JSB - Ignore Indexer properties Were previously throwing an exception * JSB - Add LegacyJavascriptBindingEnabled option so preserve existing behaviour This is only useful for SPA application and those that only navigate to pages hosting within a single domain. Any sort of cross-site navigation and a new render process will be spawned and objects won't be bound automatically (You can use the new methods to request they're bound yourself, at least in theory, more testing required on this) * Add LegacyBindingTest.html Current disabled by default. To enable uncomment CefSharpSettings.LegacyJavascriptBindingEnabled = true; in CefExample.cs * RegisterJsObject and RegisterAsyncJsObject can now only be used when CefSharpSettings.LegacyJavascriptBindingEnabled = true See https://github.com/cefsharp/CefSharp/issues/2246 for details
2018-01-22 10:24:25 +10:00
<Content Include="Resources\LegacyBindingTest.html" />
<Content Include="Resources\CdmSupportTest.html" />
<Content Include="Resources\CssAnimation.html" />
<Content Include="Resources\ExceptionTest.html" />
<Content Include="Resources\BindingTest.html" />
<Content Include="Resources\bootstrap\bootstrap-theme.min.css" />
<Content Include="Resources\bootstrap\bootstrap.min.css" />
<Content Include="Resources\bootstrap\bootstrap.min.js" />
<Content Include="Resources\MultiBindingTest.html" />
<Content Include="Resources\home.html" />
<Content Include="Resources\FramedWebGLTest.html" />
<Content Include="Resources\PopupTest.html" />
<Content Include="Resources\DraggableRegionTest.html" />
<Content Include="Resources\PostMessageTest.html" />
<Content Include="Resources\Recaptcha.html" />
<Content Include="Resources\ResponseFilterTest.html" />
<Content Include="Resources\SchemeTest.html" />
<Content Include="Resources\ScriptedMethodsTest.html" />
<Content Include="Resources\UnicodeExampleGreaterThan32kb.html" />
<Content Include="Resources\UnocodeExampleEqualTo32kb.html" />
<Content Include="Resources\TooltipTest.html" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CefSharp.Core.Runtime\CefSharp.Core.Runtime.vcxproj" />
<ProjectReference Include="..\CefSharp.Core\CefSharp.Core.csproj" />
<ProjectReference Include="..\CefSharp\CefSharp.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Remove="bin.netcore\**" />
<Compile Remove="obj.netcore\**" />
<EmbeddedResource Remove="bin.netcore\**" />
<EmbeddedResource Remove="obj.netcore\**" />
<None Remove="bin.netcore\**" />
<None Remove="obj.netcore\**" />
<Page Remove="bin.netcore\**" />
<Page Remove="obj.netcore\**" />
</ItemGroup>
</Project>