mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-02-02 10:25:26 +02:00
Removed all code comments about the GlobalCEFApp.cookies property and a separate cookies directory
This commit is contained in:
parent
c7b91264cb
commit
5e5b775608
@ -153,7 +153,7 @@ begin
|
|||||||
//GlobalCEFApp.LogFile := 'cef.log';
|
//GlobalCEFApp.LogFile := 'cef.log';
|
||||||
//GlobalCEFApp.LogSeverity := LOGSEVERITY_VERBOSE;
|
//GlobalCEFApp.LogSeverity := LOGSEVERITY_VERBOSE;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
|
@ -94,7 +94,7 @@ procedure InitializeCEF4Delphi; stdcall;
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
// The cache, cookies and user data directories must be writable.
|
// The cache, cookies and user data directories must be writable.
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,7 @@ begin
|
|||||||
// The demos are compiled into the BIN directory. Make sure SubProcess.exe and SimpleBrowser.exe are in that
|
// The demos are compiled into the BIN directory. Make sure SubProcess.exe and SimpleBrowser.exe are in that
|
||||||
// directory or this demo won't work.
|
// directory or this demo won't work.
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -57,7 +57,7 @@ uses
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
@ -65,7 +65,6 @@ begin
|
|||||||
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
||||||
GlobalCEFApp.EnableGPU := True; // Enable hardware acceleration
|
GlobalCEFApp.EnableGPU := True; // Enable hardware acceleration
|
||||||
GlobalCEFApp.cache := 'cef\cache';
|
GlobalCEFApp.cache := 'cef\cache';
|
||||||
GlobalCEFApp.cookies := 'cef\cookies';
|
|
||||||
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,14 +53,13 @@ uses
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
|
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
||||||
GlobalCEFApp.cache := 'cef\cache';
|
GlobalCEFApp.cache := 'cef\cache';
|
||||||
GlobalCEFApp.cookies := 'cef\cookies';
|
|
||||||
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ uses
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
|
@ -53,14 +53,13 @@ uses
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
|
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
||||||
GlobalCEFApp.cache := 'cef\cache';
|
GlobalCEFApp.cache := 'cef\cache';
|
||||||
GlobalCEFApp.cookies := 'cef\cookies';
|
|
||||||
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,13 +57,13 @@ begin
|
|||||||
|
|
||||||
// The main process and the subprocess *MUST* have the same GlobalCEFApp
|
// The main process and the subprocess *MUST* have the same GlobalCEFApp
|
||||||
// properties and events, specially FrameworkDirPath, ResourcesDirPath,
|
// properties and events, specially FrameworkDirPath, ResourcesDirPath,
|
||||||
// LocalesDirPath, cache, cookies and UserDataPath paths.
|
// LocalesDirPath, cache and UserDataPath paths.
|
||||||
|
|
||||||
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
|
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
|
||||||
// and SimpleBrowser.exe are in that directory or this demo won't work.
|
// and SimpleBrowser.exe are in that directory or this demo won't work.
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache,
|
// In case you want to use custom directories for the CEF3 binaries, cache
|
||||||
// cookies and user data.
|
// and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -54,15 +54,14 @@ procedure CreateGlobalCEFApp;
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
// The cache, cookies and user data directories must be writable.
|
// The cache and user data directories must be writable.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
GlobalCEFApp.LocalesDirPath := 'cef\locales';
|
||||||
GlobalCEFApp.cache := 'cef\cache';
|
GlobalCEFApp.cache := 'cef\cache';
|
||||||
GlobalCEFApp.cookies := 'cef\cookies';
|
|
||||||
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
GlobalCEFApp.UserDataPath := 'cef\User Data';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<Filename Value="JSSimpleWindowBinding.lpr"/>
|
<Filename Value="JSSimpleWindowBinding.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<TopLine Value="42"/>
|
<TopLine Value="53"/>
|
||||||
<CursorPos X="71" Y="68"/>
|
<CursorPos X="71" Y="68"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
|
@ -73,12 +73,12 @@ begin
|
|||||||
GlobalCEFApp.DisableFeatures := 'NetworkService,OutOfBlinkCors';
|
GlobalCEFApp.DisableFeatures := 'NetworkService,OutOfBlinkCors';
|
||||||
|
|
||||||
// The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath,
|
// The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath,
|
||||||
// LocalesDirPath, cache, cookies and UserDataPath paths
|
// LocalesDirPath, cache and UserDataPath paths
|
||||||
|
|
||||||
// The demos are compiled into the BIN directory. Make sure SubProcess.exe and JSSimpleWindowBinding.exe are in that
|
// The demos are compiled into the BIN directory. Make sure SubProcess.exe and JSSimpleWindowBinding.exe are in that
|
||||||
// directory or this demo won't work.
|
// directory or this demo won't work.
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
<Filename Value="SubProcess.lpr"/>
|
<Filename Value="SubProcess.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<TopLine Value="58"/>
|
<TopLine Value="65"/>
|
||||||
<CursorPos X="66" Y="73"/>
|
<CursorPos X="27" Y="76"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
<DefaultSyntaxHighlighter Value="Delphi"/>
|
<DefaultSyntaxHighlighter Value="Delphi"/>
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
<ResourceBaseClass Value="Form"/>
|
<ResourceBaseClass Value="Form"/>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<TopLine Value="116"/>
|
<TopLine Value="116"/>
|
||||||
<CursorPos X="69" Y="123"/>
|
<CursorPos X="77" Y="125"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
<LoadedDesigner Value="True"/>
|
<LoadedDesigner Value="True"/>
|
||||||
|
@ -14,7 +14,7 @@ object Form1: TForm1
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
OnShow = FormShow
|
OnShow = FormShow
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '2.0.2.0'
|
LCLVersion = '2.0.4.0'
|
||||||
object ChromiumWindow1: TChromiumWindow
|
object ChromiumWindow1: TChromiumWindow
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 603
|
Height = 603
|
||||||
|
@ -122,7 +122,7 @@ begin
|
|||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
GlobalCEFApp.DisableFeatures := 'NetworkService,OutOfBlinkCors';
|
GlobalCEFApp.DisableFeatures := 'NetworkService,OutOfBlinkCors';
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -8,8 +8,9 @@
|
|||||||
<Unit0>
|
<Unit0>
|
||||||
<Filename Value="SimpleBrowser.lpr"/>
|
<Filename Value="SimpleBrowser.lpr"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<TopLine Value="36"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<CursorPos X="14" Y="44"/>
|
<TopLine Value="39"/>
|
||||||
|
<CursorPos X="58" Y="57"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
<DefaultSyntaxHighlighter Value="Delphi"/>
|
<DefaultSyntaxHighlighter Value="Delphi"/>
|
||||||
@ -21,7 +22,7 @@
|
|||||||
<HasResources Value="True"/>
|
<HasResources Value="True"/>
|
||||||
<ResourceBaseClass Value="Form"/>
|
<ResourceBaseClass Value="Form"/>
|
||||||
<EditorIndex Value="2"/>
|
<EditorIndex Value="2"/>
|
||||||
<TopLine Value="147"/>
|
<TopLine Value="138"/>
|
||||||
<CursorPos X="41" Y="160"/>
|
<CursorPos X="41" Y="160"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
@ -31,10 +32,9 @@
|
|||||||
<Unit2>
|
<Unit2>
|
||||||
<Filename Value="uCEFLoader.pas"/>
|
<Filename Value="uCEFLoader.pas"/>
|
||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<IsVisibleTab Value="True"/>
|
|
||||||
<EditorIndex Value="1"/>
|
<EditorIndex Value="1"/>
|
||||||
<TopLine Value="45"/>
|
<TopLine Value="45"/>
|
||||||
<CursorPos X="37" Y="68"/>
|
<CursorPos X="15" Y="59"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
<DefaultSyntaxHighlighter Value="Delphi"/>
|
<DefaultSyntaxHighlighter Value="Delphi"/>
|
||||||
|
@ -55,13 +55,13 @@ begin
|
|||||||
|
|
||||||
// The main process and the subprocess *MUST* have the same GlobalCEFApp
|
// The main process and the subprocess *MUST* have the same GlobalCEFApp
|
||||||
// properties and events, specially FrameworkDirPath, ResourcesDirPath,
|
// properties and events, specially FrameworkDirPath, ResourcesDirPath,
|
||||||
// LocalesDirPath, cache, cookies and UserDataPath paths.
|
// LocalesDirPath, cache and UserDataPath paths.
|
||||||
|
|
||||||
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
|
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
|
||||||
// and SimpleBrowser.exe are in that directory or this demo won't work.
|
// and SimpleBrowser.exe are in that directory or this demo won't work.
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache,
|
// In case you want to use custom directories for the CEF3 binaries, cache
|
||||||
// cookies and user data.
|
// and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<IsPartOfProject Value="True"/>
|
<IsPartOfProject Value="True"/>
|
||||||
<IsVisibleTab Value="True"/>
|
<IsVisibleTab Value="True"/>
|
||||||
<TopLine Value="44"/>
|
<TopLine Value="44"/>
|
||||||
<CursorPos X="33" Y="53"/>
|
<CursorPos X="77" Y="63"/>
|
||||||
<UsageCount Value="20"/>
|
<UsageCount Value="20"/>
|
||||||
<Loaded Value="True"/>
|
<Loaded Value="True"/>
|
||||||
<DefaultSyntaxHighlighter Value="Delphi"/>
|
<DefaultSyntaxHighlighter Value="Delphi"/>
|
||||||
|
@ -54,9 +54,9 @@ procedure CreateGlobalCEFApp;
|
|||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache and user data.
|
||||||
// If you don't set a cache directory the browser will use in-memory cache.
|
// If you don't set a cache directory the browser will use in-memory cache.
|
||||||
// The cache, cookies and user data directories must be writable.
|
// The cache and user data directories must be writable.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 29,
|
"InternalVersion" : 30,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "76.1.13.0"
|
"Version" : "76.1.13.0"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user