CEF4Delphi/demos/Lazarus_Mac/ExternalPumpBrowser
salvadordf 29c04d2221 Updated copyright year
Fixed the project version in the Lazarus LPK file
2022-01-01 10:41:21 +01:00
..
00-Delete.bat Sample app for Mac only 2021-02-19 02:04:33 +01:00
cef.inc Fixed missing DELPHI28_UP define for unknown Delphi versions 2021-12-23 18:44:15 +01:00
create_mac_helper.sh CrAppProtocol for cocoa / Add Cocoa CloseChildHandle 2021-03-01 01:18:02 +01:00
ExternalPumpBrowser.ico Sample app for Mac only 2021-02-19 02:04:33 +01:00
ExternalPumpBrowser.lpi Added NSPrincipalClass for Lazarus 2.1 2021-03-19 21:24:56 +01:00
ExternalPumpBrowser.lpr Ensure all units have {$I cef.inc} 2021-02-21 22:57:18 +01:00
ExternalPumpBrowser.res Sample app for Mac only 2021-02-19 02:04:33 +01:00
globalcefapplication.pas Updated copyright year 2022-01-01 10:41:21 +01:00
README.txt Sample app for Mac only 2021-02-19 02:04:33 +01:00
uExternalPumpBrowser.lfm Sample app for Mac only 2021-02-19 02:04:33 +01:00
uExternalPumpBrowser.pas Updated copyright year 2022-01-01 10:41:21 +01:00

ExternalPumpBrowser

# ABOUT

This example uses 
  TCEFLinkedWindowParent
  TCEFWorkScheduler 

TCEFWorkScheduler feeds the CEF messageloop by calling DoMessageLoopWork(). On Mac this is currently the only way to run the CEF messageloop.


# SETUP

1) Go to "project options" and create the "App Bundle"
2) Download the CEF framework and place the content of the "Release" folder into ExternalPumpBrowser.app/Contents/Frameworks/Chromium Embedded Framework.framework
You should have:
  Chromium Embedded Framework
  Libraries/*
  Resources/*
3) Open project "AppHelper" (from demos/Lazarus_any_OS ), create App Bundle and compile the AppHelper.
   Run create_mac_helper.sh
4) Open project ExternalPumpBrowser, compile and run