mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
1299a6f596
- Split the Lazarus demos directory into "Lazarus_Windows" and "Lazarus_Linux". - Added OSRExternalPumpBrowser and TinyBrowser2 demos to "Lazarus_Linux". - Set TBufferPanel.GetScreenScale as virtual. - Added DevTools to the SchemeRegistrationBrowser demo. - Modified the SchemeRegistrationBrowser demo to receive XMLHttpRequest requests from JavaScript.
34 lines
574 B
ObjectPascal
34 lines
574 B
ObjectPascal
program ToolBoxBrowser2;
|
|
|
|
{$MODE Delphi}
|
|
|
|
uses
|
|
{$IFDEF DELPHI16_UP}
|
|
Vcl.Forms,
|
|
WinApi.Windows,
|
|
{$ELSE}
|
|
Windows,
|
|
Forms,
|
|
LCLIntf, LCLType, LMessages, Interfaces,
|
|
{$ENDIF }
|
|
uCEFApplication,
|
|
uMainForm in 'uMainForm.pas' {MainForm};
|
|
|
|
{.$R *.res}
|
|
|
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
|
|
|
begin
|
|
CreateGlobalCEFApp;
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
begin
|
|
Application.Initialize;
|
|
Application.MainFormOnTaskbar := True;
|
|
Application.CreateForm(TMainForm, MainForm);
|
|
Application.Run;
|
|
end;
|
|
|
|
DestroyGlobalCEFApp;
|
|
end.
|