diff --git a/common/windows/CEF_VERSION.md b/common/windows/CEF_VERSION.md index e22bfacf27d..1e2d635d2c4 100644 --- a/common/windows/CEF_VERSION.md +++ b/common/windows/CEF_VERSION.md @@ -1 +1 @@ -89.0.18 \ No newline at end of file +146.0.7680.179 diff --git a/common/windows/cef-checkout.sh b/common/windows/cef-checkout.sh index c669961328e..724dfb164bb 100755 --- a/common/windows/cef-checkout.sh +++ b/common/windows/cef-checkout.sh @@ -10,6 +10,12 @@ set -e # Terminate script if an unset variable is used set -u +### REMOVE THIS LINE IT IS JUST FOR TESTING updating the CEF version we don't want to +### wipe out the CEF binaries. + +exit 0 + + ## START STANDARD BUILD SCRIPT INCLUDE # adjust relative paths as necessary THIS_SCRIPT="$(readlink -f "${BASH_SOURCE[0]}")" diff --git a/common/windows/delphi/chromium/Keyman.System.CEFManager.pas b/common/windows/delphi/chromium/Keyman.System.CEFManager.pas index 0339d4860f2..c544180d90a 100644 --- a/common/windows/delphi/chromium/Keyman.System.CEFManager.pas +++ b/common/windows/delphi/chromium/Keyman.System.CEFManager.pas @@ -103,8 +103,9 @@ constructor TCEFManager.Create(IsDeveloper: Boolean); GlobalCEFApp.ResourcesDirPath := GlobalCEFApp.FrameworkDirPath; GlobalCEFApp.LocalesDirPath := GlobalCEFApp.FrameworkDirPath + '\locales'; GlobalCEFApp.EnableGPU := True; // Enable hardware acceleration + GlobalCEFApp.DoNotDeElevate := True; GlobalCEFApp.cache := TKeymanPaths.CEFDataPath('cache'); - GlobalCEFApp.UserDataPath := TKeymanPaths.CEFDataPath('userdata'); + GlobalCEFApp.RootCache := TKeymanPaths.CEFDataPath('userdata'); GlobalCEFApp.UserAgent := 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 (Keyman/'+SKeymanVersion+')'; // We no longer attempt to cleanup before shutdown, and rely on the child cef diff --git a/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.dfm b/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.dfm index 39786b7f601..3907ade19c3 100644 --- a/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.dfm +++ b/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.dfm @@ -39,9 +39,9 @@ object frameCEFHost: TframeCEFHost Top = 208 end object cef: TChromium - OnWidgetCompMsg = cefWidgetCompMsg OnLoadEnd = cefLoadEnd OnLoadingStateChange = cefLoadingStateChange + OnGotFocus = cefGotFocus OnSetFocus = cefSetFocus OnRunContextMenu = cefRunContextMenu OnPreKeyEvent = cefPreKeyEvent diff --git a/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.pas b/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.pas index abc1b0f169d..91b8f27587d 100644 --- a/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.pas +++ b/common/windows/delphi/chromium/Keyman.UI.UframeCEFHost.pas @@ -129,7 +129,7 @@ TframeCEFHost = class(TForm, IKeymanCEFHost) source: TCefFocusSource; out Result: Boolean); procedure cefTitleChange(Sender: TObject; const browser: ICefBrowser; const title: ustring); - procedure cefWidgetCompMsg(Sender: TObject; var aMessage: TMessage; var aHandled: Boolean); + procedure cefGotFocus(Sender: TObject; const browser: ICefBrowser); procedure cefLoadingStateChange(Sender: TObject; const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); private @@ -325,12 +325,11 @@ procedure TframeCEFHost.Handle_CEF_TITLECHANGE(var message: TMessage); FreeMem(p); end; -procedure TframeCEFHost.cefWidgetCompMsg(Sender: TObject; var aMessage: TMessage; - var aHandled: Boolean); +procedure TframeCEFHost.cefGotFocus(Sender: TObject; + const browser: ICefBrowser); begin AssertCefThread; - if aMessage.Msg = WM_SETFOCUS then - PostMessage(FCallbackWnd, CEF_SETFOCUS, 0, 0); + PostMessage(FCallbackWnd, CEF_SETFOCUS, 0, 0); end; procedure TframeCEFHost.CreateBrowser; diff --git a/common/windows/delphi/ext/cef4delphi.txt b/common/windows/delphi/ext/cef4delphi.txt index c33309049ec..d1fb87791da 100644 --- a/common/windows/delphi/ext/cef4delphi.txt +++ b/common/windows/delphi/ext/cef4delphi.txt @@ -18,7 +18,7 @@ Installation notes ------------------ Copy the source/ and packages/ folders from the CEF4Delphi repository -into the windows/src/ext/cef4delphi folder. Ensure that the +into the common/windows/delphi/ext/cef4delphi folder. Ensure that the CEF4Delphi_binary repository is kept in sync with the cef4delphi source version. diff --git a/common/windows/delphi/ext/cef4delphi/LICENSE.md b/common/windows/delphi/ext/cef4delphi/LICENSE.md index 9454c48b703..cc423535841 100644 --- a/common/windows/delphi/ext/cef4delphi/LICENSE.md +++ b/common/windows/delphi/ext/cef4delphi/LICENSE.md @@ -1,19 +1,18 @@ # CEF4Delphi -CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -browser in Delphi applications. +CEF4Delphi is based on [DCEF3](https://github.com/hgourvest/dcef3) and [fpCEF3](https://github.com/dliw/fpCEF3) that use [CEF](https://bitbucket.org/chromiumembedded/cef/) to embed a chromium-based browser in Delphi and Lazarus/FPC applications. -The original license of DCEF3 still applies to CEF4Delphi. +The original licenses of those projects still apply to CEF4Delphi. For more information about CEF4Delphi visit : https://www.briskbard.com/index.php?lang=en&pageid=cef - Copyright © 2021 Salvador Diaz Fau. All rights reserved. + Copyright © 2026 Salvador Díaz Fau. All rights reserved. -## Original DCEF3 license +## Original licenses -### Delphi Chromium Embedded 3 +### DCEF3 license Usage allowed under the restrictions of the Lesser GNU General Public License or alternatively the restrictions of the Mozilla Public License 1.1 @@ -31,3 +30,380 @@ For more information about CEF4Delphi visit : Embarcadero Technologies, Inc is not permitted to use or redistribute this source code without explicit permission. + + +### fpCEF3 license + +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/common/windows/delphi/ext/cef4delphi/README.md b/common/windows/delphi/ext/cef4delphi/README.md index aa4eddfc3d4..38cbb526d30 100644 --- a/common/windows/delphi/ext/cef4delphi/README.md +++ b/common/windows/delphi/ext/cef4delphi/README.md @@ -1,28 +1,28 @@ # CEF4Delphi [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Use%20CEF4Delphi%20to%20embed%20Chromium-based%20browsers%20in%20your%20application&url=https://github.com/salvadordf/CEF4Delphi&via=briskbard&hashtags=cef4delphi,delphi,lazarus,fpc) CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with [Delphi](https://www.embarcadero.com/products/delphi/starter) or [Lazarus/FPC](https://www.lazarus-ide.org/) for Windows, Linux and MacOS. -CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the first lines of any *.pas file. +CEF4Delphi is based on DCEF3 and fpCEF3. The original license of those projects still applies to CEF4Delphi. Read the license terms in the LICENSE.md file. -CEF4Delphi uses CEF 89.0.18 which includes Chromium 89.0.4389.114. -The CEF binaries used by CEF4Delphi are available for download at spotify : -* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_windows32.tar.bz2) -* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_windows64.tar.bz2) -* [Linux x86 32 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_linux32.tar.bz2) -* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_linux64.tar.bz2) -* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_linuxarm.tar.bz2) -* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_linuxarm64.tar.bz2) -* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_89.0.18%2Bgb36241d%2Bchromium-89.0.4389.114_macosx64.tar.bz2) +CEF4Delphi uses CEF 146.0.12 which includes Chromium 146.0.7680.179. -CEF4Delphi was developed and tested on Delphi 10.4.2 and it has been tested in Delphi 7, Delphi XE, Delphi 10, Delphi 10.2, Delphi 10.3 and Lazarus 2.0.12/FPC 3.2.0. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. +The CEF binaries used by CEF4Delphi are available for download at Spotify : +* [Windows 32 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_windows32.tar.bz2) +* [Windows 64 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_windows64.tar.bz2) +* [Linux x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_linux64.tar.bz2) +* [Linux ARM 32 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_linuxarm.tar.bz2) +* [Linux ARM 64 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_linuxarm64.tar.bz2) +* [MacOS x86 64 bits](https://cef-builds.spotifycdn.com/cef_binary_146.0.12%2Bg6214c8e%2Bchromium-146.0.7680.179_macosx64.tar.bz2) -CEF4Delphi demos have been tested in Windows 7, Windows 10, Linux Mint 20.1 and Raspberry Pi OS. +CEF4Delphi was developed and tested on Delphi 13.1 and it has been tested in Delphi 6, Delphi XE, Delphi 10, Delphi 11 and Lazarus 4.6/FPC 3.2.2. CEF4Delphi includes VCL, FireMonkey (FMX) and Lazarus components. + +CEF4Delphi demos have been tested in Windows 10, Windows 11, Linux Mint 22.3 and Raspberry Pi OS. ## Links * [Installation instructions and more information about CEF4Delphi](https://www.briskbard.com/index.php?lang=en&pageid=cef) * [Developer Forums](https://www.briskbard.com/forum) -* The Windows components need Windows 7, 8, 8.1, 10 or newer to run. If you need Windows XP and Vista support use [OldCEF4Delphi](https://github.com/salvadordf/OldCEF4Delphi) +* The Windows components need Windows 10, 11 or newer to run. If you need Windows XP and Vista support use [OldCEF4Delphi](https://github.com/salvadordf/OldCEF4Delphi). If you need Windows 7, 8/8.1 support use [this CEF4Delphi release](https://github.com/salvadordf/CEF4Delphi/releases/tag/109.0.5414.120). -## Stable releases +## Stable releases This is the development branch and it may have issues. Use the [latest release](https://github.com/salvadordf/CEF4Delphi/releases/latest) if you need a stable component. ## Support @@ -34,25 +34,46 @@ You can also support this project with Patreon. Patreon donate button +You can also support this project with Liberapay. + +Donate using Liberapay + Additional: Delphinus-Support -## Attribution -Other projects : -* [DCEF3](https://github.com/hgourvest/dcef3) +## Related projects +* [WebView4Delphi](https://github.com/salvadordf/WebView4Delphi) +* [WebUI4Delphi](https://github.com/salvadordf/WebUI4Delphi) +* [WebUI4CSharp](https://github.com/salvadordf/WebUI4CSharp) +* [Tesseract4Delphi](https://github.com/salvadordf/Tesseract4Delphi) +* [VirtualTouchKeyboard4Delphi](https://github.com/salvadordf/VirtualTouchKeyboard4Delphi) +* [DCEF3](https://github.com/hgourvest/dcef3) * [fpCEF3](https://github.com/dliw/fpCEF3) * [CEF](https://bitbucket.org/chromiumembedded/cef/) -* [DCPcrypt](http://www.cityinthesky.co.uk/opensource/dcpcrypt/) +* [DCPcrypt](https://sourceforge.net/projects/lazarus-ccr/files/DCPcrypt/) +* [PasDoc](https://pasdoc.github.io/) * [Chromium](https://chromium.googlesource.com/chromium/src/) - -Some icons used in this project belong to these icon packages : -* [Fugue & Diagona icons](http://yusukekamiyamane.com/) -* [FatCow Farm-Fresh Web Icons](https://www.fatcow.com/free-icons) -* [Material Design Icons](https://github.com/google/material-design-icons) +* [CefSharp](https://github.com/cefsharp/CefSharp) +* [CefGlue](https://gitlab.com/xiliumhq/chromiumembedded/cefglue) +* [Cef2Go](https://github.com/cztomczak/cef2go) +* [Energy](https://github.com/energye/energy) +* [java-cef](https://bitbucket.org/chromiumembedded/java-cef) +* [cefpython](https://github.com/cztomczak/cefpython) ## Other resources * [Learn Delphi](https://learndelphi.org/) * [Essential Pascal by Marco Cantù](https://www.marcocantu.com/epascal/) +* [Free Pascal Reference guide](https://www.freepascal.org/docs-html/ref/ref.html) +* [Modern Object Pascal Introduction for Programmers](https://castle-engine.io/modern_pascal) * [FreePascal from Square One by Jeff Duntemann](http://www.copperwood.com/pub/FreePascalFromSquareOne.pdf) * [Pascal and Lazarus Books and Magazines](https://wiki.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines) * [Lazarus Documentation](https://wiki.freepascal.org/Lazarus_Documentation) +* [Delphi Succinctly](https://www.syncfusion.com/succinctly-free-ebooks/delphi) +* [Start Programming using Object Pascal](https://code.sd/startprog/StartProgUsingPascal.pdf) +* [Free Pascal and Lazarus Programming Textbook](https://sourceforge.net/p/lazarus-wiki-projects/code/ci/master/tree/FPC_Lazarus_Textbook/) +* [LAZARUS FREE PASCAL Développement rapide](https://lazaruscomponents.com/2025/11/08/livrel-lazarus-free-pascad/) + +## Attribution +* [Fugue & Diagona icons](http://yusukekamiyamane.com/) +* [FatCow Farm-Fresh Web Icons](https://github.com/gammasoft/fatcow) +* [Material Design Icons](https://github.com/google/material-design-icons) diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dpk b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dpk index 4c0301bf18d..0a234ed654b 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dpk +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dpk @@ -13,8 +13,8 @@ package CEF4Delphi; {$LONGSTRINGS ON} {$OPENSTRINGS ON} {$OPTIMIZATION OFF} -{$OVERFLOWCHECKS OFF} -{$RANGECHECKS OFF} +{$OVERFLOWCHECKS ON} +{$RANGECHECKS ON} {$REFERENCEINFO ON} {$SAFEDIVIDE OFF} {$STACKFRAMES ON} @@ -33,7 +33,7 @@ requires vcl; contains - CEF4Delphi_Register in 'CEF4Delphi_Register.pas', + CEF4DelphiVCL_Register in 'CEF4DelphiVCL_Register.pas', uCEFFindHandler in '..\source\uCEFFindHandler.pas', uCEFConstants in '..\source\uCEFConstants.pas', uCEFTypes in '..\source\uCEFTypes.pas', @@ -63,7 +63,6 @@ contains uCEFCookieManager in '..\source\uCEFCookieManager.pas', uCEFCompletionCallback in '..\source\uCEFCompletionCallback.pas', uCEFRequestContextHandler in '..\source\uCEFRequestContextHandler.pas', - uCEFWebPluginInfo in '..\source\uCEFWebPluginInfo.pas', uCEFDomDocument in '..\source\uCEFDomDocument.pas', uCEFDomNode in '..\source\uCEFDomNode.pas', uCEFv8Value in '..\source\uCEFv8Value.pas', @@ -89,7 +88,6 @@ contains uCEFv8StackFrame in '..\source\uCEFv8StackFrame.pas', uCEFv8StackTrace in '..\source\uCEFv8StackTrace.pas', uCEFv8Handler in '..\source\uCEFv8Handler.pas', - uCEFRequestCallback in '..\source\uCEFRequestCallback.pas', uCEFCustomStreamReader in '..\source\uCEFCustomStreamReader.pas', uCEFCallback in '..\source\uCEFCallback.pas', uCEFResourceHandler in '..\source\uCEFResourceHandler.pas', @@ -117,8 +115,6 @@ contains uCEFRenderProcessHandler in '..\source\uCEFRenderProcessHandler.pas', uCEFUrlrequestClient in '..\source\uCEFUrlrequestClient.pas', uCEFUrlRequest in '..\source\uCEFUrlRequest.pas', - uCEFWebPluginInfoVisitor in '..\source\uCEFWebPluginInfoVisitor.pas', - uCEFWebPluginUnstableCallback in '..\source\uCEFWebPluginUnstableCallback.pas', uCEFEndTracingCallback in '..\source\uCEFEndTracingCallback.pas', uCEFFileDialogCallback in '..\source\uCEFFileDialogCallback.pas', uCEFDragData in '..\source\uCEFDragData.pas', @@ -137,7 +133,6 @@ contains uCEFChromiumOptions in '..\source\uCEFChromiumOptions.pas', uCEFChromiumFontOptions in '..\source\uCEFChromiumFontOptions.pas', uCEFPDFPrintOptions in '..\source\uCEFPDFPrintOptions.pas', - uCEFRegisterCDMCallback in '..\source\uCEFRegisterCDMCallback.pas', uCEFThread in '..\source\uCEFThread.pas', uCEFv8Interceptor in '..\source\uCEFv8Interceptor.pas', uCEFWaitableEvent in '..\source\uCEFWaitableEvent.pas', @@ -151,9 +146,6 @@ contains uCEFAccessibilityHandler in '..\source\uCEFAccessibilityHandler.pas', uCEFOLEDragAndDrop in '..\source\uCEFOLEDragAndDrop.pas', uCEFDragAndDropMgr in '..\source\uCEFDragAndDropMgr.pas', - uCEFGetExtensionResourceCallback in '..\source\uCEFGetExtensionResourceCallback.pas', - uCEFExtension in '..\source\uCEFExtension.pas', - uCEFExtensionHandler in '..\source\uCEFExtensionHandler.pas', uCEFBufferPanel in '..\source\uCEFBufferPanel.pas', uCEFApp in '..\source\uCEFApp.pas', uCEFWorkScheduler in '..\source\uCEFWorkScheduler.pas', @@ -223,7 +215,32 @@ contains uCEFPrintDialogCallback in '..\source\uCEFPrintDialogCallback.pas', uCEFPrintJobCallback in '..\source\uCEFPrintJobCallback.pas', uCEFWorkSchedulerQueueThread in '..\source\uCEFWorkSchedulerQueueThread.pas', - uCEFLinkedWinControlBase in '..\source\uCEFLinkedWinControlBase.pas'; + uCEFLinkedWinControlBase in '..\source\uCEFLinkedWinControlBase.pas', + uCEFTimerWorkScheduler in '..\source\uCEFTimerWorkScheduler.pas', + uCEFFrameHandler in '..\source\uCEFFrameHandler.pas', + uCEFOverlayController in '..\source\uCEFOverlayController.pas', + uCEFFileDialogInfo in '..\source\uCEFFileDialogInfo.pas', + uCEFCommandHandler in '..\source\uCEFCommandHandler.pas', + uCEFMediaAccessCallback in '..\source\uCEFMediaAccessCallback.pas', + uCEFPermissionPromptCallback in '..\source\uCEFPermissionPromptCallback.pas', + uCEFPermissionHandler in '..\source\uCEFPermissionHandler.pas', + uCEFSharedMemoryRegion in '..\source\uCEFSharedMemoryRegion.pas', + uCEFSharedProcessMessageBuilder in '..\source\uCEFSharedProcessMessageBuilder.pas', + uCEFRunQuickMenuCallback in '..\source\uCEFRunQuickMenuCallback.pas', + uCEFPreferenceRegistrar in '..\source\uCEFPreferenceRegistrar.pas', + uCEFPreferenceManager in '..\source\uCEFPreferenceManager.pas', + uCEFApplicationEvents in '..\source\uCEFApplicationEvents.pas', + uCEFBrowserBitmap in '..\source\uCEFBrowserBitmap.pas', + uCEFComponentIdList in '..\source\uCEFComponentIdList.pas', + uCEFUnresponsiveProcessCallback in '..\source\uCEFUnresponsiveProcessCallback.pas', + uCEFWindowInfoWrapper in '..\source\uCEFWindowInfoWrapper.pas', + uCEFTaskManager in '..\source\uCEFTaskManager.pas', + uCEFPreferenceObserver in '..\source\uCEFPreferenceObserver.pas', + uCEFSettingObserver in '..\source\uCEFSettingObserver.pas', + uCEFv8BackingStore in '..\source\uCEFv8BackingStore.pas', + uCEFComponentUpdater in '..\source\uCEFComponentUpdater.pas', + uCEFComponentUpdateCallback in '..\source\uCEFComponentUpdateCallback.pas', + uCEFComponent in '..\source\uCEFComponent.pas'; end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dproj b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dproj index ed4b75a61f3..6b919c50cf6 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dproj +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi.dproj @@ -1,127 +1,97 @@  - {2F51F1BD-0529-4B4A-BFD2-86FE96910A62} + {116BA9F3-8D0E-4EB1-A319-A196FC8D1051} CEF4Delphi.dpk - 19.2 - VCL True Debug - Win32 - 3 + CEF4Delphi + 1741825 Package + VCL + 20.1 + Win32 true - - true + + true Base true - - true + + true Base true - - true + + true Base true - - true - Cfg_1 - true + + true + Base true - - true + + true Base true - - true - Cfg_2 + true - true - - - true Base true - - true - Cfg_3 - true - true - - All - true - System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) - CEF4Delphi - true - true - .\obj\$(Platform)\$(Config) - .\bin\$(Platform)\$(Config) - ..\..\..\..\lib - ..\..\..\..\lib false - false - false false false - ..\source;$(DCC_UnitSearchPath) + false + false + 00400000 + true + true + CEF4Delphi + CEF4Delphi + true + Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;DUnitX.Loggers.GUI;Winapi;System.Win;$(DCC_Namespace) 3082 - CompanyName=;FileVersion=1.0.0.0;InternalName=CEF4Delphi;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=CEF4Delphi;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName) + CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName= + + + package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey= + Debug + $(BDS)\bin\Artwork\Android\FM_LauncherIcon_192x192.png + activity-1.7.2.dex.jar;annotation-experimental-1.3.0.dex.jar;annotation-jvm-1.6.0.dex.jar;annotations-13.0.dex.jar;appcompat-1.2.0.dex.jar;appcompat-resources-1.2.0.dex.jar;billing-6.0.1.dex.jar;biometric-1.1.0.dex.jar;browser-1.4.0.dex.jar;cloud-messaging.dex.jar;collection-1.1.0.dex.jar;concurrent-futures-1.1.0.dex.jar;core-1.10.1.dex.jar;core-common-2.2.0.dex.jar;core-ktx-1.10.1.dex.jar;core-runtime-2.2.0.dex.jar;cursoradapter-1.0.0.dex.jar;customview-1.0.0.dex.jar;documentfile-1.0.0.dex.jar;drawerlayout-1.0.0.dex.jar;error_prone_annotations-2.9.0.dex.jar;exifinterface-1.3.6.dex.jar;firebase-annotations-16.2.0.dex.jar;firebase-common-20.3.1.dex.jar;firebase-components-17.1.0.dex.jar;firebase-datatransport-18.1.7.dex.jar;firebase-encoders-17.0.0.dex.jar;firebase-encoders-json-18.0.0.dex.jar;firebase-encoders-proto-16.0.0.dex.jar;firebase-iid-interop-17.1.0.dex.jar;firebase-installations-17.1.3.dex.jar;firebase-installations-interop-17.1.0.dex.jar;firebase-measurement-connector-19.0.0.dex.jar;firebase-messaging-23.1.2.dex.jar;fmx.dex.jar;fragment-1.2.5.dex.jar;google-play-licensing.dex.jar;interpolator-1.0.0.dex.jar;javax.inject-1.dex.jar;kotlin-stdlib-1.8.22.dex.jar;kotlin-stdlib-common-1.8.22.dex.jar;kotlin-stdlib-jdk7-1.8.22.dex.jar;kotlin-stdlib-jdk8-1.8.22.dex.jar;kotlinx-coroutines-android-1.6.4.dex.jar;kotlinx-coroutines-core-jvm-1.6.4.dex.jar;legacy-support-core-utils-1.0.0.dex.jar;lifecycle-common-2.6.1.dex.jar;lifecycle-livedata-2.6.1.dex.jar;lifecycle-livedata-core-2.6.1.dex.jar;lifecycle-runtime-2.6.1.dex.jar;lifecycle-service-2.6.1.dex.jar;lifecycle-viewmodel-2.6.1.dex.jar;lifecycle-viewmodel-savedstate-2.6.1.dex.jar;listenablefuture-1.0.dex.jar;loader-1.0.0.dex.jar;localbroadcastmanager-1.0.0.dex.jar;okio-jvm-3.4.0.dex.jar;play-services-ads-22.2.0.dex.jar;play-services-ads-base-22.2.0.dex.jar;play-services-ads-identifier-18.0.0.dex.jar;play-services-ads-lite-22.2.0.dex.jar;play-services-appset-16.0.1.dex.jar;play-services-base-18.1.0.dex.jar;play-services-basement-18.1.0.dex.jar;play-services-cloud-messaging-17.0.1.dex.jar;play-services-location-21.0.1.dex.jar;play-services-maps-18.1.0.dex.jar;play-services-measurement-base-20.1.2.dex.jar;play-services-measurement-sdk-api-20.1.2.dex.jar;play-services-stats-17.0.2.dex.jar;play-services-tasks-18.0.2.dex.jar;print-1.0.0.dex.jar;profileinstaller-1.3.0.dex.jar;room-common-2.2.5.dex.jar;room-runtime-2.2.5.dex.jar;savedstate-1.2.1.dex.jar;sqlite-2.1.0.dex.jar;sqlite-framework-2.1.0.dex.jar;startup-runtime-1.1.1.dex.jar;tracing-1.0.0.dex.jar;transport-api-3.0.0.dex.jar;transport-backend-cct-3.1.8.dex.jar;transport-runtime-3.1.8.dex.jar;user-messaging-platform-2.0.0.dex.jar;vectordrawable-1.1.0.dex.jar;vectordrawable-animated-1.1.0.dex.jar;versionedparcelable-1.1.1.dex.jar;viewpager-1.0.0.dex.jar;work-runtime-2.7.0.dex.jar + + + $(BDS)\bin\Artwork\Android\FM_LauncherIcon_192x192.png + activity-1.7.2.dex.jar;annotation-experimental-1.3.0.dex.jar;annotation-jvm-1.6.0.dex.jar;annotations-13.0.dex.jar;appcompat-1.2.0.dex.jar;appcompat-resources-1.2.0.dex.jar;billing-6.0.1.dex.jar;biometric-1.1.0.dex.jar;browser-1.4.0.dex.jar;cloud-messaging.dex.jar;collection-1.1.0.dex.jar;concurrent-futures-1.1.0.dex.jar;core-1.10.1.dex.jar;core-common-2.2.0.dex.jar;core-ktx-1.10.1.dex.jar;core-runtime-2.2.0.dex.jar;cursoradapter-1.0.0.dex.jar;customview-1.0.0.dex.jar;documentfile-1.0.0.dex.jar;drawerlayout-1.0.0.dex.jar;error_prone_annotations-2.9.0.dex.jar;exifinterface-1.3.6.dex.jar;firebase-annotations-16.2.0.dex.jar;firebase-common-20.3.1.dex.jar;firebase-components-17.1.0.dex.jar;firebase-datatransport-18.1.7.dex.jar;firebase-encoders-17.0.0.dex.jar;firebase-encoders-json-18.0.0.dex.jar;firebase-encoders-proto-16.0.0.dex.jar;firebase-iid-interop-17.1.0.dex.jar;firebase-installations-17.1.3.dex.jar;firebase-installations-interop-17.1.0.dex.jar;firebase-measurement-connector-19.0.0.dex.jar;firebase-messaging-23.1.2.dex.jar;fmx.dex.jar;fragment-1.2.5.dex.jar;google-play-licensing.dex.jar;interpolator-1.0.0.dex.jar;javax.inject-1.dex.jar;kotlin-stdlib-1.8.22.dex.jar;kotlin-stdlib-common-1.8.22.dex.jar;kotlin-stdlib-jdk7-1.8.22.dex.jar;kotlin-stdlib-jdk8-1.8.22.dex.jar;kotlinx-coroutines-android-1.6.4.dex.jar;kotlinx-coroutines-core-jvm-1.6.4.dex.jar;legacy-support-core-utils-1.0.0.dex.jar;lifecycle-common-2.6.1.dex.jar;lifecycle-livedata-2.6.1.dex.jar;lifecycle-livedata-core-2.6.1.dex.jar;lifecycle-runtime-2.6.1.dex.jar;lifecycle-service-2.6.1.dex.jar;lifecycle-viewmodel-2.6.1.dex.jar;lifecycle-viewmodel-savedstate-2.6.1.dex.jar;listenablefuture-1.0.dex.jar;loader-1.0.0.dex.jar;localbroadcastmanager-1.0.0.dex.jar;okio-jvm-3.4.0.dex.jar;play-services-ads-22.2.0.dex.jar;play-services-ads-base-22.2.0.dex.jar;play-services-ads-identifier-18.0.0.dex.jar;play-services-ads-lite-22.2.0.dex.jar;play-services-appset-16.0.1.dex.jar;play-services-base-18.1.0.dex.jar;play-services-basement-18.1.0.dex.jar;play-services-cloud-messaging-17.0.1.dex.jar;play-services-location-21.0.1.dex.jar;play-services-maps-18.1.0.dex.jar;play-services-measurement-base-20.1.2.dex.jar;play-services-measurement-sdk-api-20.1.2.dex.jar;play-services-stats-17.0.2.dex.jar;play-services-tasks-18.0.2.dex.jar;print-1.0.0.dex.jar;profileinstaller-1.3.0.dex.jar;room-common-2.2.5.dex.jar;room-runtime-2.2.5.dex.jar;savedstate-1.2.1.dex.jar;sqlite-2.1.0.dex.jar;sqlite-framework-2.1.0.dex.jar;startup-runtime-1.1.1.dex.jar;tracing-1.0.0.dex.jar;transport-api-3.0.0.dex.jar;transport-backend-cct-3.1.8.dex.jar;transport-runtime-3.1.8.dex.jar;user-messaging-platform-2.0.0.dex.jar;vectordrawable-1.1.0.dex.jar;vectordrawable-animated-1.1.0.dex.jar;versionedparcelable-1.1.1.dex.jar;viewpager-1.0.0.dex.jar;work-runtime-2.7.0.dex.jar + + + $(BDS)\bin\Artwork\iOS\iPhone\FM_ApplicationIcon_1024x1024.png - rtl;vcl;fmx;$(DCC_UsePackage) - 1033 Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) - true - - - rtl;vcl;fmx;$(DCC_UsePackage) - Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName) 1033 - DEBUG;$(DCC_Define) - true - false - true - true - true - - - CompanyName=;FileVersion=1.0.0.0;InternalName=CEF4Delphi;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=CEF4Delphi;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName) - CEF4Delphi - 1033 - true - false - - - false RELEASE;$(DCC_Define) - 0 0 + false + 0 - - true - 1033 - - + + DEBUG;$(DCC_Define) + false true - true - 1033 - true - true + true + true @@ -129,7 +99,7 @@ - + @@ -159,7 +129,6 @@ - @@ -185,7 +154,6 @@ - @@ -213,8 +181,6 @@ - - @@ -233,7 +199,6 @@ - @@ -247,9 +212,6 @@ - - - @@ -320,19 +282,35 @@ + + + + + + + + + + + + + + + + + + + + Base - Cfg_2 - Base - - Cfg_1 Base - - Cfg_3 + + Cfg_2 Base @@ -344,1034 +322,23 @@ CEF4Delphi.dpk - - IP Abstraction Indy Implementation Design Time - DBExpress Enterprise Data Explorer Integration - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components - - - - - - - - - CEF4Delphi.bpl - true - - - - - 1 - - - 0 - - - - - classes - 1 - - - classes - 1 - - - - - res\xml - 1 - - - res\xml - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - library\lib\armeabi - 1 - - - library\lib\armeabi - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - library\lib\mips - 1 - - - library\lib\mips - 1 - - - - - library\lib\armeabi-v7a - 1 - - - library\lib\arm64-v8a - 1 - - - - - library\lib\armeabi-v7a - 1 - - - - - res\drawable - 1 - - - res\drawable - 1 - - - - - res\values - 1 - - - res\values - 1 - - - - - res\values-v21 - 1 - - - res\values-v21 - 1 - - - - - res\values - 1 - - - res\values - 1 - - - - - res\drawable - 1 - - - res\drawable - 1 - - - - - res\drawable-xxhdpi - 1 - - - res\drawable-xxhdpi - 1 - - - - - res\drawable-xxxhdpi - 1 - - - res\drawable-xxxhdpi - 1 - - - - - res\drawable-ldpi - 1 - - - res\drawable-ldpi - 1 - - - - - res\drawable-mdpi - 1 - - - res\drawable-mdpi - 1 - - - - - res\drawable-hdpi - 1 - - - res\drawable-hdpi - 1 - - - - - res\drawable-xhdpi - 1 - - - res\drawable-xhdpi - 1 - - - - - res\drawable-mdpi - 1 - - - res\drawable-mdpi - 1 - - - - - res\drawable-hdpi - 1 - - - res\drawable-hdpi - 1 - - - - - res\drawable-xhdpi - 1 - - - res\drawable-xhdpi - 1 - - - - - res\drawable-xxhdpi - 1 - - - res\drawable-xxhdpi - 1 - - - - - res\drawable-xxxhdpi - 1 - - - res\drawable-xxxhdpi - 1 - - - - - res\drawable-small - 1 - - - res\drawable-small - 1 - - - - - res\drawable-normal - 1 - - - res\drawable-normal - 1 - - - - - res\drawable-large - 1 - - - res\drawable-large - 1 - - - - - res\drawable-xlarge - 1 - - - res\drawable-xlarge - 1 - - - - - res\values - 1 - - - res\values - 1 - - - - - 1 - - - 1 - - - 0 - - - - - 1 - .framework - - - 1 - .framework - - - 0 - - - - - 1 - .dylib - - - 1 - .dylib - - - 0 - .dll;.bpl - - - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 0 - .bpl - - - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - 1 - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - 1 - - - 1 - - - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - - - - - - - - - 1 - - - 1 - - - 1 - - - - - - - - Contents\Resources - 1 - - - Contents\Resources - 1 - - - - - library\lib\armeabi-v7a - 1 - - - library\lib\arm64-v8a - 1 - - - 1 - - - 1 - - - 1 - - - 1 - - - 1 - - - 1 - - - 0 - - - - - library\lib\armeabi-v7a - 1 - - - - - 1 - - - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - Assets - 1 - - - Assets - 1 - - - - - - - - - - - - - + False + True + False + True + True + False + True + True True - True + False + True 12 - diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dpk b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dpk new file mode 100644 index 00000000000..783debbde2e --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dpk @@ -0,0 +1,51 @@ +package CEF4DelphiFMXRTL; + +{$R *.res} +{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} +{$ALIGN 8} +{$ASSERTIONS ON} +{$BOOLEVAL OFF} +{$DEBUGINFO OFF} +{$EXTENDEDSYNTAX ON} +{$IMPORTEDDATA ON} +{$IOCHECKS ON} +{$LOCALSYMBOLS ON} +{$LONGSTRINGS ON} +{$OPENSTRINGS ON} +{$OPTIMIZATION OFF} +{$OVERFLOWCHECKS ON} +{$RANGECHECKS ON} +{$REFERENCEINFO ON} +{$SAFEDIVIDE OFF} +{$STACKFRAMES ON} +{$TYPEDADDRESS OFF} +{$VARSTRINGCHECKS ON} +{$WRITEABLECONST OFF} +{$MINENUMSIZE 1} +{$IMAGEBASE $400000} +{$DEFINE DEBUG} +{$ENDIF IMPLICITBUILDING} +{$DESCRIPTION 'CEF4Delphi FMX Runtime'} +{$RUNONLY} +{$IMPLICITBUILD ON} + +requires + rtl, + fmx, + CEF4DelphiVCLRTL; + +contains + uCEFFMXBufferPanel in '..\source\uCEFFMXBufferPanel.pas', + uCEFFMXChromium in '..\source\uCEFFMXChromium.pas', + uCEFFMXWindowParent in '..\source\uCEFFMXWindowParent.pas', + uCEFFMXWorkScheduler in '..\source\uCEFFMXWorkScheduler.pas', + uCEFMacOSConstants in '..\source\uCEFMacOSConstants.pas', + uCEFMacOSCustomCocoaTimer in '..\source\uCEFMacOSCustomCocoaTimer.pas', + uCEFMacOSFunctions in '..\source\uCEFMacOSFunctions.pas', + uCEFMacOSInterfaces in '..\source\uCEFMacOSInterfaces.pas', + uCEFLinuxConstants in '..\source\uCEFLinuxConstants.pas', + uCEFLinuxFunctions in '..\source\uCEFLinuxFunctions.pas', + uCEFLinuxTypes in '..\source\uCEFLinuxTypes.pas', + uCEFTimerWorkScheduler in '..\source\uCEFTimerWorkScheduler.pas'; + +end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dproj b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dproj new file mode 100644 index 00000000000..303d8f32117 --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.dproj @@ -0,0 +1,1099 @@ + + + {6111BE8D-A9BC-437E-B3BF-D2BB9C393BAC} + CEF4DelphiFMXRTL.dpk + 20.3 + FMX + True + Debug + Win32 + 3 + Package + CEF4DelphiFMXRTL + + + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Cfg_1 + true + true + + + true + Base + true + + + .\$(Platform)\$(Config) + .\$(Platform)\$(Config) + false + false + false + false + false + true + true + System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) + All + true + 3082 + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + CEF4Delphi FMX Runtime + CEF4DelphiFMXRTL + $(CEF4DELPHI)\source;$(DCC_UnitSearchPath) + + + package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey= + Debug + annotation-1.2.0.dex.jar;asynclayoutinflater-1.0.0.dex.jar;billing-4.0.0.dex.jar;browser-1.0.0.dex.jar;cloud-messaging.dex.jar;collection-1.0.0.dex.jar;coordinatorlayout-1.0.0.dex.jar;core-1.5.0-rc02.dex.jar;core-common-2.0.1.dex.jar;core-runtime-2.0.1.dex.jar;cursoradapter-1.0.0.dex.jar;customview-1.0.0.dex.jar;documentfile-1.0.0.dex.jar;drawerlayout-1.0.0.dex.jar;firebase-annotations-16.0.0.dex.jar;firebase-common-20.0.0.dex.jar;firebase-components-17.0.0.dex.jar;firebase-datatransport-18.0.0.dex.jar;firebase-encoders-17.0.0.dex.jar;firebase-encoders-json-18.0.0.dex.jar;firebase-iid-interop-17.1.0.dex.jar;firebase-installations-17.0.0.dex.jar;firebase-installations-interop-17.0.0.dex.jar;firebase-measurement-connector-19.0.0.dex.jar;firebase-messaging-22.0.0.dex.jar;fmx.dex.jar;fragment-1.0.0.dex.jar;google-play-licensing.dex.jar;interpolator-1.0.0.dex.jar;javax.inject-1.dex.jar;legacy-support-core-ui-1.0.0.dex.jar;legacy-support-core-utils-1.0.0.dex.jar;lifecycle-common-2.0.0.dex.jar;lifecycle-livedata-2.0.0.dex.jar;lifecycle-livedata-core-2.0.0.dex.jar;lifecycle-runtime-2.0.0.dex.jar;lifecycle-service-2.0.0.dex.jar;lifecycle-viewmodel-2.0.0.dex.jar;listenablefuture-1.0.dex.jar;loader-1.0.0.dex.jar;localbroadcastmanager-1.0.0.dex.jar;play-services-ads-20.1.0.dex.jar;play-services-ads-base-20.1.0.dex.jar;play-services-ads-identifier-17.0.0.dex.jar;play-services-ads-lite-20.1.0.dex.jar;play-services-base-17.5.0.dex.jar;play-services-basement-17.6.0.dex.jar;play-services-cloud-messaging-16.0.0.dex.jar;play-services-drive-17.0.0.dex.jar;play-services-games-21.0.0.dex.jar;play-services-location-18.0.0.dex.jar;play-services-maps-17.0.1.dex.jar;play-services-measurement-base-18.0.0.dex.jar;play-services-measurement-sdk-api-18.0.0.dex.jar;play-services-places-placereport-17.0.0.dex.jar;play-services-stats-17.0.0.dex.jar;play-services-tasks-17.2.0.dex.jar;print-1.0.0.dex.jar;room-common-2.1.0.dex.jar;room-runtime-2.1.0.dex.jar;slidingpanelayout-1.0.0.dex.jar;sqlite-2.0.1.dex.jar;sqlite-framework-2.0.1.dex.jar;swiperefreshlayout-1.0.0.dex.jar;transport-api-3.0.0.dex.jar;transport-backend-cct-3.0.0.dex.jar;transport-runtime-3.0.0.dex.jar;user-messaging-platform-1.0.0.dex.jar;versionedparcelable-1.1.1.dex.jar;viewpager-1.0.0.dex.jar;work-runtime-2.1.0.dex.jar + + + package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey= + Debug + annotation-1.2.0.dex.jar;asynclayoutinflater-1.0.0.dex.jar;billing-4.0.0.dex.jar;browser-1.0.0.dex.jar;cloud-messaging.dex.jar;collection-1.0.0.dex.jar;coordinatorlayout-1.0.0.dex.jar;core-1.5.0-rc02.dex.jar;core-common-2.0.1.dex.jar;core-runtime-2.0.1.dex.jar;cursoradapter-1.0.0.dex.jar;customview-1.0.0.dex.jar;documentfile-1.0.0.dex.jar;drawerlayout-1.0.0.dex.jar;firebase-annotations-16.0.0.dex.jar;firebase-common-20.0.0.dex.jar;firebase-components-17.0.0.dex.jar;firebase-datatransport-18.0.0.dex.jar;firebase-encoders-17.0.0.dex.jar;firebase-encoders-json-18.0.0.dex.jar;firebase-iid-interop-17.1.0.dex.jar;firebase-installations-17.0.0.dex.jar;firebase-installations-interop-17.0.0.dex.jar;firebase-measurement-connector-19.0.0.dex.jar;firebase-messaging-22.0.0.dex.jar;fmx.dex.jar;fragment-1.0.0.dex.jar;google-play-licensing.dex.jar;interpolator-1.0.0.dex.jar;javax.inject-1.dex.jar;legacy-support-core-ui-1.0.0.dex.jar;legacy-support-core-utils-1.0.0.dex.jar;lifecycle-common-2.0.0.dex.jar;lifecycle-livedata-2.0.0.dex.jar;lifecycle-livedata-core-2.0.0.dex.jar;lifecycle-runtime-2.0.0.dex.jar;lifecycle-service-2.0.0.dex.jar;lifecycle-viewmodel-2.0.0.dex.jar;listenablefuture-1.0.dex.jar;loader-1.0.0.dex.jar;localbroadcastmanager-1.0.0.dex.jar;play-services-ads-20.1.0.dex.jar;play-services-ads-base-20.1.0.dex.jar;play-services-ads-identifier-17.0.0.dex.jar;play-services-ads-lite-20.1.0.dex.jar;play-services-base-17.5.0.dex.jar;play-services-basement-17.6.0.dex.jar;play-services-cloud-messaging-16.0.0.dex.jar;play-services-drive-17.0.0.dex.jar;play-services-games-21.0.0.dex.jar;play-services-location-18.0.0.dex.jar;play-services-maps-17.0.1.dex.jar;play-services-measurement-base-18.0.0.dex.jar;play-services-measurement-sdk-api-18.0.0.dex.jar;play-services-places-placereport-17.0.0.dex.jar;play-services-stats-17.0.0.dex.jar;play-services-tasks-17.2.0.dex.jar;print-1.0.0.dex.jar;room-common-2.1.0.dex.jar;room-runtime-2.1.0.dex.jar;slidingpanelayout-1.0.0.dex.jar;sqlite-2.0.1.dex.jar;sqlite-framework-2.0.1.dex.jar;swiperefreshlayout-1.0.0.dex.jar;transport-api-3.0.0.dex.jar;transport-backend-cct-3.0.0.dex.jar;transport-runtime-3.0.0.dex.jar;user-messaging-platform-1.0.0.dex.jar;versionedparcelable-1.1.1.dex.jar;viewpager-1.0.0.dex.jar;work-runtime-2.1.0.dex.jar + + + CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0;CFBundleShortVersionString=1.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;NSLocationAlwaysAndWhenInUseUsageDescription=The reason for accessing the location information of the user;UIBackgroundModes=;NSContactsUsageDescription=The reason for accessing the contacts;NSPhotoLibraryUsageDescription=The reason for accessing the photo library;NSPhotoLibraryAddUsageDescription=The reason for adding to the photo library;NSCameraUsageDescription=The reason for accessing the camera;NSFaceIDUsageDescription=The reason for accessing the face id;NSMicrophoneUsageDescription=The reason for accessing the microphone;NSSiriUsageDescription=The reason for accessing Siri;ITSAppUsesNonExemptEncryption=false;NSBluetoothAlwaysUsageDescription=The reason for accessing bluetooth;NSBluetoothPeripheralUsageDescription=The reason for accessing bluetooth peripherals;NSCalendarsUsageDescription=The reason for accessing the calendar data;NSRemindersUsageDescription=The reason for accessing the reminders;NSMotionUsageDescription=The reason for accessing the accelerometer;NSSpeechRecognitionUsageDescription=The reason for requesting to send user data to Apple's speech recognition servers + iPhoneAndiPad + true + Debug + $(MSBuildProjectName) + + + CFBundleName=$(MSBuildProjectName);CFBundleDevelopmentRegion=en;CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleInfoDictionaryVersion=7.1;CFBundleVersion=1.0.0;CFBundleShortVersionString=1.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;LSRequiresIPhoneOS=true;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);UIDeviceFamily=iPhone & iPad;NSLocationAlwaysUsageDescription=The reason for accessing the location information of the user;NSLocationWhenInUseUsageDescription=The reason for accessing the location information of the user;NSLocationAlwaysAndWhenInUseUsageDescription=The reason for accessing the location information of the user;UIBackgroundModes=;NSContactsUsageDescription=The reason for accessing the contacts;NSPhotoLibraryUsageDescription=The reason for accessing the photo library;NSPhotoLibraryAddUsageDescription=The reason for adding to the photo library;NSCameraUsageDescription=The reason for accessing the camera;NSFaceIDUsageDescription=The reason for accessing the face id;NSMicrophoneUsageDescription=The reason for accessing the microphone;NSSiriUsageDescription=The reason for accessing Siri;ITSAppUsesNonExemptEncryption=false;NSBluetoothAlwaysUsageDescription=The reason for accessing bluetooth;NSBluetoothPeripheralUsageDescription=The reason for accessing bluetooth peripherals;NSCalendarsUsageDescription=The reason for accessing the calendar data;NSRemindersUsageDescription=The reason for accessing the reminders;NSMotionUsageDescription=The reason for accessing the accelerometer;NSSpeechRecognitionUsageDescription=The reason for requesting to send user data to Apple's speech recognition servers + iPhoneAndiPad + true + + + CFBundleName=$(MSBuildProjectName);CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleVersion=1.0.0;CFBundleShortVersionString=1.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);NSHighResolutionCapable=true;LSApplicationCategoryType=public.app-category.utilities;NSLocationUsageDescription=The reason for accessing the location information of the user;NSContactsUsageDescription=The reason for accessing the contacts;NSCalendarsUsageDescription=The reason for accessing the calendar data;NSRemindersUsageDescription=The reason for accessing the reminders;NSCameraUsageDescription=The reason for accessing the camera;NSMicrophoneUsageDescription=The reason for accessing the microphone;NSMotionUsageDescription=The reason for accessing the accelerometer;NSDesktopFolderUsageDescription=The reason for accessing the Desktop folder;NSDocumentsFolderUsageDescription=The reason for accessing the Documents folder;NSDownloadsFolderUsageDescription=The reason for accessing the Downloads folder;NSNetworkVolumesUsageDescription=The reason for accessing files on a network volume;NSRemovableVolumesUsageDescription=The reason for accessing files on a removable volume;NSSpeechRecognitionUsageDescription=The reason for requesting to send user data to Apple's speech recognition servers + Debug + + + CFBundleName=$(MSBuildProjectName);CFBundleDisplayName=$(MSBuildProjectName);CFBundleIdentifier=$(MSBuildProjectName);CFBundleVersion=1.0.0;CFBundleShortVersionString=1.0.0;CFBundlePackageType=APPL;CFBundleSignature=????;CFBundleAllowMixedLocalizations=YES;CFBundleExecutable=$(MSBuildProjectName);NSHighResolutionCapable=true;LSApplicationCategoryType=public.app-category.utilities;NSLocationUsageDescription=The reason for accessing the location information of the user;NSContactsUsageDescription=The reason for accessing the contacts;NSCalendarsUsageDescription=The reason for accessing the calendar data;NSRemindersUsageDescription=The reason for accessing the reminders;NSCameraUsageDescription=The reason for accessing the camera;NSMicrophoneUsageDescription=The reason for accessing the microphone;NSMotionUsageDescription=The reason for accessing the accelerometer;NSDesktopFolderUsageDescription=The reason for accessing the Desktop folder;NSDocumentsFolderUsageDescription=The reason for accessing the Documents folder;NSDownloadsFolderUsageDescription=The reason for accessing the Downloads folder;NSNetworkVolumesUsageDescription=The reason for accessing files on a network volume;NSRemovableVolumesUsageDescription=The reason for accessing files on a removable volume;NSSpeechRecognitionUsageDescription=The reason for requesting to send user data to Apple's speech recognition servers + Debug + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) + Debug + true + 1033 + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + Debug + true + 1033 + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + Debug + true + 1033 + + + DEBUG;$(DCC_Define) + true + false + true + true + true + true + true + + + false + true + 1033 + + + false + RELEASE;$(DCC_Define) + 0 + 0 + + + + MainSource + + + + + + + + + + + + + + + + + + Base + + + Cfg_1 + Base + + + Cfg_2 + Base + + + + Delphi.Personality.12 + Package + + + + CEF4DelphiFMXRTL.dpk + + + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components + + + + + + true + + + + + true + + + + + true + + + + + + + + 1 + + + 0 + + + + + res\xml + 1 + + + res\xml + 1 + + + + + library\lib\armeabi + 1 + + + library\lib\armeabi + 1 + + + + + library\lib\armeabi-v7a + 1 + + + + + library\lib\mips + 1 + + + library\lib\mips + 1 + + + + + library\lib\armeabi-v7a + 1 + + + library\lib\arm64-v8a + 1 + + + + + library\lib\armeabi-v7a + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-anydpi-v21 + 1 + + + res\drawable-anydpi-v21 + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\values-v21 + 1 + + + res\values-v21 + 1 + + + + + res\values-v31 + 1 + + + res\values-v31 + 1 + + + + + res\values-v35 + 1 + + + res\values-v35 + 1 + + + + + res\drawable-anydpi-v26 + 1 + + + res\drawable-anydpi-v26 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-anydpi-v33 + 1 + + + res\drawable-anydpi-v33 + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\values-night-v21 + 1 + + + res\values-night-v21 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-xxhdpi + 1 + + + res\drawable-xxhdpi + 1 + + + + + res\drawable-xxxhdpi + 1 + + + res\drawable-xxxhdpi + 1 + + + + + res\drawable-ldpi + 1 + + + res\drawable-ldpi + 1 + + + + + res\drawable-mdpi + 1 + + + res\drawable-mdpi + 1 + + + + + res\drawable-hdpi + 1 + + + res\drawable-hdpi + 1 + + + + + res\drawable-xhdpi + 1 + + + res\drawable-xhdpi + 1 + + + + + res\drawable-mdpi + 1 + + + res\drawable-mdpi + 1 + + + + + res\drawable-hdpi + 1 + + + res\drawable-hdpi + 1 + + + + + res\drawable-xhdpi + 1 + + + res\drawable-xhdpi + 1 + + + + + res\drawable-xxhdpi + 1 + + + res\drawable-xxhdpi + 1 + + + + + res\drawable-xxxhdpi + 1 + + + res\drawable-xxxhdpi + 1 + + + + + res\drawable-small + 1 + + + res\drawable-small + 1 + + + + + res\drawable-normal + 1 + + + res\drawable-normal + 1 + + + + + res\drawable-large + 1 + + + res\drawable-large + 1 + + + + + res\drawable-xlarge + 1 + + + res\drawable-xlarge + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\drawable-anydpi-v24 + 1 + + + res\drawable-anydpi-v24 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-night-anydpi-v21 + 1 + + + res\drawable-night-anydpi-v21 + 1 + + + + + res\drawable-anydpi-v31 + 1 + + + res\drawable-anydpi-v31 + 1 + + + + + res\drawable-night-anydpi-v31 + 1 + + + res\drawable-night-anydpi-v31 + 1 + + + + + 1 + + + 1 + + + 0 + + + + + 1 + .framework + + + 1 + .framework + + + 1 + .framework + + + 0 + + + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 0 + .dll;.bpl + + + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 0 + .bpl + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + 1 + + + 1 + + + + + + + + Contents\Resources + 1 + + + Contents\Resources + 1 + + + Contents\Resources + 1 + + + + + library\lib\armeabi-v7a + 1 + + + library\lib\arm64-v8a + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 0 + + + + + library\lib\armeabi-v7a + 1 + + + + + 1 + + + 1 + + + 1 + + + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + + + + + + 1 + + + 1 + + + 1 + + + + + Assets + 1 + + + Assets + 1 + + + + + Assets + 1 + + + Assets + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + + + + + + + + + + + + + + False + False + False + False + False + False + True + True + False + + + 12 + + + + + diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.res b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.res new file mode 100644 index 00000000000..894f8d7054b Binary files /dev/null and b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiFMXRTL.res differ diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX_Register.pas b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLFMX_Register.pas similarity index 70% rename from common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX_Register.pas rename to common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLFMX_Register.pas index 785f366c4e1..ceab9435086 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX_Register.pas +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLFMX_Register.pas @@ -10,7 +10,7 @@ // For more information about CEF4Delphi visit : // https://www.briskbard.com/index.php?lang=en&pageid=cef // -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. +// Copyright © 2023 Salvador Diaz Fau. All rights reserved. // // ************************************************************************ // ************ vvvv Original license and comments below vvvv ************* @@ -35,11 +35,14 @@ * *) -unit CEF4Delphi_FMX_Register; +unit CEF4DelphiVCLFMX_Register; {$R res\chromium.dcr} -{$I cef.inc} +{$I ..\source\cef.inc} + +// Disable this DEFINE if your Delphi installation can't find ToolsAPI.pas or designide.dcp +{$DEFINE ADDSPLASHSCREENLOGO} interface @@ -48,7 +51,7 @@ procedure Register; implementation uses - System.Classes, + System.Classes, Winapi.Windows, System.SysUtils, {$IFDEF ADDSPLASHSCREENLOGO}ToolsApi,{$ENDIF} uCEFChromium, uCEFWindowParent, uCEFChromiumWindow, uCEFBufferPanel, uCEFWorkScheduler, uCEFFMXBufferPanel, uCEFFMXChromium, uCEFFMXWorkScheduler, uCEFServerComponent, uCEFLinkedWindowParent, uCEFUrlRequestClientComponent, @@ -56,6 +59,31 @@ implementation uCEFMenuButtonComponent, uCEFPanelComponent, uCEFTextfieldComponent, uCEFScrollViewComponent, uCEFWindowComponent; +{$IFDEF ADDSPLASHSCREENLOGO} +procedure AddBitmapToSplashScreen; +const + {$I ..\source\uCEFVersion.inc} +var + TempBitmap : HBITMAP; + TempVersion : string; +begin + if assigned(SplashScreenServices) then + begin + TempBitmap := LoadBitmap(FindResourceHInstance(HInstance), 'TChromium'); + try + TempVersion := IntToStr(CEF_SUPPORTED_VERSION_MAJOR) + '.' + + IntToStr(CEF_SUPPORTED_VERSION_MINOR) + '.' + + IntToStr(CEF_SUPPORTED_VERSION_RELEASE) + '.' + + IntToStr(CEF_SUPPORTED_VERSION_BUILD); + + SplashScreenServices.AddPluginBitmap('CEF4Delphi ' + TempVersion, TempBitmap, False, 'MPL 1.1 license'); + finally + DeleteObject(TempBitmap); + end; + end; +end; +{$ENDIF} + procedure Register; begin RegisterComponents('Chromium', @@ -71,6 +99,10 @@ procedure Register; TCEFMenuButtonComponent, TCEFPanelComponent, TCEFTextfieldComponent, TCEFScrollViewComponent, TCEFWindowComponent]); + + {$IFDEF ADDSPLASHSCREENLOGO} + AddBitmapToSplashScreen; + {$ENDIF} end; end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dpk b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dpk similarity index 85% rename from common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dpk rename to common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dpk index 3d84d9d06b2..7dc13768f75 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dpk +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dpk @@ -1,4 +1,5 @@ -package CEF4Delphi_FMX; +package CEF4DelphiVCLRTL; + {$R *.res} {$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} {$ALIGN 8} @@ -11,182 +12,169 @@ package CEF4Delphi_FMX; {$LOCALSYMBOLS ON} {$LONGSTRINGS ON} {$OPENSTRINGS ON} -{$OPTIMIZATION ON} -{$OVERFLOWCHECKS ON} -{$RANGECHECKS ON} +{$OPTIMIZATION OFF} +{$OVERFLOWCHECKS OFF} +{$RANGECHECKS OFF} {$REFERENCEINFO ON} {$SAFEDIVIDE OFF} -{$STACKFRAMES OFF} +{$STACKFRAMES ON} {$TYPEDADDRESS OFF} {$VARSTRINGCHECKS ON} {$WRITEABLECONST OFF} {$MINENUMSIZE 1} {$IMAGEBASE $400000} -{$DEFINE $(FrameworkType)} +{$DEFINE DEBUG} {$ENDIF IMPLICITBUILDING} -{$DESCRIPTION 'CEF4Delphi'} -{$IMPLICITBUILD OFF} +{$DESCRIPTION 'CEF4Delphi Runtime'} +{$RUNONLY} +{$IMPLICITBUILD ON} requires rtl, - vcl, - fmx; + vcl; contains - CEF4Delphi_FMX_Register in 'CEF4Delphi_FMX_Register.pas', - uCEFFindHandler in '..\source\uCEFFindHandler.pas', - uCEFConstants in '..\source\uCEFConstants.pas', - uCEFTypes in '..\source\uCEFTypes.pas', - uCEFInterfaces in '..\source\uCEFInterfaces.pas', - uCEFMiscFunctions in '..\source\uCEFMiscFunctions.pas', - uCEFLibFunctions in '..\source\uCEFLibFunctions.pas', + uCEFAccessibilityHandler in '..\source\uCEFAccessibilityHandler.pas', + uCEFApp in '..\source\uCEFApp.pas', uCEFApplication in '..\source\uCEFApplication.pas', - uCEFSchemeRegistrar in '..\source\uCEFSchemeRegistrar.pas', - uCEFCommandLine in '..\source\uCEFCommandLine.pas', - uCEFClient in '..\source\uCEFClient.pas', - uCEFProcessMessage in '..\source\uCEFProcessMessage.pas', - uCEFBrowser in '..\source\uCEFBrowser.pas', - uCEFListValue in '..\source\uCEFListValue.pas', + uCEFApplicationCore in '..\source\uCEFApplicationCore.pas', + uCEFAuthCallback in '..\source\uCEFAuthCallback.pas', + uCEFBaseRefCounted in '..\source\uCEFBaseRefCounted.pas', + uCEFBaseScopedWrapper in '..\source\uCEFBaseScopedWrapper.pas', + uCEFBeforeDownloadCallback in '..\source\uCEFBeforeDownloadCallback.pas', uCEFBinaryValue in '..\source\uCEFBinaryValue.pas', - uCEFValue in '..\source\uCEFValue.pas', - uCEFDictionaryValue in '..\source\uCEFDictionaryValue.pas', - uCEFDownloadImageCallBack in '..\source\uCEFDownloadImageCallBack.pas', - uCEFFrame in '..\source\uCEFFrame.pas', - uCEFPDFPrintCallback in '..\source\uCEFPDFPrintCallback.pas', - uCEFRunFileDialogCallback in '..\source\uCEFRunFileDialogCallback.pas', - uCEFRequestContext in '..\source\uCEFRequestContext.pas', - uCEFNavigationEntryVisitor in '..\source\uCEFNavigationEntryVisitor.pas', - uCEFStringVisitor in '..\source\uCEFStringVisitor.pas', - uCEFv8Context in '..\source\uCEFv8Context.pas', - uCEFDomVisitor in '..\source\uCEFDomVisitor.pas', - uCEFNavigationEntry in '..\source\uCEFNavigationEntry.pas', - uCEFCookieManager in '..\source\uCEFCookieManager.pas', + uCEFBrowser in '..\source\uCEFBrowser.pas', + uCEFBrowserProcessHandler in '..\source\uCEFBrowserProcessHandler.pas', + uCEFBufferPanel in '..\source\uCEFBufferPanel.pas', + uCEFCallback in '..\source\uCEFCallback.pas', + uCEFChromium in '..\source\uCEFChromium.pas', + uCEFChromiumCore in '..\source\uCEFChromiumCore.pas', + uCEFChromiumEvents in '..\source\uCEFChromiumEvents.pas', + uCEFChromiumFontOptions in '..\source\uCEFChromiumFontOptions.pas', + uCEFChromiumOptions in '..\source\uCEFChromiumOptions.pas', + uCEFChromiumWindow in '..\source\uCEFChromiumWindow.pas', + uCEFClient in '..\source\uCEFClient.pas', + uCEFCommandLine in '..\source\uCEFCommandLine.pas', uCEFCompletionCallback in '..\source\uCEFCompletionCallback.pas', - uCEFRequestContextHandler in '..\source\uCEFRequestContextHandler.pas', - uCEFWebPluginInfo in '..\source\uCEFWebPluginInfo.pas', - uCEFDomDocument in '..\source\uCEFDomDocument.pas', - uCEFDomNode in '..\source\uCEFDomNode.pas', - uCEFv8Value in '..\source\uCEFv8Value.pas', - uCEFv8Accessor in '..\source\uCEFv8Accessor.pas', - uCEFLoadHandler in '..\source\uCEFLoadHandler.pas', - uCEFFocusHandler in '..\source\uCEFFocusHandler.pas', + uCEFConstants in '..\source\uCEFConstants.pas', uCEFContextMenuHandler in '..\source\uCEFContextMenuHandler.pas', + uCEFContextMenuParams in '..\source\uCEFContextMenuParams.pas', + uCEFCookieAccessFilter in '..\source\uCEFCookieAccessFilter.pas', + uCEFCookieManager in '..\source\uCEFCookieManager.pas', + uCEFCookieVisitor in '..\source\uCEFCookieVisitor.pas', + uCEFCustomStreamReader in '..\source\uCEFCustomStreamReader.pas', + uCEFDeleteCookiesCallback in '..\source\uCEFDeleteCookiesCallback.pas', uCEFDialogHandler in '..\source\uCEFDialogHandler.pas', - uCEFKeyboardHandler in '..\source\uCEFKeyboardHandler.pas', + uCEFDictionaryValue in '..\source\uCEFDictionaryValue.pas', uCEFDisplayHandler in '..\source\uCEFDisplayHandler.pas', + uCEFDomDocument in '..\source\uCEFDomDocument.pas', + uCEFDomNode in '..\source\uCEFDomNode.pas', + uCEFDomVisitor in '..\source\uCEFDomVisitor.pas', uCEFDownloadHandler in '..\source\uCEFDownloadHandler.pas', - uCEFJsDialogHandler in '..\source\uCEFJsDialogHandler.pas', - uCEFLifeSpanHandler in '..\source\uCEFLifeSpanHandler.pas', - uCEFRequestHandler in '..\source\uCEFRequestHandler.pas', - uCEFRenderHandler in '..\source\uCEFRenderHandler.pas', - uCEFDragHandler in '..\source\uCEFDragHandler.pas', - uCEFPostData in '..\source\uCEFPostData.pas', - uCEFPostDataElement in '..\source\uCEFPostDataElement.pas', - uCEFRequest in '..\source\uCEFRequest.pas', - uCEFStreamReader in '..\source\uCEFStreamReader.pas', - uCEFWriteHandler in '..\source\uCEFWriteHandler.pas', - uCEFStreamWriter in '..\source\uCEFStreamWriter.pas', - uCEFv8StackFrame in '..\source\uCEFv8StackFrame.pas', - uCEFv8StackTrace in '..\source\uCEFv8StackTrace.pas', - uCEFv8Handler in '..\source\uCEFv8Handler.pas', - uCEFRequestCallback in '..\source\uCEFRequestCallback.pas', - uCEFCustomStreamReader in '..\source\uCEFCustomStreamReader.pas', - uCEFCallback in '..\source\uCEFCallback.pas', - uCEFResourceHandler in '..\source\uCEFResourceHandler.pas', - uCEFSchemeHandlerFactory in '..\source\uCEFSchemeHandlerFactory.pas', - uCEFTask in '..\source\uCEFTask.pas', - uCEFTaskRunner in '..\source\uCEFTaskRunner.pas', - uCEFStringMap in '..\source\uCEFStringMap.pas', - uCEFStringMultimap in '..\source\uCEFStringMultimap.pas', - uCEFXmlReader in '..\source\uCEFXmlReader.pas', - uCEFZipReader in '..\source\uCEFZipReader.pas', - uCEFResponse in '..\source\uCEFResponse.pas', - uCEFCookieVisitor in '..\source\uCEFCookieVisitor.pas', - uCEFv8Exception in '..\source\uCEFv8Exception.pas', - uCEFResourceBundleHandler in '..\source\uCEFResourceBundleHandler.pas', - uCEFSetCookieCallback in '..\source\uCEFSetCookieCallback.pas', - uCEFDeleteCookiesCallback in '..\source\uCEFDeleteCookiesCallback.pas', + uCEFDownloadImageCallBack in '..\source\uCEFDownloadImageCallBack.pas', uCEFDownLoadItem in '..\source\uCEFDownLoadItem.pas', - uCEFBeforeDownloadCallback in '..\source\uCEFBeforeDownloadCallback.pas', uCEFDownloadItemCallback in '..\source\uCEFDownloadItemCallback.pas', - uCEFAuthCallback in '..\source\uCEFAuthCallback.pas', + uCEFDragAndDropMgr in '..\source\uCEFDragAndDropMgr.pas', + uCEFDragData in '..\source\uCEFDragData.pas', + uCEFDragHandler in '..\source\uCEFDragHandler.pas', + uCEFEndTracingCallback in '..\source\uCEFEndTracingCallback.pas', + uCEFFileDialogCallback in '..\source\uCEFFileDialogCallback.pas', + uCEFFindHandler in '..\source\uCEFFindHandler.pas', + uCEFFocusHandler in '..\source\uCEFFocusHandler.pas', + uCEFFrame in '..\source\uCEFFrame.pas', + uCEFImage in '..\source\uCEFImage.pas', + uCEFInterfaces in '..\source\uCEFInterfaces.pas', uCEFJsDialogCallback in '..\source\uCEFJsDialogCallback.pas', - uCEFContextMenuParams in '..\source\uCEFContextMenuParams.pas', + uCEFJsDialogHandler in '..\source\uCEFJsDialogHandler.pas', + uCEFKeyboardHandler in '..\source\uCEFKeyboardHandler.pas', + uCEFLibFunctions in '..\source\uCEFLibFunctions.pas', + uCEFLifeSpanHandler in '..\source\uCEFLifeSpanHandler.pas', + uCEFLinkedWindowParent in '..\source\uCEFLinkedWindowParent.pas', + uCEFListValue in '..\source\uCEFListValue.pas', + uCEFLoadHandler in '..\source\uCEFLoadHandler.pas', + uCEFMediaObserver in '..\source\uCEFMediaObserver.pas', + uCEFMediaRoute in '..\source\uCEFMediaRoute.pas', + uCEFMediaRouteCreateCallback in '..\source\uCEFMediaRouteCreateCallback.pas', + uCEFMediaRouter in '..\source\uCEFMediaRouter.pas', + uCEFMediaSink in '..\source\uCEFMediaSink.pas', + uCEFMediaSource in '..\source\uCEFMediaSource.pas', uCEFMenuModel in '..\source\uCEFMenuModel.pas', - uCEFBrowserProcessHandler in '..\source\uCEFBrowserProcessHandler.pas', + uCEFMenuModelDelegate in '..\source\uCEFMenuModelDelegate.pas', + uCEFMiscFunctions in '..\source\uCEFMiscFunctions.pas', + uCEFNavigationEntry in '..\source\uCEFNavigationEntry.pas', + uCEFNavigationEntryVisitor in '..\source\uCEFNavigationEntryVisitor.pas', + uCEFOAuth2Helper in '..\source\uCEFOAuth2Helper.pas', + uCEFOLEDragAndDrop in '..\source\uCEFOLEDragAndDrop.pas', + uCEFOSRIMEHandler in '..\source\uCEFOSRIMEHandler.pas', + uCEFPDFPrintCallback in '..\source\uCEFPDFPrintCallback.pas', + uCEFPDFPrintOptions in '..\source\uCEFPDFPrintOptions.pas', + uCEFPostData in '..\source\uCEFPostData.pas', + uCEFPostDataElement in '..\source\uCEFPostDataElement.pas', + uCEFPrintSettings in '..\source\uCEFPrintSettings.pas', + uCEFProcessMessage in '..\source\uCEFProcessMessage.pas', + uCEFRegistration in '..\source\uCEFRegistration.pas', + uCEFRenderHandler in '..\source\uCEFRenderHandler.pas', uCEFRenderProcessHandler in '..\source\uCEFRenderProcessHandler.pas', - uCEFUrlrequestClient in '..\source\uCEFUrlrequestClient.pas', - uCEFUrlRequest in '..\source\uCEFUrlRequest.pas', - uCEFWebPluginInfoVisitor in '..\source\uCEFWebPluginInfoVisitor.pas', - uCEFWebPluginUnstableCallback in '..\source\uCEFWebPluginUnstableCallback.pas', - uCEFEndTracingCallback in '..\source\uCEFEndTracingCallback.pas', - uCEFFileDialogCallback in '..\source\uCEFFileDialogCallback.pas', - uCEFDragData in '..\source\uCEFDragData.pas', + uCEFRequest in '..\source\uCEFRequest.pas', + uCEFRequestContext in '..\source\uCEFRequestContext.pas', + uCEFRequestContextHandler in '..\source\uCEFRequestContextHandler.pas', + uCEFRequestHandler in '..\source\uCEFRequestHandler.pas', uCEFResolveCallback in '..\source\uCEFResolveCallback.pas', - uCEFPrintSettings in '..\source\uCEFPrintSettings.pas', - uCEFSslInfo in '..\source\uCEFSslInfo.pas', - uCEFRunContextMenuCallback in '..\source\uCEFRunContextMenuCallback.pas', uCEFResourceBundle in '..\source\uCEFResourceBundle.pas', + uCEFResourceBundleHandler in '..\source\uCEFResourceBundleHandler.pas', + uCEFResourceHandler in '..\source\uCEFResourceHandler.pas', + uCEFResourceReadCallback in '..\source\uCEFResourceReadCallback.pas', + uCEFResourceRequestHandler in '..\source\uCEFResourceRequestHandler.pas', + uCEFResourceSkipCallback in '..\source\uCEFResourceSkipCallback.pas', + uCEFResponse in '..\source\uCEFResponse.pas', uCEFResponseFilter in '..\source\uCEFResponseFilter.pas', - uCEFImage in '..\source\uCEFImage.pas', - uCEFMenuModelDelegate in '..\source\uCEFMenuModelDelegate.pas', - uCEFWindowParent in '..\source\uCEFWindowParent.pas', - uCEFChromiumCore in '..\source\uCEFChromiumCore.pas', - uCEFChromium in '..\source\uCEFChromium.pas', - uCEFChromiumEvents in '..\source\uCEFChromiumEvents.pas', - uCEFChromiumOptions in '..\source\uCEFChromiumOptions.pas', - uCEFChromiumFontOptions in '..\source\uCEFChromiumFontOptions.pas', - uCEFPDFPrintOptions in '..\source\uCEFPDFPrintOptions.pas', - uCEFRegisterCDMCallback in '..\source\uCEFRegisterCDMCallback.pas', - uCEFThread in '..\source\uCEFThread.pas', - uCEFv8Interceptor in '..\source\uCEFv8Interceptor.pas', - uCEFWaitableEvent in '..\source\uCEFWaitableEvent.pas', - uCEFX509CertPrincipal in '..\source\uCEFX509CertPrincipal.pas', - uCEFX509Certificate in '..\source\uCEFX509Certificate.pas', - uCEFSSLStatus in '..\source\uCEFSSLStatus.pas', + uCEFRunContextMenuCallback in '..\source\uCEFRunContextMenuCallback.pas', + uCEFRunFileDialogCallback in '..\source\uCEFRunFileDialogCallback.pas', + uCEFSchemeHandlerFactory in '..\source\uCEFSchemeHandlerFactory.pas', + uCEFSchemeRegistrar in '..\source\uCEFSchemeRegistrar.pas', uCEFSelectClientCertificateCallback in '..\source\uCEFSelectClientCertificateCallback.pas', - uCEFChromiumWindow in '..\source\uCEFChromiumWindow.pas', - uCEFBaseRefCounted in '..\source\uCEFBaseRefCounted.pas', - uCEFBaseScopedWrapper in '..\source\uCEFBaseScopedWrapper.pas', - uCEFAccessibilityHandler in '..\source\uCEFAccessibilityHandler.pas', - uCEFOLEDragAndDrop in '..\source\uCEFOLEDragAndDrop.pas', - uCEFDragAndDropMgr in '..\source\uCEFDragAndDropMgr.pas', - uCEFGetExtensionResourceCallback in '..\source\uCEFGetExtensionResourceCallback.pas', - uCEFExtension in '..\source\uCEFExtension.pas', - uCEFExtensionHandler in '..\source\uCEFExtensionHandler.pas', - uCEFBufferPanel in '..\source\uCEFBufferPanel.pas', - uCEFApp in '..\source\uCEFApp.pas', - uCEFWorkScheduler in '..\source\uCEFWorkScheduler.pas', - uCEFWorkSchedulerThread in '..\source\uCEFWorkSchedulerThread.pas', + uCEFSentinel in '..\source\uCEFSentinel.pas', uCEFServer in '..\source\uCEFServer.pas', - uCEFServerHandler in '..\source\uCEFServerHandler.pas', - uCEFServerEvents in '..\source\uCEFServerEvents.pas', uCEFServerComponent in '..\source\uCEFServerComponent.pas', - uCEFFMXBufferPanel in '..\source\uCEFFMXBufferPanel.pas', - uCEFFMXChromium in '..\source\uCEFFMXChromium.pas', - uCEFFMXWorkScheduler in '..\source\uCEFFMXWorkScheduler.pas', + uCEFServerEvents in '..\source\uCEFServerEvents.pas', + uCEFServerHandler in '..\source\uCEFServerHandler.pas', + uCEFSetCookieCallback in '..\source\uCEFSetCookieCallback.pas', + uCEFSslInfo in '..\source\uCEFSslInfo.pas', + uCEFSSLStatus in '..\source\uCEFSSLStatus.pas', + uCEFStreamReader in '..\source\uCEFStreamReader.pas', + uCEFStreamWriter in '..\source\uCEFStreamWriter.pas', uCEFStringList in '..\source\uCEFStringList.pas', - uCEFFMXWindowParent in '..\source\uCEFFMXWindowParent.pas', + uCEFStringMap in '..\source\uCEFStringMap.pas', + uCEFStringMultimap in '..\source\uCEFStringMultimap.pas', + uCEFStringVisitor in '..\source\uCEFStringVisitor.pas', + uCEFTask in '..\source\uCEFTask.pas', + uCEFTaskRunner in '..\source\uCEFTaskRunner.pas', + uCEFThread in '..\source\uCEFThread.pas', + uCEFTypes in '..\source\uCEFTypes.pas', + uCEFUrlRequest in '..\source\uCEFUrlRequest.pas', + uCEFUrlrequestClient in '..\source\uCEFUrlrequestClient.pas', + uCEFUrlRequestClientComponent in '..\source\uCEFUrlRequestClientComponent.pas', + uCEFUrlRequestClientEvents in '..\source\uCEFUrlRequestClientEvents.pas', + uCEFv8Accessor in '..\source\uCEFv8Accessor.pas', uCEFv8ArrayBufferReleaseCallback in '..\source\uCEFv8ArrayBufferReleaseCallback.pas', + uCEFv8Context in '..\source\uCEFv8Context.pas', + uCEFv8Exception in '..\source\uCEFv8Exception.pas', + uCEFv8Handler in '..\source\uCEFv8Handler.pas', + uCEFv8Interceptor in '..\source\uCEFv8Interceptor.pas', + uCEFv8StackFrame in '..\source\uCEFv8StackFrame.pas', + uCEFv8StackTrace in '..\source\uCEFv8StackTrace.pas', + uCEFv8Value in '..\source\uCEFv8Value.pas', + uCEFValue in '..\source\uCEFValue.pas', + uCEFWaitableEvent in '..\source\uCEFWaitableEvent.pas', uCEFWinControl in '..\source\uCEFWinControl.pas', - uCEFLinkedWindowParent in '..\source\uCEFLinkedWindowParent.pas', - uCEFUrlRequestClientEvents in '..\source\uCEFUrlRequestClientEvents.pas', - uCEFUrlRequestClientComponent in '..\source\uCEFUrlRequestClientComponent.pas', - uCEFOSRIMEHandler in '..\source\uCEFOSRIMEHandler.pas', - uCEFCookieAccessFilter in '..\source\uCEFCookieAccessFilter.pas', - uCEFResourceRequestHandler in '..\source\uCEFResourceRequestHandler.pas', - uCEFResourceSkipCallback in '..\source\uCEFResourceSkipCallback.pas', - uCEFResourceReadCallback in '..\source\uCEFResourceReadCallback.pas', - uCEFSentinel in '..\source\uCEFSentinel.pas', - uCEFApplicationCore in '..\source\uCEFApplicationCore.pas', - uCEFOAuth2Helper in '..\source\uCEFOAuth2Helper.pas', - uCEFMediaSource in '..\source\uCEFMediaSource.pas', - uCEFMediaSink in '..\source\uCEFMediaSink.pas', - uCEFMediaRouteCreateCallback in '..\source\uCEFMediaRouteCreateCallback.pas', - uCEFMediaRoute in '..\source\uCEFMediaRoute.pas', - uCEFMediaObserver in '..\source\uCEFMediaObserver.pas', - uCEFMediaRouter in '..\source\uCEFMediaRouter.pas', - uCEFRegistration in '..\source\uCEFRegistration.pas', + uCEFWindowParent in '..\source\uCEFWindowParent.pas', + uCEFWorkScheduler in '..\source\uCEFWorkScheduler.pas', + uCEFWorkSchedulerThread in '..\source\uCEFWorkSchedulerThread.pas', + uCEFWriteHandler in '..\source\uCEFWriteHandler.pas', + uCEFX509Certificate in '..\source\uCEFX509Certificate.pas', + uCEFX509CertPrincipal in '..\source\uCEFX509CertPrincipal.pas', + uCEFXmlReader in '..\source\uCEFXmlReader.pas', + uCEFZipReader in '..\source\uCEFZipReader.pas', uCEFDisplay in '..\source\uCEFDisplay.pas', uCEFLayout in '..\source\uCEFLayout.pas', uCEFBoxLayout in '..\source\uCEFBoxLayout.pas', @@ -226,11 +214,33 @@ contains uCEFPrintHandler in '..\source\uCEFPrintHandler.pas', uCEFPrintDialogCallback in '..\source\uCEFPrintDialogCallback.pas', uCEFPrintJobCallback in '..\source\uCEFPrintJobCallback.pas', - uCEFLinuxConstants in '..\source\uCEFLinuxConstants.pas', - uCEFLinuxTypes in '..\source\uCEFLinuxTypes.pas', - uCEFLinuxFunctions in '..\source\uCEFLinuxFunctions.pas', uCEFWorkSchedulerQueueThread in '..\source\uCEFWorkSchedulerQueueThread.pas', - uCEFLinkedWinControlBase in '..\source\uCEFLinkedWinControlBase.pas'; + uCEFLinkedWinControlBase in '..\source\uCEFLinkedWinControlBase.pas', + uCEFFrameHandler in '..\source\uCEFFrameHandler.pas', + uCEFOverlayController in '..\source\uCEFOverlayController.pas', + uCEFFileDialogInfo in '..\source\uCEFFileDialogInfo.pas', + uCEFArgCopy in '..\source\uCEFArgCopy.pas', + uCEFCommandHandler in '..\source\uCEFCommandHandler.pas', + uCEFMediaAccessCallback in '..\source\uCEFMediaAccessCallback.pas', + uCEFPermissionPromptCallback in '..\source\uCEFPermissionPromptCallback.pas', + uCEFPermissionHandler in '..\source\uCEFPermissionHandler.pas', + uCEFSharedMemoryRegion in '..\source\uCEFSharedMemoryRegion.pas', + uCEFSharedProcessMessageBuilder in '..\source\uCEFSharedProcessMessageBuilder.pas', + uCEFRunQuickMenuCallback in '..\source\uCEFRunQuickMenuCallback.pas', + uCEFPreferenceRegistrar in '..\source\uCEFPreferenceRegistrar.pas', + uCEFPreferenceManager in '..\source\uCEFPreferenceManager.pas', + uCEFApplicationEvents in '..\source\uCEFApplicationEvents.pas', + uCEFBrowserBitmap in '..\source\uCEFBrowserBitmap.pas', + uCEFComponentIdList in '..\source\uCEFComponentIdList.pas', + uCEFUnresponsiveProcessCallback in '..\source\uCEFUnresponsiveProcessCallback.pas', + uCEFWindowInfoWrapper in '..\source\uCEFWindowInfoWrapper.pas', + uCEFTaskManager in '..\source\uCEFTaskManager.pas', + uCEFPreferenceObserver in '..\source\uCEFPreferenceObserver.pas', + uCEFSettingObserver in '..\source\uCEFSettingObserver.pas', + uCEFv8BackingStore in '..\source\uCEFv8BackingStore.pas', + uCEFComponentUpdater in '..\source\uCEFComponentUpdater.pas', + uCEFComponentUpdateCallback in '..\source\uCEFComponentUpdateCallback.pas', + uCEFComponent in '..\source\uCEFComponent.pas'; end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dproj b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dproj similarity index 75% rename from common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dproj rename to common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dproj index 030e648583c..d01931432e3 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.dproj +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.dproj @@ -1,14 +1,15 @@  - {2F51F1BD-0529-4B4A-BFD2-86FE96910A62} - CEF4Delphi_FMX.dpk - 19.2 + {72BCECD8-EF22-4015-A019-1D4ADE0AC5F0} + CEF4DelphiVCLRTL.dpk + 20.3 VCL True Debug Win32 3 Package + CEF4DelphiVCLRTL true @@ -23,6 +24,11 @@ Base true + + true + Base + true + true Base @@ -51,29 +57,7 @@ true true - - true - Base - true - - - true - Cfg_3 - true - true - - - true - Base - true - - All - true - System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) - CEF4Delphi_FMX - true - true .\$(Platform)\$(Config) .\$(Platform)\$(Config) false @@ -81,39 +65,51 @@ false false false - $(FrameworkType);$(DCC_Define) + true + true + System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) + All + true 3082 - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) - ..\source;$(DCC_UnitSearchPath) + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + CEF4Delphi Runtime + CEF4DelphiVCLRTL + $(CEF4DELPHI)\source;$(DCC_UnitSearchPath) - rtl;vcl;fmx;$(DCC_UsePackage) - 1033 Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) - CompanyName=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName);ProductName=$(MSBuildProjectName) + Debug true + 1033 - rtl;vcl;fmx;$(DCC_UsePackage) Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) Debug true - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 1033 - - CompanyName=;FileVersion=1.0.0.0;InternalName=CEF4Delphi;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=CEF4Delphi;ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName);FileDescription=$(MSBuildProjectName) - CEF4Delphi - 1033 + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + Debug true + 1033 + + + DEBUG;$(DCC_Define) + true + false + true + true + true + + false - true - true + true + 1033 true 1033 - CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= false @@ -124,23 +120,7 @@ true 1033 - - - true - true - 1033 - true - true - - - DEBUG;INTFLOG;$(DCC_Define) - 3082 - true - false - true - true - true - FileVersion=1.0.0.0 + CEF4Delphi VCL Runtime @@ -148,161 +128,147 @@ - - - - - - - - + + - - - - - - + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - + + + + + + + - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + + + + + + - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + - - - - - - - + + + + - - - + + + + + + - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - + - - - - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + @@ -341,29 +307,43 @@ - - - - - - - - Base - - - Cfg_4 - Base - - - Cfg_2 - Base + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Base Cfg_1 Base - - Cfg_3 + + Cfg_2 Base @@ -372,36 +352,25 @@ Package - - CEF4Delphi_FMX.dpk - - IP Abstraction Indy Implementation Design Time - DBExpress Enterprise Data Explorer Integration - Microsoft Office 2000 Sample Automation Server Wrapper Components - Microsoft Office XP Sample Automation Server Wrapper Components + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components + + CEF4DelphiVCLRTL.dpk + - + - - - CEF4Delphi_FMX.bpl - true - - + - - - CEF4Delphi_FMX.bpl - true - - - - - + + + + + - CEF4Delphi_FMX.bpl + CEF4DelphiVCLRTL.bpl true @@ -413,16 +382,6 @@ 0 - - - classes - 1 - - - classes - 1 - - res\xml @@ -433,12 +392,6 @@ 1 - - - library\lib\armeabi-v7a - 1 - - library\lib\armeabi @@ -491,27 +444,17 @@ 1 - - - res\values - 1 - - - res\values - 1 - - - + - res\values-v21 + res\drawable-anydpi-v21 1 - res\values-v21 + res\drawable-anydpi-v21 1 - + res\values 1 @@ -521,897 +464,774 @@ 1 - - - res\drawable - 1 - - - res\drawable - 1 - - - - - res\drawable-xxhdpi - 1 - - - res\drawable-xxhdpi - 1 - - - - - res\drawable-xxxhdpi - 1 - - - res\drawable-xxxhdpi - 1 - - - - - res\drawable-ldpi - 1 - - - res\drawable-ldpi - 1 - - - - - res\drawable-mdpi - 1 - - - res\drawable-mdpi - 1 - - - + - res\drawable-hdpi + res\values-v21 1 - res\drawable-hdpi + res\values-v21 1 - + - res\drawable-xhdpi + res\values-v31 1 - res\drawable-xhdpi + res\values-v31 1 - + - res\drawable-mdpi + res\values-v35 1 - res\drawable-mdpi + res\values-v35 1 - + - res\drawable-hdpi + res\drawable-anydpi-v26 1 - res\drawable-hdpi + res\drawable-anydpi-v26 1 - + - res\drawable-xhdpi + res\drawable 1 - res\drawable-xhdpi + res\drawable 1 - + - res\drawable-xxhdpi + res\drawable 1 - res\drawable-xxhdpi + res\drawable 1 - + - res\drawable-xxxhdpi + res\drawable 1 - res\drawable-xxxhdpi + res\drawable 1 - + - res\drawable-small + res\drawable-anydpi-v33 1 - res\drawable-small + res\drawable-anydpi-v33 1 - + - res\drawable-normal + res\values 1 - res\drawable-normal + res\values 1 - + - res\drawable-large + res\values-night-v21 1 - res\drawable-large + res\values-night-v21 1 - + - res\drawable-xlarge + res\drawable 1 - res\drawable-xlarge + res\drawable 1 - + - res\values - 1 - - - res\values - 1 - - - - - 1 - - - 1 - - - 0 - - - - - 1 - .framework - - - 1 - .framework - - - 0 - - - - - 1 - .dylib - - - 1 - .dylib - - - 0 - .dll;.bpl - - - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - - 1 - .dylib - - + res\drawable-xxhdpi 1 - .dylib - - - 0 - .bpl - - - - - 0 - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + res\drawable-xxhdpi 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + + + res\drawable-xxxhdpi 1 - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + + res\drawable-xxxhdpi 1 - - + + + res\drawable-ldpi 1 - + + res\drawable-ldpi 1 - + + + + res\drawable-mdpi 1 - - - + + res\drawable-mdpi 1 - + + + + res\drawable-hdpi 1 - + + res\drawable-hdpi 1 - - + + + res\drawable-xhdpi 1 - + + res\drawable-xhdpi 1 - + + + + res\drawable-mdpi 1 - - - + + res\drawable-mdpi 1 - + + + + res\drawable-hdpi 1 - + + res\drawable-hdpi 1 - - + + + res\drawable-xhdpi 1 - + + res\drawable-xhdpi 1 - + + + + res\drawable-xxhdpi 1 - - - + + res\drawable-xxhdpi 1 - + + + + res\drawable-xxxhdpi 1 - + + res\drawable-xxxhdpi 1 - - + + + res\drawable-small 1 - + + res\drawable-small 1 - + + + + res\drawable-normal 1 - - - + + res\drawable-normal 1 - + + + + res\drawable-large 1 - + + res\drawable-large 1 - - + + + res\drawable-xlarge 1 - + + res\drawable-xlarge 1 - + + + + res\values 1 - - - + + res\values 1 - + + + + res\drawable-anydpi-v24 1 - + + res\drawable-anydpi-v24 1 - - + + + res\drawable 1 - + + res\drawable 1 - + + + + res\drawable-night-anydpi-v21 1 - - - + + res\drawable-night-anydpi-v21 1 - + + + + res\drawable-anydpi-v31 1 - + + res\drawable-anydpi-v31 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + + res\drawable-night-anydpi-v31 1 - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + res\drawable-night-anydpi-v31 1 - - + + 1 - + 1 - - 1 + + 0 - - + + 1 + .framework - + 1 + .framework - + 1 + .framework + + + 0 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + 1 + .dylib - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + .dylib - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + .dylib - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 + + 0 + .dll;.bpl - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + + 1 + .dylib - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 + .dylib - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + .dylib - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + .dylib - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + .dylib - - - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + .dylib - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset - 1 + + 0 + .bpl - + + + 0 + + + 0 + - 1 + 0 - 1 + 0 - - 1 + + 0 + + + 0 + + + 0 + + + 0 + + + 0 - - - 1 - - + + 1 - + 1 - - + + + + + + Contents\Resources 1 - + + Contents\Resources 1 - + + Contents\Resources 1 - - - 1 - - + + + library\lib\armeabi-v7a 1 - + + library\lib\arm64-v8a 1 - - 1 1 - + 1 - - - + 1 - + 1 - + 1 - - - + 1 - - 1 + + 0 - + + + + library\lib\armeabi-v7a 1 - - + + 1 - + 1 - + 1 - + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1 + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1 - - 1 - - - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset - 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1 - + + + + 1 1 - + 1 - - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + + Assets 1 - - ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + + Assets 1 - - - 1 - - + + + Assets 1 - + + Assets 1 - - - 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - - 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - - 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - - ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - - + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - - - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF - 1 - + - ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - - - - - - - + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset 1 - - - - - - Contents\Resources + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - Contents\Resources + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - - library\lib\armeabi-v7a - 1 - - - library\lib\arm64-v8a - 1 - - - 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - 1 - - - 1 - - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - 0 - - - - - library\lib\armeabi-v7a + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - - Assets + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - Assets + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - - Assets + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - Assets + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset 1 - - + + - + + + - - - + + + + True True + False - False 12 diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.res b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.res new file mode 100644 index 00000000000..39ac11851f4 Binary files /dev/null and b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCLRTL.res differ diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_Register.pas b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCL_Register.pas similarity index 93% rename from common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_Register.pas rename to common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCL_Register.pas index e55a5de3b13..70e469abc29 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_Register.pas +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4DelphiVCL_Register.pas @@ -10,7 +10,7 @@ // For more information about CEF4Delphi visit : // https://www.briskbard.com/index.php?lang=en&pageid=cef // -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. +// Copyright © 2023 Salvador Diaz Fau. All rights reserved. // // ************************************************************************ // ************ vvvv Original license and comments below vvvv ************* @@ -35,11 +35,11 @@ * *) -unit CEF4Delphi_Register; +unit CEF4DelphiVCL_Register; {$R res\chromium.dcr} -{$I cef.inc} +{$I ..\source\cef.inc} interface @@ -64,7 +64,7 @@ procedure Register; RegisterComponents('Chromium', [TChromium, TCEFWindowParent, TChromiumWindow, TBufferPanel, TCEFWorkScheduler, TCEFServerComponent, TCEFLinkedWindowParent, - TCEFUrlRequestClientComponent, TCEFSentinel]); + TCEFUrlRequestClientComponent, TCEFSentinel]); RegisterComponents('Chromium Views Framework', [TCEFBrowserViewComponent, TCEFLabelButtonComponent, diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.cfg b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.cfg deleted file mode 100644 index bd69e9620e1..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.cfg +++ /dev/null @@ -1,45 +0,0 @@ --$A8 --$B- --$C+ --$D- --$E- --$F- --$G+ --$H+ --$I+ --$J- --$K- --$L+ --$M- --$N+ --$O- --$P+ --$Q- --$R- --$S- --$T- --$U- --$V+ --$W+ --$X+ --$YD --$Z1 --cg --AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; --H+ --W+ --M --$M16384,1048576 --K$54C00000 --N"dcu\" --LE"c:\program files\borland\delphi7\Projects\Bpl" --LN"c:\program files\borland\delphi7\Projects\Bpl" --U";C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib" --O";C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib" --I";C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib" --R";C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib" --DDEBUG --Z --w-UNSAFE_TYPE --w-UNSAFE_CODE --w-UNSAFE_CAST diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dof b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dof deleted file mode 100644 index 15de7c8d3a2..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dof +++ /dev/null @@ -1,150 +0,0 @@ -[FileVersion] -Version=7.0 -[Compiler] -A=8 -B=0 -C=1 -D=0 -E=0 -F=0 -G=1 -H=1 -I=1 -J=0 -K=0 -L=1 -M=0 -N=1 -O=0 -P=1 -Q=0 -R=0 -S=0 -T=0 -U=0 -V=1 -W=1 -X=1 -Y=1 -Z=1 -ShowHints=1 -ShowWarnings=1 -UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -NamespacePrefix= -SymbolDeprecated=1 -SymbolLibrary=1 -SymbolPlatform=1 -UnitLibrary=1 -UnitPlatform=1 -UnitDeprecated=1 -HResultCompat=1 -HidingMember=1 -HiddenVirtual=1 -Garbage=1 -BoundsError=1 -ZeroNilCompat=1 -StringConstTruncated=1 -ForLoopVarVarPar=1 -TypedConstVarPar=1 -AsgToTypedConst=1 -CaseLabelRange=1 -ForVariable=1 -ConstructingAbstract=1 -ComparisonFalse=1 -ComparisonTrue=1 -ComparingSignedUnsigned=1 -CombiningSignedUnsigned=1 -UnsupportedConstruct=1 -FileOpen=1 -FileOpenUnitSrc=1 -BadGlobalSymbol=1 -DuplicateConstructorDestructor=1 -InvalidDirective=1 -PackageNoLink=1 -PackageThreadVar=1 -ImplicitImport=1 -HPPEMITIgnored=1 -NoRetVal=1 -UseBeforeDef=1 -ForLoopVarUndef=1 -UnitNameMismatch=1 -NoCFGFileFound=1 -MessageDirective=1 -ImplicitVariants=1 -UnicodeToLocale=1 -LocaleToUnicode=1 -ImagebaseMultiple=1 -SuspiciousTypecast=1 -PrivatePropAccessor=1 -UnsafeType=0 -UnsafeCode=0 -UnsafeCast=0 -[Linker] -MapFile=0 -OutputObjs=0 -ConsoleApp=1 -DebugInfo=0 -RemoteSymbols=0 -MinStackSize=16384 -MaxStackSize=1048576 -ImageBase=4194304 -ExeDescription=CEF4Delphi -[Directories] -OutputDir= -UnitOutputDir=dcu\ -PackageDLLOutputDir= -PackageDCPOutputDir= -SearchPath=;C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib -Packages=rtl;vcl;vclx;indy;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;dbrtl;soaprtl;dsnap;VclSmp;dbexpress;vcldb;dbxcds;inetdb;bdertl;vcldbx;adortl;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;dclOfficeXP;tb2k_d7;tbx_d7;TntUnicodeVcl_R70;SpTBXLib_d7;RaizeComponentsVcl;RaizeComponentsVclDb;madBasic_;madDisAsm_;madExcept_;Tee97;TeeUI97;TeeDB97 -Conditionals=DEBUG -DebugSourceDirs= -UsePackages=0 -[Parameters] -RunParams= -HostApplication= -Launcher= -UseLauncher=0 -DebugCWD= -[Version Info] -IncludeVerInfo=1 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=7177 -CodePage=1252 -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= -[Excluded Packages] -C:\Delphi\Delphi7\Projects\Bpl\cxDataD7.bpl=ExpressDataController by Developer Express Inc. -c:\delphi\delphi7\Projects\Bpl\nexusprovider70.bpl=UniDAC NexusDB Provider -C:\Delphi\Components\dotNet\Managed VCL\bpl\ManagedDCL70.bpl=Managed extensions for VCL -C:\Delphi\Installed Components\FastReport 4\LibD7\dclfstee7.bpl=FastScript 1.9 Tee Components -C:\Delphi\Installed Components\FastReport 4\LibD7\dclfrxtee7.bpl=FastReport 4.0 Tee Components -[HistoryLists\hlConditionals] -Count=1 -Item0=DEBUG -[HistoryLists\hlUnitAliases] -Count=1 -Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -[HistoryLists\hlSearchPath] -Count=1 -Item0=;C:\Delphi\Installed Components\TeeChart Standard 2014 for Delphi 7\Delphi7\Lib -[HistoryLists\hlUnitOutputDirectory] -Count=1 -Item0=dcu\ diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dpk b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dpk deleted file mode 100644 index 8e078b2cb2a..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.dpk +++ /dev/null @@ -1,225 +0,0 @@ -package CEF4Delphi_D7; - -{$R *.res} -{$ALIGN 8} -{$ASSERTIONS ON} -{$BOOLEVAL OFF} -{$DEBUGINFO OFF} -{$EXTENDEDSYNTAX ON} -{$IMPORTEDDATA ON} -{$IOCHECKS ON} -{$LOCALSYMBOLS ON} -{$LONGSTRINGS ON} -{$OPENSTRINGS ON} -{$OPTIMIZATION OFF} -{$OVERFLOWCHECKS OFF} -{$RANGECHECKS OFF} -{$REFERENCEINFO ON} -{$SAFEDIVIDE OFF} -{$STACKFRAMES ON} -{$TYPEDADDRESS OFF} -{$VARSTRINGCHECKS ON} -{$WRITEABLECONST OFF} -{$MINENUMSIZE 1} -{$IMAGEBASE $54C00000} -{$DESCRIPTION 'CEF4Delphi'} -{$IMPLICITBUILD OFF} -{$DEFINE DEBUG} - -requires - rtl, - vcl; - -contains - CEF4Delphi_D7_Register in 'CEF4Delphi_D7_Register.pas', - uCEFFindHandler in '..\source\uCEFFindHandler.pas', - uCEFConstants in '..\source\uCEFConstants.pas', - uCEFTypes in '..\source\uCEFTypes.pas', - uCEFInterfaces in '..\source\uCEFInterfaces.pas', - uCEFMiscFunctions in '..\source\uCEFMiscFunctions.pas', - uCEFLibFunctions in '..\source\uCEFLibFunctions.pas', - uCEFApplication in '..\source\uCEFApplication.pas', - uCEFSchemeRegistrar in '..\source\uCEFSchemeRegistrar.pas', - uCEFCommandLine in '..\source\uCEFCommandLine.pas', - uCEFClient in '..\source\uCEFClient.pas', - uCEFProcessMessage in '..\source\uCEFProcessMessage.pas', - uCEFBrowser in '..\source\uCEFBrowser.pas', - uCEFListValue in '..\source\uCEFListValue.pas', - uCEFBinaryValue in '..\source\uCEFBinaryValue.pas', - uCEFValue in '..\source\uCEFValue.pas', - uCEFDictionaryValue in '..\source\uCEFDictionaryValue.pas', - uCEFDownloadImageCallBack in '..\source\uCEFDownloadImageCallBack.pas', - uCEFFrame in '..\source\uCEFFrame.pas', - uCEFPDFPrintCallback in '..\source\uCEFPDFPrintCallback.pas', - uCEFRunFileDialogCallback in '..\source\uCEFRunFileDialogCallback.pas', - uCEFRequestContext in '..\source\uCEFRequestContext.pas', - uCEFNavigationEntryVisitor in '..\source\uCEFNavigationEntryVisitor.pas', - uCEFStringVisitor in '..\source\uCEFStringVisitor.pas', - uCEFv8Context in '..\source\uCEFv8Context.pas', - uCEFDomVisitor in '..\source\uCEFDomVisitor.pas', - uCEFNavigationEntry in '..\source\uCEFNavigationEntry.pas', - uCEFCookieManager in '..\source\uCEFCookieManager.pas', - uCEFCompletionCallback in '..\source\uCEFCompletionCallback.pas', - uCEFRequestContextHandler in '..\source\uCEFRequestContextHandler.pas', - uCEFWebPluginInfo in '..\source\uCEFWebPluginInfo.pas', - uCEFDomDocument in '..\source\uCEFDomDocument.pas', - uCEFDomNode in '..\source\uCEFDomNode.pas', - uCEFv8Value in '..\source\uCEFv8Value.pas', - uCEFv8Accessor in '..\source\uCEFv8Accessor.pas', - uCEFLoadHandler in '..\source\uCEFLoadHandler.pas', - uCEFFocusHandler in '..\source\uCEFFocusHandler.pas', - uCEFContextMenuHandler in '..\source\uCEFContextMenuHandler.pas', - uCEFDialogHandler in '..\source\uCEFDialogHandler.pas', - uCEFKeyboardHandler in '..\source\uCEFKeyboardHandler.pas', - uCEFDisplayHandler in '..\source\uCEFDisplayHandler.pas', - uCEFDownloadHandler in '..\source\uCEFDownloadHandler.pas', - uCEFJsDialogHandler in '..\source\uCEFJsDialogHandler.pas', - uCEFLifeSpanHandler in '..\source\uCEFLifeSpanHandler.pas', - uCEFRequestHandler in '..\source\uCEFRequestHandler.pas', - uCEFRenderHandler in '..\source\uCEFRenderHandler.pas', - uCEFDragHandler in '..\source\uCEFDragHandler.pas', - uCEFPostData in '..\source\uCEFPostData.pas', - uCEFPostDataElement in '..\source\uCEFPostDataElement.pas', - uCEFRequest in '..\source\uCEFRequest.pas', - uCEFStreamReader in '..\source\uCEFStreamReader.pas', - uCEFWriteHandler in '..\source\uCEFWriteHandler.pas', - uCEFStreamWriter in '..\source\uCEFStreamWriter.pas', - uCEFv8StackFrame in '..\source\uCEFv8StackFrame.pas', - uCEFv8StackTrace in '..\source\uCEFv8StackTrace.pas', - uCEFv8Handler in '..\source\uCEFv8Handler.pas', - uCEFRequestCallback in '..\source\uCEFRequestCallback.pas', - uCEFCustomStreamReader in '..\source\uCEFCustomStreamReader.pas', - uCEFCallback in '..\source\uCEFCallback.pas', - uCEFResourceHandler in '..\source\uCEFResourceHandler.pas', - uCEFSchemeHandlerFactory in '..\source\uCEFSchemeHandlerFactory.pas', - uCEFTask in '..\source\uCEFTask.pas', - uCEFTaskRunner in '..\source\uCEFTaskRunner.pas', - uCEFStringMap in '..\source\uCEFStringMap.pas', - uCEFStringMultimap in '..\source\uCEFStringMultimap.pas', - uCEFXmlReader in '..\source\uCEFXmlReader.pas', - uCEFZipReader in '..\source\uCEFZipReader.pas', - uCEFResponse in '..\source\uCEFResponse.pas', - uCEFCookieVisitor in '..\source\uCEFCookieVisitor.pas', - uCEFv8Exception in '..\source\uCEFv8Exception.pas', - uCEFResourceBundleHandler in '..\source\uCEFResourceBundleHandler.pas', - uCEFSetCookieCallback in '..\source\uCEFSetCookieCallback.pas', - uCEFDeleteCookiesCallback in '..\source\uCEFDeleteCookiesCallback.pas', - uCEFDownLoadItem in '..\source\uCEFDownLoadItem.pas', - uCEFBeforeDownloadCallback in '..\source\uCEFBeforeDownloadCallback.pas', - uCEFDownloadItemCallback in '..\source\uCEFDownloadItemCallback.pas', - uCEFAuthCallback in '..\source\uCEFAuthCallback.pas', - uCEFJsDialogCallback in '..\source\uCEFJsDialogCallback.pas', - uCEFContextMenuParams in '..\source\uCEFContextMenuParams.pas', - uCEFMenuModel in '..\source\uCEFMenuModel.pas', - uCEFBrowserProcessHandler in '..\source\uCEFBrowserProcessHandler.pas', - uCEFRenderProcessHandler in '..\source\uCEFRenderProcessHandler.pas', - uCEFUrlrequestClient in '..\source\uCEFUrlrequestClient.pas', - uCEFUrlRequest in '..\source\uCEFUrlRequest.pas', - uCEFWebPluginInfoVisitor in '..\source\uCEFWebPluginInfoVisitor.pas', - uCEFWebPluginUnstableCallback in '..\source\uCEFWebPluginUnstableCallback.pas', - uCEFEndTracingCallback in '..\source\uCEFEndTracingCallback.pas', - uCEFFileDialogCallback in '..\source\uCEFFileDialogCallback.pas', - uCEFDragData in '..\source\uCEFDragData.pas', - uCEFResolveCallback in '..\source\uCEFResolveCallback.pas', - uCEFPrintSettings in '..\source\uCEFPrintSettings.pas', - uCEFSslInfo in '..\source\uCEFSslInfo.pas', - uCEFRunContextMenuCallback in '..\source\uCEFRunContextMenuCallback.pas', - uCEFResourceBundle in '..\source\uCEFResourceBundle.pas', - uCEFResponseFilter in '..\source\uCEFResponseFilter.pas', - uCEFImage in '..\source\uCEFImage.pas', - uCEFMenuModelDelegate in '..\source\uCEFMenuModelDelegate.pas', - uCEFWindowParent in '..\source\uCEFWindowParent.pas', - uCEFChromium in '..\source\uCEFChromium.pas', - uCEFChromiumCore in '..\source\uCEFChromiumCore.pas', - uCEFChromiumEvents in '..\source\uCEFChromiumEvents.pas', - uCEFChromiumOptions in '..\source\uCEFChromiumOptions.pas', - uCEFChromiumFontOptions in '..\source\uCEFChromiumFontOptions.pas', - uCEFPDFPrintOptions in '..\source\uCEFPDFPrintOptions.pas', - uCEFRegisterCDMCallback in '..\source\uCEFRegisterCDMCallback.pas', - uCEFThread in '..\source\uCEFThread.pas', - uCEFv8Interceptor in '..\source\uCEFv8Interceptor.pas', - uCEFWaitableEvent in '..\source\uCEFWaitableEvent.pas', - uCEFX509CertPrincipal in '..\source\uCEFX509CertPrincipal.pas', - uCEFX509Certificate in '..\source\uCEFX509Certificate.pas', - uCEFSSLStatus in '..\source\uCEFSSLStatus.pas', - uCEFSelectClientCertificateCallback in '..\source\uCEFSelectClientCertificateCallback.pas', - uCEFChromiumWindow in '..\source\uCEFChromiumWindow.pas', - uCEFBaseRefCounted in '..\source\uCEFBaseRefCounted.pas', - uCEFBaseScopedWrapper in '..\source\uCEFBaseScopedWrapper.pas', - uCEFDragAndDropMgr in '..\source\uCEFDragAndDropMgr.pas', - uCEFOLEDragAndDrop in '..\source\uCEFOLEDragAndDrop.pas', - uCEFGetExtensionResourceCallback in '..\source\uCEFGetExtensionResourceCallback.pas', - uCEFExtension in '..\source\uCEFExtension.pas', - uCEFExtensionHandler in '..\source\uCEFExtensionHandler.pas', - uCEFBufferPanel in '..\source\uCEFBufferPanel.pas', - uCEFApp in '..\source\uCEFApp.pas', - uCEFWorkScheduler in '..\source\uCEFWorkScheduler.pas', - uCEFWorkSchedulerThread in '..\source\uCEFWorkSchedulerThread.pas', - uCEFServer in '..\source\uCEFServer.pas', - uCEFServerHandler in '..\source\uCEFServerHandler.pas', - uCEFServerEvents in '..\source\uCEFServerEvents.pas', - uCEFServerComponent in '..\source\uCEFServerComponent.pas', - uCEFStringList in '..\source\uCEFStringList.pas', - uCEFv8ArrayBufferReleaseCallback in '..\source\uCEFv8ArrayBufferReleaseCallback.pas', - uCEFWinControl in '..\source\uCEFWinControl.pas', - uCEFLinkedWindowParent in '..\source\uCEFLinkedWindowParent.pas', - uCEFUrlRequestClientEvents in '..\source\uCEFUrlRequestClientEvents.pas', - uCEFUrlRequestClientComponent in '..\source\uCEFUrlRequestClientComponent.pas', - uCEFOSRIMEHandler in '..\source\uCEFOSRIMEHandler.pas', - uCEFCookieAccessFilter in '..\source\uCEFCookieAccessFilter.pas', - uCEFResourceRequestHandler in '..\source\uCEFResourceRequestHandler.pas', - uCEFResourceSkipCallback in '..\source\uCEFResourceSkipCallback.pas', - uCEFResourceReadCallback in '..\source\uCEFResourceReadCallback.pas', - uCEFSentinel in '..\source\uCEFSentinel.pas', - uCEFApplicationCore in '..\source\uCEFApplicationCore.pas', - uCEFOAuth2Helper in '..\source\uCEFOAuth2Helper.pas', - uCEFMediaSource in '..\source\uCEFMediaSource.pas', - uCEFMediaSink in '..\source\uCEFMediaSink.pas', - uCEFMediaRouteCreateCallback in '..\source\uCEFMediaRouteCreateCallback.pas', - uCEFMediaRoute in '..\source\uCEFMediaRoute.pas', - uCEFMediaObserver in '..\source\uCEFMediaObserver.pas', - uCEFMediaRouter in '..\source\uCEFMediaRouter.pas', - uCEFRegistration in '..\source\uCEFRegistration.pas', - uCEFDisplay in '..\source\uCEFDisplay.pas', - uCEFLayout in '..\source\uCEFLayout.pas', - uCEFBoxLayout in '..\source\uCEFBoxLayout.pas', - uCEFFillLayout in '..\source\uCEFFillLayout.pas', - uCEFView in '..\source\uCEFView.pas', - uCEFViewDelegate in '..\source\uCEFViewDelegate.pas', - uCEFTextfield in '..\source\uCEFTextfield.pas', - uCEFTextfieldDelegate in '..\source\uCEFTextfieldDelegate.pas', - uCEFScrollView in '..\source\uCEFScrollView.pas', - uCEFPanel in '..\source\uCEFPanel.pas', - uCEFPanelDelegate in '..\source\uCEFPanelDelegate.pas', - uCEFBrowserView in '..\source\uCEFBrowserView.pas', - uCEFBrowserViewDelegate in '..\source\uCEFBrowserViewDelegate.pas', - uCEFButton in '..\source\uCEFButton.pas', - uCEFButtonDelegate in '..\source\uCEFButtonDelegate.pas', - uCEFLabelButton in '..\source\uCEFLabelButton.pas', - uCEFMenuButton in '..\source\uCEFMenuButton.pas', - uCEFMenuButtonPressedLock in '..\source\uCEFMenuButtonPressedLock.pas', - uCEFMenuButtonDelegate in '..\source\uCEFMenuButtonDelegate.pas', - uCEFWindow in '..\source\uCEFWindow.pas', - uCEFWindowDelegate in '..\source\uCEFWindowDelegate.pas', - uCEFViewsFrameworkEvents in '..\source\uCEFViewsFrameworkEvents.pas', - uCEFViewComponent in '..\source\uCEFViewComponent.pas', - uCEFTextfieldComponent in '..\source\uCEFTextfieldComponent.pas', - uCEFScrollViewComponent in '..\source\uCEFScrollViewComponent.pas', - uCEFPanelComponent in '..\source\uCEFPanelComponent.pas', - uCEFWindowComponent in '..\source\uCEFWindowComponent.pas', - uCEFBrowserViewComponent in '..\source\uCEFBrowserViewComponent.pas', - uCEFButtonComponent in '..\source\uCEFButtonComponent.pas', - uCEFLabelButtonComponent in '..\source\uCEFLabelButtonComponent.pas', - uCEFMenuButtonComponent in '..\source\uCEFMenuButtonComponent.pas', - uCEFAudioHandler in '..\source\uCEFAudioHandler.pas', - uCEFDevToolsMessageObserver in '..\source\uCEFDevToolsMessageObserver.pas', - uCEFMediaSinkDeviceInfoCallback in '..\source\uCEFMediaSinkDeviceInfoCallback.pas', - uCEFJson in '..\source\uCEFJson.pas', - uCEFBitmapBitBuffer in '..\source\uCEFBitmapBitBuffer.pas', - uCEFPrintHandler in '..\source\uCEFPrintHandler.pas', - uCEFPrintDialogCallback in '..\source\uCEFPrintDialogCallback.pas', - uCEFPrintJobCallback in '..\source\uCEFPrintJobCallback.pas', - uCEFWorkSchedulerQueueThread in '..\source\uCEFWorkSchedulerQueueThread.pas', - uCEFLinkedWinControlBase in '..\source\uCEFLinkedWinControlBase.pas'; - -end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.skincfg b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.skincfg deleted file mode 100644 index 218f3ebc52b..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7.skincfg +++ /dev/null @@ -1,10 +0,0 @@ -[ExpressSkins] -Default=1 -ShowNotifications=1 -Enabled=1 -dxSkinBlack=1 -dxSkinBlue=1 -dxSkinDevExpressStyle=1 -dxSkinOffice2010Black=1 -dxSkinOffice2013White=1 -dxSkinsDefaultPainters=1 diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7_Register.pas b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7_Register.pas deleted file mode 100644 index 3cff248be0a..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_D7_Register.pas +++ /dev/null @@ -1,71 +0,0 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - -unit CEF4Delphi_D7_Register; - -{$R res\chromium.dcr} - -{$I cef.inc} - -interface - -procedure Register; - -implementation - -uses - Classes, - uCEFChromium, uCEFWindowParent, uCEFChromiumWindow, uCEFBufferPanel, uCEFWorkScheduler, - uCEFServerComponent, uCEFLinkedWindowParent, uCEFUrlRequestClientComponent, uCEFSentinel, - uCEFBrowserViewComponent, uCEFLabelButtonComponent, - uCEFMenuButtonComponent, uCEFPanelComponent, uCEFTextfieldComponent, - uCEFScrollViewComponent, uCEFWindowComponent; - -procedure Register; -begin - RegisterComponents('Chromium', [TChromium, TCEFWindowParent, TChromiumWindow, TBufferPanel, - TCEFWorkScheduler, TCEFServerComponent, TCEFLinkedWindowParent, - TCEFUrlRequestClientComponent, TCEFSentinel]); - - RegisterComponents('Chromium Views Framework', - [TCEFBrowserViewComponent, TCEFLabelButtonComponent, - TCEFMenuButtonComponent, TCEFPanelComponent, - TCEFTextfieldComponent, TCEFScrollViewComponent, - TCEFWindowComponent]); -end; - -end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.res b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.res deleted file mode 100644 index 391381f9dc4..00000000000 Binary files a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_FMX.res and /dev/null differ diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dpk b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dpk new file mode 100644 index 00000000000..e47225c96a9 --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dpk @@ -0,0 +1,42 @@ +package CEF4Delphi_designtime; + +{$R *.res} +{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users} +{$ALIGN 8} +{$ASSERTIONS ON} +{$BOOLEVAL OFF} +{$DEBUGINFO OFF} +{$EXTENDEDSYNTAX ON} +{$IMPORTEDDATA ON} +{$IOCHECKS ON} +{$LOCALSYMBOLS ON} +{$LONGSTRINGS ON} +{$OPENSTRINGS ON} +{$OPTIMIZATION OFF} +{$OVERFLOWCHECKS OFF} +{$RANGECHECKS OFF} +{$REFERENCEINFO ON} +{$SAFEDIVIDE OFF} +{$STACKFRAMES ON} +{$TYPEDADDRESS OFF} +{$VARSTRINGCHECKS ON} +{$WRITEABLECONST OFF} +{$MINENUMSIZE 1} +{$IMAGEBASE $400000} +{$DEFINE DEBUG} +{$ENDIF IMPLICITBUILDING} +{$DESCRIPTION 'CEF4Delphi'} +{$DESIGNONLY} +{$IMPLICITBUILD ON} + +requires + rtl, + vcl, + designide, + CEF4DelphiVCLRTL, + CEF4DelphiFMXRTL; + +contains + CEF4DelphiVCLFMX_Register in 'CEF4DelphiVCLFMX_Register.pas'; + +end. diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dproj b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dproj new file mode 100644 index 00000000000..65649471b43 --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.dproj @@ -0,0 +1,1025 @@ + + + {032D9C75-B050-4BDC-9BB3-25C299BA58D6} + CEF4Delphi_designtime.dpk + 20.3 + None + True + Debug + Win32 + 1 + Package + CEF4Delphi_designtime + + + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Base + true + + + true + Cfg_1 + true + true + + + true + Base + true + + + .\$(Platform)\$(Config) + .\$(Platform)\$(Config) + false + false + false + false + false + true + true + System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace) + All + CEF4Delphi_designtime + true + 3082 + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + CEF4Delphi + $(CEF4DELPHI)\source;$(DCC_UnitSearchPath) + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) + Debug + true + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + 1033 + rtl;CEF4Delphi_runtime;CEF4Delphi_FMX;CEF4Delphi_VCL;vcl;CEF4DelphiFMXRTL;CEF4DelphiVCLRTL;$(DCC_UsePackage) + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + Debug + true + CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= + 1033 + rtl;CEF4Delphi_runtime;CEF4Delphi_FMX;CEF4Delphi_VCL;vcl;CEF4DelphiFMXRTL;CEF4DelphiVCLRTL;$(DCC_UsePackage) + + + Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) + Debug + true + 1033 + + + DEBUG;$(DCC_Define) + true + false + true + true + true + + + false + true + 1033 + + + false + RELEASE;$(DCC_Define) + 0 + 0 + + + + MainSource + + + + + + + + + Base + + + Cfg_1 + Base + + + Cfg_2 + Base + + + + Delphi.Personality.12 + Package + + + + CEF4Delphi_designtime.dpk + + + Microsoft Office 2000 Sample Automation Server Wrapper Components + Microsoft Office XP Sample Automation Server Wrapper Components + + + + + + true + + + + + true + + + + + true + + + + + + + 1 + + + 0 + + + + + res\xml + 1 + + + res\xml + 1 + + + + + library\lib\armeabi + 1 + + + library\lib\armeabi + 1 + + + + + library\lib\armeabi-v7a + 1 + + + + + library\lib\mips + 1 + + + library\lib\mips + 1 + + + + + library\lib\armeabi-v7a + 1 + + + library\lib\arm64-v8a + 1 + + + + + library\lib\armeabi-v7a + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-anydpi-v21 + 1 + + + res\drawable-anydpi-v21 + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\values-v21 + 1 + + + res\values-v21 + 1 + + + + + res\values-v31 + 1 + + + res\values-v31 + 1 + + + + + res\values-v35 + 1 + + + res\values-v35 + 1 + + + + + res\drawable-anydpi-v26 + 1 + + + res\drawable-anydpi-v26 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-anydpi-v33 + 1 + + + res\drawable-anydpi-v33 + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\values-night-v21 + 1 + + + res\values-night-v21 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-xxhdpi + 1 + + + res\drawable-xxhdpi + 1 + + + + + res\drawable-xxxhdpi + 1 + + + res\drawable-xxxhdpi + 1 + + + + + res\drawable-ldpi + 1 + + + res\drawable-ldpi + 1 + + + + + res\drawable-mdpi + 1 + + + res\drawable-mdpi + 1 + + + + + res\drawable-hdpi + 1 + + + res\drawable-hdpi + 1 + + + + + res\drawable-xhdpi + 1 + + + res\drawable-xhdpi + 1 + + + + + res\drawable-mdpi + 1 + + + res\drawable-mdpi + 1 + + + + + res\drawable-hdpi + 1 + + + res\drawable-hdpi + 1 + + + + + res\drawable-xhdpi + 1 + + + res\drawable-xhdpi + 1 + + + + + res\drawable-xxhdpi + 1 + + + res\drawable-xxhdpi + 1 + + + + + res\drawable-xxxhdpi + 1 + + + res\drawable-xxxhdpi + 1 + + + + + res\drawable-small + 1 + + + res\drawable-small + 1 + + + + + res\drawable-normal + 1 + + + res\drawable-normal + 1 + + + + + res\drawable-large + 1 + + + res\drawable-large + 1 + + + + + res\drawable-xlarge + 1 + + + res\drawable-xlarge + 1 + + + + + res\values + 1 + + + res\values + 1 + + + + + res\drawable-anydpi-v24 + 1 + + + res\drawable-anydpi-v24 + 1 + + + + + res\drawable + 1 + + + res\drawable + 1 + + + + + res\drawable-night-anydpi-v21 + 1 + + + res\drawable-night-anydpi-v21 + 1 + + + + + res\drawable-anydpi-v31 + 1 + + + res\drawable-anydpi-v31 + 1 + + + + + res\drawable-night-anydpi-v31 + 1 + + + res\drawable-night-anydpi-v31 + 1 + + + + + 1 + + + 1 + + + 0 + + + + + 1 + .framework + + + 1 + .framework + + + 1 + .framework + + + 0 + + + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 0 + .dll;.bpl + + + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 1 + .dylib + + + 0 + .bpl + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + 1 + + + 1 + + + + + + + + Contents\Resources + 1 + + + Contents\Resources + 1 + + + Contents\Resources + 1 + + + + + library\lib\armeabi-v7a + 1 + + + library\lib\arm64-v8a + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 1 + + + 0 + + + + + library\lib\armeabi-v7a + 1 + + + + + 1 + + + 1 + + + 1 + + + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF + 1 + + + + + + + + 1 + + + 1 + + + 1 + + + + + Assets + 1 + + + Assets + 1 + + + + + Assets + 1 + + + Assets + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\AppIcon.appiconset + 1 + + + + + + + + + + + + + + + + + + True + False + False + + + 12 + + + + + diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.res b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.res new file mode 100644 index 00000000000..a0f034822ce Binary files /dev/null and b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_designtime.res differ diff --git a/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_group.groupproj b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_group.groupproj new file mode 100644 index 00000000000..81317d4af0b --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/CEF4Delphi_group.groupproj @@ -0,0 +1,60 @@ + + + {25799C47-D388-41C5-B16D-54A26E1341D3} + + + + + + + + + + + + + + Default.Personality.12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/windows/delphi/ext/cef4delphi/packages/cef.inc b/common/windows/delphi/ext/cef4delphi/packages/cef.inc deleted file mode 100644 index c8ce967ee98..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/cef.inc +++ /dev/null @@ -1,468 +0,0 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2017 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - - // The complete list of compiler versions is here : - // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions - -{$DEFINE DELPHI_VERSION_UNKNOW} - -// Delphi 5 -{$IFDEF VER130} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} -{$ENDIF} - -// Delphi 6 -{$IFDEF VER140} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} -{$ENDIF} - -// Delphi 7 -{$IFDEF VER150} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} -{$ENDIF} - -// Delphi 8 -{$IFDEF VER160} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} -{$ENDIF} - -// Delphi 2005 -{$IFDEF VER170} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} -{$ENDIF} - -{$IFDEF VER180} - {$UNDEF DELPHI_VERSION_UNKNOW} - // Delphi 2007 - {$IFDEF VER185} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - // Delphi 2006 - {$ELSE} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$ENDIF} -{$ENDIF} - -// Delphi 2009 -{$IFDEF VER200} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} -{$ENDIF} - -//Delphi 2010 -{$IFDEF VER210} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} -{$ENDIF} - -// Delphi XE -{$IFDEF VER220} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} -{$ENDIF} - -// Delphi XE2 (First FireMonkey and 64bit compiler) -{$IFDEF VER230} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} -{$ENDIF} - -// Delphi XE3 -{$IFDEF VER240} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} -{$ENDIF} - -// Delphi XE4 -{$IFDEF VER250} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} -{$ENDIF} - -// Delphi XE5 -{$IFDEF VER260} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} -{$ENDIF} - -// Delphi XE6 -{$IFDEF VER270} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} -{$ENDIF} - -// Delphi XE7 -{$IFDEF VER280} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} -{$ENDIF} - -// Delphi XE8 -{$IFDEF VER290} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} -{$ENDIF VER290} - -// Rad Studio 10 - Delphi Seattle -{$IFDEF VER300} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} -{$ENDIF} - -// Rad Studio 10.1 - Delphi Berlin -{$IFDEF VER310} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} - {$DEFINE DELPHI24_UP} -{$ENDIF} - -// Rad Studio 10.2 - Delphi Tokyo -{$IFDEF VER320} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} - {$DEFINE DELPHI24_UP} - {$DEFINE DELPHI25_UP} -{$ENDIF} - -// Rad Studio 10.3 - Delphi Rio -{$IFDEF VER330} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} - {$DEFINE DELPHI24_UP} - {$DEFINE DELPHI25_UP} - {$DEFINE DELPHI26_UP} -{$ENDIF} - -// Rad Studio 10.4 - Delphi Sydney -{$IFDEF VER340} - {$UNDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} - {$DEFINE DELPHI24_UP} - {$DEFINE DELPHI25_UP} - {$DEFINE DELPHI26_UP} - {$DEFINE DELPHI27_UP} -{$ENDIF} - -{$IFDEF FPC} - {$DEFINE SUPPORTS_INLINE} - {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} - {$DEFINE FPC_VER_320} - {$IFEND} -{$ELSE} - {$IFDEF DELPHI_VERSION_UNKNOW} - {$DEFINE DELPHI5_UP} - {$DEFINE DELPHI6_UP} - {$DEFINE DELPHI7_UP} - {$DEFINE DELPHI8_UP} - {$DEFINE DELPHI9_UP} - {$DEFINE DELPHI10_UP} - {$DEFINE DELPHI11_UP} - {$DEFINE DELPHI12_UP} - {$DEFINE DELPHI14_UP} - {$DEFINE DELPHI15_UP} - {$DEFINE DELPHI16_UP} - {$DEFINE DELPHI17_UP} - {$DEFINE DELPHI18_UP} - {$DEFINE DELPHI19_UP} - {$DEFINE DELPHI20_UP} - {$DEFINE DELPHI21_UP} - {$DEFINE DELPHI22_UP} - {$DEFINE DELPHI23_UP} - {$DEFINE DELPHI24_UP} - {$DEFINE DELPHI25_UP} - {$DEFINE DELPHI26_UP} - {$DEFINE DELPHI27_UP} - {$ENDIF} -{$ENDIF} - -{$IFDEF DELPHI9_UP} - {$DEFINE SUPPORTS_INLINE} -{$ENDIF} - -{$IF DEFINED(CPUX32) OR - DEFINED(CPU386) OR - DEFINED(CPUi386) OR - DEFINED(CPUPOWERPC32) OR - DEFINED(CPUSPARC32) OR - DEFINED(CPU32BITS) OR - DEFINED(CPUARM32) OR - DEFINED(WIN32) OR - DEFINED(IOS32) OR - DEFINED(MACOS32) OR - DEFINED(LINUX32) OR - DEFINED(POSIX32) OR - DEFINED(ANDROID32)} - {$DEFINE TARGET_32BITS} -{$IFEND} - -// Delphi uses MACOS for the new MacOSX and DARWIN is not defined -// FPC uses DARWIN for the new MacOSX and MACOS is defined for the classic Macintosh OS (System 7) -// We define MACOSX to avoid conflicts in both situations -{$IFDEF FPC} - {$IFDEF DARWIN} - {$DEFINE MACOSX} - {$ENDIF} -{$ELSE} - {$IFDEF MACOS} - {$DEFINE MACOSX} - {$ENDIF} -{$ENDIF} diff --git a/common/windows/delphi/ext/cef4delphi/packages/cef4delphi.pds b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi.pds new file mode 100644 index 00000000000..900c350dd24 --- /dev/null +++ b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi.pds @@ -0,0 +1,311 @@ +[Main] +StoreRelativePaths=1 +Language=en +OutputDir=..\docs\ +GenerateFormat=1 +ProjectName=cef4delphi +Verbosity=2 +ClassMembers_0=1 +ClassMembers_1=1 +ClassMembers_2=1 +ClassMembers_3=0 +ClassMembers_4=0 +ClassMembers_5=0 +ClassMembers_6=1 +ClassMembers_7=0 +ImplicitVisibility=0 +Sorting_0=0 +Sorting_1=0 +Sorting_2=0 +Sorting_3=0 +Sorting_4=0 +Sorting_5=0 +Sorting_6=0 +Sorting_7=0 +Sorting_8=0 +Sorting_9=0 +CssFileName= +IntroductionFileName= +ConclusionFileName= +HtmlHead= +HtmlBodyBegin= +HtmlBodyEnd= +ExternalDescriptions= +WriteUsesList=0 +AutoAbstract=0 +AutoLink=0 +HandleMacros=1 +UseTipueSearch=0 +Markdown=0 +AutoBackComments=0 +OpenHTML=1 +LineBreakQuality=0 +SpecialMarkerTreatment=1 +Title= +VizGraphClasses=0 +VizGraphUses=0 +CheckSpelling=0 +LatexGraphicsPackage=0 +ImplementationComments=0 +InheritedMembers=0 +Bootstrap=1 + +[Defines] +Count=2 +Item_0=FPC +Item_1=MSWINDOWS + +[Header] +Count=0 + +[Footer] +Count=0 + +[AutoLinkExclude] +Count=0 + +[IncludeDirectories] +Count=1 +Item_0=..\source + +[Files] +Count=225 +Item_0=..\source\uCEFAccessibilityHandler.pas +Item_1=..\source\uCEFApp.pas +Item_2=..\source\uCEFApplication.pas +Item_3=..\source\uCEFApplicationCore.pas +Item_4=..\source\uCEFApplicationEvents.pas +Item_5=..\source\uCEFArgCopy.pas +Item_6=..\source\uCEFAudioHandler.pas +Item_7=..\source\uCEFAuthCallback.pas +Item_8=..\source\uCEFBaseRefCounted.pas +Item_9=..\source\uCEFBaseScopedWrapper.pas +Item_10=..\source\uCEFBeforeDownloadCallback.pas +Item_11=..\source\uCEFBinaryValue.pas +Item_12=..\source\uCEFBitmapBitBuffer.pas +Item_13=..\source\uCEFBoxLayout.pas +Item_14=..\source\uCEFBrowser.pas +Item_15=..\source\uCEFBrowserBitmap.pas +Item_16=..\source\uCEFBrowserProcessHandler.pas +Item_17=..\source\uCEFBrowserView.pas +Item_18=..\source\uCEFBrowserViewComponent.pas +Item_19=..\source\uCEFBrowserViewDelegate.pas +Item_20=..\source\uCEFBrowserWindow.pas +Item_21=..\source\uCEFBufferPanel.pas +Item_22=..\source\uCEFButton.pas +Item_23=..\source\uCEFButtonComponent.pas +Item_24=..\source\uCEFButtonDelegate.pas +Item_25=..\source\uCEFCallback.pas +Item_26=..\source\uCEFChromium.pas +Item_27=..\source\uCEFChromiumCore.pas +Item_28=..\source\uCEFChromiumEvents.pas +Item_29=..\source\uCEFChromiumFontOptions.pas +Item_30=..\source\uCEFChromiumOptions.pas +Item_31=..\source\uCEFChromiumWindow.pas +Item_32=..\source\uCEFClient.pas +Item_33=..\source\uCEFCommandHandler.pas +Item_34=..\source\uCEFCommandLine.pas +Item_35=..\source\uCEFCompletionCallback.pas +Item_36=..\source\uCEFComponent.pas +Item_37=..\source\uCEFComponentIdList.pas +Item_38=..\source\uCEFComponentUpdateCallback.pas +Item_39=..\source\uCEFComponentUpdater.pas +Item_40=..\source\uCEFConstants.pas +Item_41=..\source\uCEFContextMenuHandler.pas +Item_42=..\source\uCEFContextMenuParams.pas +Item_43=..\source\uCEFCookieAccessFilter.pas +Item_44=..\source\uCEFCookieManager.pas +Item_45=..\source\uCEFCookieVisitor.pas +Item_46=..\source\uCEFCustomStreamReader.pas +Item_47=..\source\uCEFDeleteCookiesCallback.pas +Item_48=..\source\uCEFDevToolsMessageObserver.pas +Item_49=..\source\uCEFDialogHandler.pas +Item_50=..\source\uCEFDictionaryValue.pas +Item_51=..\source\uCEFDisplay.pas +Item_52=..\source\uCEFDisplayHandler.pas +Item_53=..\source\uCEFDomDocument.pas +Item_54=..\source\uCEFDomNode.pas +Item_55=..\source\uCEFDomVisitor.pas +Item_56=..\source\uCEFDownloadHandler.pas +Item_57=..\source\uCEFDownloadImageCallBack.pas +Item_58=..\source\uCEFDownLoadItem.pas +Item_59=..\source\uCEFDownloadItemCallback.pas +Item_60=..\source\uCEFDragAndDropMgr.pas +Item_61=..\source\uCEFDragData.pas +Item_62=..\source\uCEFDragHandler.pas +Item_63=..\source\uCEFEndTracingCallback.pas +Item_64=..\source\uCEFFileDialogCallback.pas +Item_65=..\source\uCEFFileDialogInfo.pas +Item_66=..\source\uCEFFillLayout.pas +Item_67=..\source\uCEFFindHandler.pas +Item_68=..\source\uCEFFMXBufferPanel.pas +Item_69=..\source\uCEFFMXChromium.pas +Item_70=..\source\uCEFFMXWindowParent.pas +Item_71=..\source\uCEFFMXWorkScheduler.pas +Item_72=..\source\uCEFFocusHandler.pas +Item_73=..\source\uCEFFrame.pas +Item_74=..\source\uCEFFrameHandler.pas +Item_75=..\source\uCEFImage.pas +Item_76=..\source\uCEFInterfaces.pas +Item_77=..\source\uCEFJsDialogCallback.pas +Item_78=..\source\uCEFJsDialogHandler.pas +Item_79=..\source\uCEFJson.pas +Item_80=..\source\uCEFKeyboardHandler.pas +Item_81=..\source\uCEFLabelButton.pas +Item_82=..\source\uCEFLabelButtonComponent.pas +Item_83=..\source\uCEFLayout.pas +Item_84=..\source\uceflazaruscocoa.pas +Item_85=..\source\uCEFLibFunctions.pas +Item_86=..\source\uCEFLifeSpanHandler.pas +Item_87=..\source\uCEFLinkedWinControlBase.pas +Item_88=..\source\uCEFLinkedWindowParent.pas +Item_89=..\source\uCEFLinuxConstants.pas +Item_90=..\source\uCEFLinuxEventPipe.pas +Item_91=..\source\uCEFLinuxFunctions.pas +Item_92=..\source\uceflinuxosrimehandler.pas +Item_93=..\source\uCEFLinuxTypes.pas +Item_94=..\source\uCEFListValue.pas +Item_95=..\source\uCEFLoadHandler.pas +Item_96=..\source\uCEFMacOSConstants.pas +Item_97=..\source\uCEFMacOSCustomCocoaTimer.pas +Item_98=..\source\uCEFMacOSFunctions.pas +Item_99=..\source\uCEFMacOSInterfaces.pas +Item_100=..\source\uCEFMediaAccessCallback.pas +Item_101=..\source\uCEFMediaAccessHandler.pas +Item_102=..\source\uCEFMediaObserver.pas +Item_103=..\source\uCEFMediaRoute.pas +Item_104=..\source\uCEFMediaRouteCreateCallback.pas +Item_105=..\source\uCEFMediaRouter.pas +Item_106=..\source\uCEFMediaSink.pas +Item_107=..\source\uCEFMediaSinkDeviceInfoCallback.pas +Item_108=..\source\uCEFMediaSource.pas +Item_109=..\source\uCEFMenuButton.pas +Item_110=..\source\uCEFMenuButtonComponent.pas +Item_111=..\source\uCEFMenuButtonDelegate.pas +Item_112=..\source\uCEFMenuButtonPressedLock.pas +Item_113=..\source\uCEFMenuModel.pas +Item_114=..\source\uCEFMenuModelDelegate.pas +Item_115=..\source\uCEFMiscFunctions.pas +Item_116=..\source\uCEFNavigationEntry.pas +Item_117=..\source\uCEFNavigationEntryVisitor.pas +Item_118=..\source\uCEFOAuth2Helper.pas +Item_119=..\source\uCEFOLEDragAndDrop.pas +Item_120=..\source\uCEFOsrBrowserWindow.pas +Item_121=..\source\uCEFOSRIMEHandler.pas +Item_122=..\source\uCEFOverlayController.pas +Item_123=..\source\uCEFPanel.pas +Item_124=..\source\uCEFPanelComponent.pas +Item_125=..\source\uCEFPanelDelegate.pas +Item_126=..\source\uCEFPDFPrintCallback.pas +Item_127=..\source\uCEFPDFPrintOptions.pas +Item_128=..\source\uCEFPermissionHandler.pas +Item_129=..\source\uCEFPermissionPromptCallback.pas +Item_130=..\source\uCEFPostData.pas +Item_131=..\source\uCEFPostDataElement.pas +Item_132=..\source\uCEFPreferenceManager.pas +Item_133=..\source\uCEFPreferenceObserver.pas +Item_134=..\source\uCEFPreferenceRegistrar.pas +Item_135=..\source\uCEFPrintDialogCallback.pas +Item_136=..\source\uCEFPrintHandler.pas +Item_137=..\source\uCEFPrintJobCallback.pas +Item_138=..\source\uCEFPrintSettings.pas +Item_139=..\source\uCEFProcessMessage.pas +Item_140=..\source\uCEFRegistration.pas +Item_141=..\source\uCEFRenderHandler.pas +Item_142=..\source\uCEFRenderProcessHandler.pas +Item_143=..\source\uCEFRequest.pas +Item_144=..\source\uCEFRequestContext.pas +Item_145=..\source\uCEFRequestContextHandler.pas +Item_146=..\source\uCEFRequestHandler.pas +Item_147=..\source\uCEFResolveCallback.pas +Item_148=..\source\uCEFResourceBundle.pas +Item_149=..\source\uCEFResourceBundleHandler.pas +Item_150=..\source\uCEFResourceHandler.pas +Item_151=..\source\uCEFResourceReadCallback.pas +Item_152=..\source\uCEFResourceRequestHandler.pas +Item_153=..\source\uCEFResourceSkipCallback.pas +Item_154=..\source\uCEFResponse.pas +Item_155=..\source\uCEFResponseFilter.pas +Item_156=..\source\uCEFRunContextMenuCallback.pas +Item_157=..\source\uCEFRunFileDialogCallback.pas +Item_158=..\source\uCEFRunQuickMenuCallback.pas +Item_159=..\source\uCEFSchemeHandlerFactory.pas +Item_160=..\source\uCEFSchemeRegistrar.pas +Item_161=..\source\uCEFScrollView.pas +Item_162=..\source\uCEFScrollViewComponent.pas +Item_163=..\source\uCEFSelectClientCertificateCallback.pas +Item_164=..\source\uCEFSentinel.pas +Item_165=..\source\uCEFServer.pas +Item_166=..\source\uCEFServerComponent.pas +Item_167=..\source\uCEFServerEvents.pas +Item_168=..\source\uCEFServerHandler.pas +Item_169=..\source\uCEFSetCookieCallback.pas +Item_170=..\source\uCEFSettingObserver.pas +Item_171=..\source\uCEFSharedMemoryRegion.pas +Item_172=..\source\uCEFSharedProcessMessageBuilder.pas +Item_173=..\source\uCEFSslInfo.pas +Item_174=..\source\uCEFSSLStatus.pas +Item_175=..\source\uCEFStreamReader.pas +Item_176=..\source\uCEFStreamWriter.pas +Item_177=..\source\uCEFStringList.pas +Item_178=..\source\uCEFStringMap.pas +Item_179=..\source\uCEFStringMultimap.pas +Item_180=..\source\uCEFStringVisitor.pas +Item_181=..\source\uCEFTask.pas +Item_182=..\source\uCEFTaskManager.pas +Item_183=..\source\uCEFTaskRunner.pas +Item_184=..\source\uCEFTextfield.pas +Item_185=..\source\uCEFTextfieldComponent.pas +Item_186=..\source\uCEFTextfieldDelegate.pas +Item_187=..\source\uCEFThread.pas +Item_188=..\source\uCEFTimerWorkScheduler.pas +Item_189=..\source\uCEFTypes.pas +Item_190=..\source\uCEFUnresponsiveProcessCallback.pas +Item_191=..\source\uCEFUrlRequest.pas +Item_192=..\source\uCEFUrlrequestClient.pas +Item_193=..\source\uCEFUrlRequestClientComponent.pas +Item_194=..\source\uCEFUrlRequestClientEvents.pas +Item_195=..\source\uCEFv8Accessor.pas +Item_196=..\source\uCEFv8ArrayBufferReleaseCallback.pas +Item_197=..\source\uCEFv8BackingStore.pas +Item_198=..\source\uCEFv8Context.pas +Item_199=..\source\uCEFv8Exception.pas +Item_200=..\source\uCEFv8Handler.pas +Item_201=..\source\uCEFv8Interceptor.pas +Item_202=..\source\uCEFv8StackFrame.pas +Item_203=..\source\uCEFv8StackTrace.pas +Item_204=..\source\uCEFv8Value.pas +Item_205=..\source\uCEFValue.pas +Item_206=..\source\uCEFView.pas +Item_207=..\source\uCEFViewComponent.pas +Item_208=..\source\uCEFViewDelegate.pas +Item_209=..\source\uCEFViewsFrameworkEvents.pas +Item_210=..\source\uCEFWaitableEvent.pas +Item_211=..\source\uCEFWinControl.pas +Item_212=..\source\uCEFWindow.pas +Item_213=..\source\uCEFWindowComponent.pas +Item_214=..\source\uCEFWindowDelegate.pas +Item_215=..\source\uCEFWindowInfoWrapper.pas +Item_216=..\source\uCEFWindowParent.pas +Item_217=..\source\uCEFWorkScheduler.pas +Item_218=..\source\uCEFWorkSchedulerQueueThread.pas +Item_219=..\source\uCEFWorkSchedulerThread.pas +Item_220=..\source\uCEFWriteHandler.pas +Item_221=..\source\uCEFX509Certificate.pas +Item_222=..\source\uCEFX509CertPrincipal.pas +Item_223=..\source\uCEFXmlReader.pas +Item_224=..\source\uCEFZipReader.pas + +[AdditionalFiles] +Count=0 + +[HyphenatedWords] +Count=0 + +[SpecialMarkers] +Count=2 +Item_0={* +Item_1=*} + +[IgnoreWords] +Count=0 diff --git a/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.lpk b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.lpk index 9d65b13b9fc..11a42b1ae73 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.lpk +++ b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.lpk @@ -1,6 +1,6 @@ - + @@ -21,831 +21,908 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + + - - + + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - + - - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - - + + - - - + + - - + + - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - - + + - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - - - + + - - + + - + - + - - - + + - - - + + - - - + + - - - + + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.pas b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.pas index 71c1d8694a4..63256ea457a 100644 --- a/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.pas +++ b/common/windows/delphi/ext/cef4delphi/packages/cef4delphi_lazarus.pas @@ -8,89 +8,96 @@ interface uses - uCEFAccessibilityHandler, uCEFApp, uCEFApplication, uCEFAuthCallback, + uCEFAccessibilityHandler, uCEFApp, uCEFApplication, uCEFApplicationCore, + uCEFApplicationEvents, uCEFArgCopy, uCEFAudioHandler, uCEFAuthCallback, uCEFBaseRefCounted, uCEFBaseScopedWrapper, uCEFBeforeDownloadCallback, - uCEFBinaryValue, uCEFBrowser, uCEFBrowserProcessHandler, uCEFCallback, - uCEFChromiumEvents, uCEFChromiumFontOptions, uCEFChromiumOptions, - uCEFChromiumWindow, uCEFClient, uCEFCommandLine, uCEFCompletionCallback, - uCEFConstants, uCEFContextMenuHandler, uCEFContextMenuParams, - uCEFCookieManager, uCEFCookieVisitor, uCEFCustomStreamReader, - uCEFDeleteCookiesCallback, uCEFDialogHandler, uCEFDictionaryValue, - uCEFDisplayHandler, uCEFDomDocument, uCEFDomNode, uCEFDomVisitor, - uCEFDownloadHandler, uCEFDownloadImageCallBack, uCEFDownLoadItem, - uCEFDownloadItemCallback, uCEFDragData, uCEFDragHandler, - uCEFEndTracingCallback, uCEFExtension, uCEFExtensionHandler, - uCEFFileDialogCallback, uCEFFindHandler, uCEFFocusHandler, uCEFFrame, - uCEFGetExtensionResourceCallback, uCEFImage, uCEFInterfaces, - uCEFJsDialogCallback, uCEFJsDialogHandler, uCEFKeyboardHandler, - uCEFLibFunctions, uCEFLifeSpanHandler, uCEFListValue, uCEFLoadHandler, + uCEFBinaryValue, uCEFBitmapBitBuffer, uCEFBoxLayout, uCEFBrowser, + uCEFBrowserBitmap, uCEFBrowserProcessHandler, uCEFBrowserView, + uCEFBrowserViewComponent, uCEFBrowserViewDelegate, uCEFBrowserWindow, + uCEFBufferPanel, uCEFButton, uCEFButtonComponent, uCEFButtonDelegate, + uCEFCallback, uCEFChromium, uCEFChromiumCore, uCEFChromiumEvents, + uCEFChromiumFontOptions, uCEFChromiumOptions, uCEFChromiumWindow, + uCEFClient, uCEFCommandHandler, uCEFCommandLine, uCEFCompletionCallback, + uCEFComponentIdList, uCEFConstants, uCEFContextMenuHandler, + uCEFContextMenuParams, uCEFCookieAccessFilter, uCEFCookieManager, + uCEFCookieVisitor, uCEFCustomStreamReader, uCEFDeleteCookiesCallback, + uCEFDevToolsMessageObserver, uCEFDialogHandler, uCEFDictionaryValue, + uCEFDisplay, uCEFDisplayHandler, uCEFDomDocument, uCEFDomNode, + uCEFDomVisitor, uCEFDownloadHandler, uCEFDownloadImageCallBack, + uCEFDownloadItem, uCEFDownloadItemCallback, uCEFDragData, uCEFDragHandler, + uCEFEndTracingCallback, uCEFFileDialogCallback, uCEFFileDialogInfo, + uCEFFillLayout, uCEFFindHandler, uCEFFocusHandler, uCEFFrame, + uCEFFrameHandler, uCEFImage, uCEFInterfaces, uCEFJsDialogCallback, + uCEFJsDialogHandler, uCEFJson, uCEFKeyboardHandler, uCEFLabelButton, + uCEFLabelButtonComponent, uCEFLayout, uCEFLazarusCocoa, uCEFLibFunctions, + uCEFLifeSpanHandler, uCEFLinkedWinControlBase, uCEFLinkedWindowParent, + uCEFLinuxConstants, uCEFLinuxEventPipe, uCEFLinuxFunctions, + uCEFLinuxOSRIMEHandler, uCEFLinuxTypes, uCEFListValue, uCEFLoadHandler, + uCEFMediaAccessCallback, uCEFMediaObserver, uCEFMediaRoute, + uCEFMediaRouteCreateCallback, uCEFMediaRouter, uCEFMediaSink, + uCEFMediaSinkDeviceInfoCallback, uCEFMediaSource, uCEFMenuButton, + uCEFMenuButtonComponent, uCEFMenuButtonDelegate, uCEFMenuButtonPressedLock, uCEFMenuModel, uCEFMenuModelDelegate, uCEFMiscFunctions, - uCEFNavigationEntry, uCEFNavigationEntryVisitor, uCEFPDFPrintCallback, - uCEFPDFPrintOptions, uCEFPostData, uCEFPostDataElement, uCEFPrintSettings, - uCEFProcessMessage, uCEFRegisterCDMCallback, uCEFRenderHandler, - uCEFRenderProcessHandler, uCEFRequest, uCEFRequestCallback, - uCEFRequestContext, uCEFRequestContextHandler, uCEFRequestHandler, - uCEFResolveCallback, uCEFResourceBundle, uCEFResourceBundleHandler, - uCEFResourceHandler, uCEFResponse, uCEFResponseFilter, - uCEFRunContextMenuCallback, uCEFRunFileDialogCallback, - uCEFSchemeHandlerFactory, uCEFSchemeRegistrar, - uCEFSelectClientCertificateCallback, uCEFSetCookieCallback, uCEFSslInfo, - uCEFSSLStatus, uCEFStreamReader, uCEFStreamWriter, uCEFStringList, - uCEFStringMap, uCEFStringMultimap, uCEFStringVisitor, uCEFTask, - uCEFTaskRunner, uCEFThread, uCEFTypes, uCEFUrlRequest, uCEFUrlrequestClient, - uCEFv8Accessor, uCEFv8ArrayBufferReleaseCallback, uCEFv8Context, - uCEFv8Exception, uCEFv8Handler, uCEFv8Interceptor, uCEFv8StackFrame, - uCEFv8StackTrace, uCEFv8Value, uCEFValue, uCEFWaitableEvent, - uCEFWebPluginInfo, uCEFWebPluginInfoVisitor, uCEFWebPluginUnstableCallback, - uCEFWindowParent, uCEFWorkScheduler, uCEFWorkSchedulerThread, - uCEFWriteHandler, uCEFX509Certificate, uCEFX509CertPrincipal, uCEFXmlReader, - uCEFZipReader, uCEFChromiumCore, uCEFChromium, uCEFBufferPanel, uCEFServer, - uCEFServerComponent, uCEFServerEvents, uCEFServerHandler, uCEFWinControl, - uCEFLinkedWindowParent, uCEFUrlRequestClientEvents, - uCEFUrlRequestClientComponent, uCEFOSRIMEHandler, uCEFCookieAccessFilter, + uCEFNavigationEntry, uCEFNavigationEntryVisitor, uCEFOAuth2Helper, + uCEFOsrBrowserWindow, uCEFOSRIMEHandler, uCEFOverlayController, uCEFPanel, + uCEFPanelComponent, uCEFPanelDelegate, uCEFPDFPrintCallback, + uCEFPDFPrintOptions, uCEFPermissionHandler, uCEFPermissionPromptCallback, + uCEFPostData, uCEFPostDataElement, uCEFPreferenceManager, + uCEFPreferenceObserver, uCEFPreferenceRegistrar, uCEFPrintDialogCallback, + uCEFPrintHandler, uCEFPrintJobCallback, uCEFPrintSettings, + uCEFProcessMessage, uCEFRegistration, uCEFRenderHandler, + uCEFRenderProcessHandler, uCEFRequest, uCEFRequestContext, + uCEFRequestContextHandler, uCEFRequestHandler, uCEFResolveCallback, + uCEFResourceBundle, uCEFResourceBundleHandler, uCEFResourceHandler, uCEFResourceReadCallback, uCEFResourceRequestHandler, - uCEFResourceSkipCallback, uCEFSentinel, uCEFApplicationCore, - uCEFOAuth2Helper, uCEFMediaObserver, uCEFMediaRoute, - uCEFMediaRouteCreateCallback, uCEFMediaRouter, uCEFMediaSink, - uCEFMediaSource, uCEFRegistration, uCEFWindowDelegate, uCEFWindow, - uCEFMenuButtonDelegate, uCEFMenuButtonPressedLock, uCEFMenuButton, - uCEFLabelButton, uCEFButtonDelegate, uCEFButton, uCEFBrowserViewDelegate, - uCEFBrowserView, uCEFPanelDelegate, uCEFPanel, uCEFScrollView, - uCEFTextfieldDelegate, uCEFTextfield, uCEFViewDelegate, uCEFView, - uCEFFillLayout, uCEFBoxLayout, uCEFLayout, uCEFDisplay, - uCEFMenuButtonComponent, uCEFLabelButtonComponent, uCEFButtonComponent, - uCEFBrowserViewComponent, uCEFWindowComponent, uCEFPanelComponent, - uCEFScrollViewComponent, uCEFTextfieldComponent, uCEFViewComponent, - uCEFViewsFrameworkEvents, uCEFAudioHandler, uCEFDevToolsMessageObserver, - uCEFMediaSinkDeviceInfoCallback, uCEFJson, uCEFBitmapBitBuffer, - uCEFPrintDialogCallback, uCEFPrintHandler, uCEFPrintJobCallback, - uCEFLinuxFunctions, uCEFLinuxTypes, uCEFLinuxConstants, - uCEFWorkSchedulerQueueThread, uCEFLinkedWinControlBase, uCEFLazarusCocoa, - uCEFBrowserWindow, uCEFOsrBrowserWindow, LazarusPackageIntf; + uCEFResourceSkipCallback, uCEFResponse, uCEFResponseFilter, + uCEFRunContextMenuCallback, uCEFRunFileDialogCallback, + uCEFRunQuickMenuCallback, uCEFSchemeHandlerFactory, uCEFSchemeRegistrar, + uCEFScrollView, uCEFScrollViewComponent, + uCEFSelectClientCertificateCallback, uCEFSentinel, uCEFServer, + uCEFServerComponent, uCEFServerEvents, uCEFServerHandler, + uCEFSetCookieCallback, uCEFSettingObserver, uCEFSharedMemoryRegion, + uCEFSharedProcessMessageBuilder, uCEFSslInfo, uCEFSSLStatus, + uCEFStreamReader, uCEFStreamWriter, uCEFStringList, uCEFStringMap, + uCEFStringMultimap, uCEFStringVisitor, uCEFTask, uCEFTaskManager, + uCEFTaskRunner, uCEFTextfield, uCEFTextfieldComponent, + uCEFTextfieldDelegate, uCEFThread, uCEFTimerWorkScheduler, uCEFTypes, + uCEFUrlRequest, uCEFUrlrequestClient, uCEFUrlRequestClientComponent, + uCEFUrlRequestClientEvents, uCEFv8Accessor, + uCEFv8ArrayBufferReleaseCallback, uCEFv8Context, uCEFv8Exception, + uCEFv8Handler, uCEFv8Interceptor, uCEFv8StackFrame, uCEFv8StackTrace, + uCEFv8Value, uCEFValue, uCEFView, uCEFViewComponent, uCEFViewDelegate, + uCEFViewsFrameworkEvents, uCEFWaitableEvent, uCEFWinControl, uCEFWindow, + uCEFWindowComponent, uCEFWindowDelegate, uCEFWindowInfoWrapper, + uCEFWindowParent, uCEFWorkScheduler, uCEFWorkSchedulerQueueThread, + uCEFWorkSchedulerThread, uCEFWriteHandler, uCEFX509Certificate, + uCEFX509CertPrincipal, uCEFXmlReader, uCEFZipReader, uCEFComponentUpdater, + uCEFComponentUpdateCallback, uCEFComponent, uCEFv8BackingStore, + LazarusPackageIntf; implementation procedure Register; begin - RegisterUnit('uCEFChromiumWindow', @uCEFChromiumWindow.Register); - RegisterUnit('uCEFWindowParent', @uCEFWindowParent.Register); - RegisterUnit('uCEFWorkScheduler', @uCEFWorkScheduler.Register); - RegisterUnit('uCEFChromium', @uCEFChromium.Register); + RegisterUnit('uCEFBrowserViewComponent', @uCEFBrowserViewComponent.Register); + RegisterUnit('uCEFBrowserWindow', @uCEFBrowserWindow.Register); RegisterUnit('uCEFBufferPanel', @uCEFBufferPanel.Register); - RegisterUnit('uCEFServerComponent', @uCEFServerComponent.Register); + RegisterUnit('uCEFChromium', @uCEFChromium.Register); + RegisterUnit('uCEFChromiumWindow', @uCEFChromiumWindow.Register); + RegisterUnit('uCEFLabelButtonComponent', @uCEFLabelButtonComponent.Register); RegisterUnit('uCEFLinkedWindowParent', @uCEFLinkedWindowParent.Register); - RegisterUnit('uCEFUrlRequestClientComponent', - @uCEFUrlRequestClientComponent.Register); - RegisterUnit('uCEFSentinel', @uCEFSentinel.Register); RegisterUnit('uCEFMenuButtonComponent', @uCEFMenuButtonComponent.Register); - RegisterUnit('uCEFLabelButtonComponent', @uCEFLabelButtonComponent.Register); - RegisterUnit('uCEFBrowserViewComponent', @uCEFBrowserViewComponent.Register); - RegisterUnit('uCEFWindowComponent', @uCEFWindowComponent.Register); + RegisterUnit('uCEFOsrBrowserWindow', @uCEFOsrBrowserWindow.Register); RegisterUnit('uCEFPanelComponent', @uCEFPanelComponent.Register); RegisterUnit('uCEFScrollViewComponent', @uCEFScrollViewComponent.Register); + RegisterUnit('uCEFSentinel', @uCEFSentinel.Register); + RegisterUnit('uCEFServerComponent', @uCEFServerComponent.Register); RegisterUnit('uCEFTextfieldComponent', @uCEFTextfieldComponent.Register); - RegisterUnit('uCEFBrowserWindow', @uCEFBrowserWindow.Register); - RegisterUnit('uCEFOsrBrowserWindow', @uCEFOsrBrowserWindow.Register); + RegisterUnit('uCEFUrlRequestClientComponent', + @uCEFUrlRequestClientComponent.Register); + RegisterUnit('uCEFWindowComponent', @uCEFWindowComponent.Register); + RegisterUnit('uCEFWindowParent', @uCEFWindowParent.Register); + RegisterUnit('uCEFWorkScheduler', @uCEFWorkScheduler.Register); end; initialization diff --git a/common/windows/delphi/ext/cef4delphi/packages/dcu/placeholder.txt b/common/windows/delphi/ext/cef4delphi/packages/dcu/placeholder.txt deleted file mode 100644 index def5311200b..00000000000 --- a/common/windows/delphi/ext/cef4delphi/packages/dcu/placeholder.txt +++ /dev/null @@ -1 +0,0 @@ -This directory is used by the Delphi 7 project. \ No newline at end of file diff --git a/common/windows/delphi/ext/cef4delphi/source/cef.inc b/common/windows/delphi/ext/cef4delphi/source/cef.inc index c8ce967ee98..c763ebe7aa7 100644 --- a/common/windows/delphi/ext/cef4delphi/source/cef.inc +++ b/common/windows/delphi/ext/cef4delphi/source/cef.inc @@ -1,42 +1,5 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2017 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - // The complete list of compiler versions is here : - // http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Compiler_Versions + // https://docwiki.embarcadero.com/RADStudio/Athens/en/Compiler_Versions {$DEFINE DELPHI_VERSION_UNKNOW} @@ -402,8 +365,94 @@ {$DEFINE DELPHI27_UP} {$ENDIF} +// Rad Studio 11.0 - Delphi Alexandria +{$IFDEF VER350} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} +{$ENDIF} + +// Rad Studio 12.0 - Delphi Athens +{$IFDEF VER360} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} +{$ENDIF} + +// Rad Studio 13.0 - Delphi Florence +{$IFDEF VER370} + {$UNDEF DELPHI_VERSION_UNKNOW} + {$DEFINE DELPHI5_UP} + {$DEFINE DELPHI6_UP} + {$DEFINE DELPHI7_UP} + {$DEFINE DELPHI8_UP} + {$DEFINE DELPHI9_UP} + {$DEFINE DELPHI10_UP} + {$DEFINE DELPHI11_UP} + {$DEFINE DELPHI12_UP} + {$DEFINE DELPHI14_UP} + {$DEFINE DELPHI15_UP} + {$DEFINE DELPHI16_UP} + {$DEFINE DELPHI17_UP} + {$DEFINE DELPHI18_UP} + {$DEFINE DELPHI19_UP} + {$DEFINE DELPHI20_UP} + {$DEFINE DELPHI21_UP} + {$DEFINE DELPHI22_UP} + {$DEFINE DELPHI23_UP} + {$DEFINE DELPHI24_UP} + {$DEFINE DELPHI25_UP} + {$DEFINE DELPHI26_UP} + {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} + {$DEFINE DELPHI30_UP} +{$ENDIF} + {$IFDEF FPC} - {$DEFINE SUPPORTS_INLINE} {$IF DEFINED(FPC_FULLVERSION) AND (FPC_FULLVERSION >= 30200)} {$DEFINE FPC_VER_320} {$IFEND} @@ -431,6 +480,9 @@ {$DEFINE DELPHI25_UP} {$DEFINE DELPHI26_UP} {$DEFINE DELPHI27_UP} + {$DEFINE DELPHI28_UP} + {$DEFINE DELPHI29_UP} + {$DEFINE DELPHI30_UP} {$ENDIF} {$ENDIF} @@ -439,10 +491,7 @@ {$ENDIF} {$IF DEFINED(CPUX32) OR - DEFINED(CPU386) OR - DEFINED(CPUi386) OR - DEFINED(CPUPOWERPC32) OR - DEFINED(CPUSPARC32) OR + DEFINED(CPU32) OR DEFINED(CPU32BITS) OR DEFINED(CPUARM32) OR DEFINED(WIN32) OR @@ -452,6 +501,19 @@ DEFINED(POSIX32) OR DEFINED(ANDROID32)} {$DEFINE TARGET_32BITS} +{$ELSE} + {$IF DEFINED(CPUX64) OR + DEFINED(CPU64) OR + DEFINED(CPU64BITS) OR + DEFINED(CPUARM64) OR + DEFINED(WIN64) OR + DEFINED(IOS64) OR + DEFINED(MACOS64) OR + DEFINED(LINUX64) OR + DEFINED(POSIX64) OR + DEFINED(ANDROID64)} + {$DEFINE TARGET_64BITS} + {$IFEND} {$IFEND} // Delphi uses MACOS for the new MacOSX and DARWIN is not defined @@ -466,3 +528,29 @@ {$DEFINE MACOSX} {$ENDIF} {$ENDIF} + +{$IFDEF LINUX} + {$IFDEF FPC} + {$DEFINE LINUXFPC} + {$ELSE} + {$DEFINE LINUXFMX} + {$ENDIF} +{$ENDIF} + +// OS_POSIX is defined for AIX, ANDROID, ASMJS, CHROMEOS, FREEBSD, IOS, LINUX, +// MAC, NACL, NETBSD, OPENBSD, QNX and SOLARIS in /include/base/cef_build.h +{$IFDEF FPC} + {$IF DEFINED(AIX) OR + DEFINED(ANDROID) OR + DEFINED(BSD) OR + DEFINED(LINUX) OR + DEFINED(DARWIN) OR + DEFINED(QNX) OR + DEFINED(SOLARIS)} + {$DEFINE OS_POSIX} + {$IFEND} +{$ELSE} + {$IFDEF POSIX} + {$DEFINE OS_POSIX} + {$ENDIF} +{$ENDIF} diff --git a/common/windows/delphi/ext/cef4delphi/source/uCEFAccessibilityHandler.pas b/common/windows/delphi/ext/cef4delphi/source/uCEFAccessibilityHandler.pas index 98a73c4e829..b6e4b3ea6ab 100644 --- a/common/windows/delphi/ext/cef4delphi/source/uCEFAccessibilityHandler.pas +++ b/common/windows/delphi/ext/cef4delphi/source/uCEFAccessibilityHandler.pas @@ -1,55 +1,18 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - unit uCEFAccessibilityHandler; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} -{$IFNDEF CPUX64}{$ALIGN ON}{$ENDIF} -{$MINENUMSIZE 4} - {$I cef.inc} +{$IFNDEF TARGET_64BITS}{$ALIGN ON}{$ENDIF} +{$MINENUMSIZE 4} + interface uses - uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes, uCEFChromiumEvents; + uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes; type TOnAccessibilityEvent = procedure(Sender: TObject; const value: ICefValue) of object; diff --git a/common/windows/delphi/ext/cef4delphi/source/uCEFApp.pas b/common/windows/delphi/ext/cef4delphi/source/uCEFApp.pas index 5983dac1930..82e3900ffd1 100644 --- a/common/windows/delphi/ext/cef4delphi/source/uCEFApp.pas +++ b/common/windows/delphi/ext/cef4delphi/source/uCEFApp.pas @@ -1,51 +1,14 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - unit uCEFApp; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} -{$IFNDEF CPUX64}{$ALIGN ON}{$ENDIF} -{$MINENUMSIZE 4} - {$I cef.inc} +{$IFNDEF TARGET_64BITS}{$ALIGN ON}{$ENDIF} +{$MINENUMSIZE 4} + interface uses @@ -57,6 +20,13 @@ interface uCEFTypes, uCEFInterfaces, uCEFBaseRefCounted, uCEFSchemeRegistrar, uCEFApplicationCore; type + /// + /// Implement this interface to provide handler implementations. Methods will be + /// called by the process and/or thread indicated. + /// + /// + /// CEF source file: /include/capi/cef_app_capi.h (cef_app_t) + /// TCefAppOwn = class(TCefBaseRefCountedOwn, ICefApp) protected procedure OnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual; abstract; @@ -101,8 +71,8 @@ implementation {$ELSE} SysUtils, {$ENDIF} - uCEFMiscFunctions, uCEFCommandLine, uCEFConstants, - uCEFBrowserProcessHandler, uCEFResourceBundleHandler, uCEFRenderProcessHandler; + uCEFMiscFunctions, uCEFCommandLine, uCEFBrowserProcessHandler, + uCEFResourceBundleHandler, uCEFRenderProcessHandler; // TCefAppOwn @@ -269,7 +239,8 @@ procedure TCustomCefApp.RemoveReferences; procedure TCustomCefApp.OnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); begin try - if (FCefApp <> nil) then FCefApp.Internal_OnBeforeCommandLineProcessing(processType, commandLine); + if (FCefApp <> nil) then + IApplicationCoreEvents(FCefApp).doOnBeforeCommandLineProcessing(processType, commandLine); except on e : exception do if CustomExceptionHandler('TCustomCefApp.OnBeforeCommandLineProcessing', e) then raise; @@ -279,7 +250,8 @@ procedure TCustomCefApp.OnBeforeCommandLineProcessing(const processType: ustring procedure TCustomCefApp.OnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); begin try - if (FCefApp <> nil) then FCefApp.Internal_OnRegisterCustomSchemes(registrar); + if (FCefApp <> nil) then + IApplicationCoreEvents(FCefApp).doOnRegisterCustomSchemes(registrar); except on e : exception do if CustomExceptionHandler('TCustomCefApp.OnRegisterCustomSchemes', e) then raise; diff --git a/common/windows/delphi/ext/cef4delphi/source/uCEFApplication.pas b/common/windows/delphi/ext/cef4delphi/source/uCEFApplication.pas index d2784de0cee..1b18b9e5287 100644 --- a/common/windows/delphi/ext/cef4delphi/source/uCEFApplication.pas +++ b/common/windows/delphi/ext/cef4delphi/source/uCEFApplication.pas @@ -1,51 +1,14 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - unit uCEFApplication; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} -{$IFNDEF CPUX64}{$ALIGN ON}{$ENDIF} -{$MINENUMSIZE 4} - {$I cef.inc} +{$IFNDEF TARGET_64BITS}{$ALIGN ON}{$ENDIF} +{$MINENUMSIZE 4} + interface uses @@ -83,15 +46,18 @@ interface CHROMEELF_DLL = uCefApplicationCore.CHROMEELF_DLL; type + /// + /// Main class used to simplify the CEF initialization and destruction. + /// TCefApplication = class(TCefApplicationCore) protected FDestroyApplicationObject : boolean; FDestroyAppWindows : boolean; {$IFDEF FPC} - FContextInitializedHandlers: TMethodList; - FContextInitializedDone: Boolean; + FContextInitializedHandlers : TMethodList; procedure CallContextInitializedHandlers(Data: PtrInt); + procedure doOnContextInitialized; override; {$ENDIF} procedure BeforeInitSubProcess; override; @@ -101,12 +67,10 @@ TCefApplication = class(TCefApplicationCore) destructor Destroy; override; procedure UpdateDeviceScaleFactor; override; - property DestroyApplicationObject: boolean read FDestroyApplicationObject write FDestroyApplicationObject; - property DestroyAppWindows : boolean read FDestroyAppWindows write FDestroyAppWindows; + property DestroyApplicationObject : boolean read FDestroyApplicationObject write FDestroyApplicationObject; + property DestroyAppWindows : boolean read FDestroyAppWindows write FDestroyAppWindows; {$IFDEF FPC} - procedure Internal_OnContextInitialized; override; // In UI thread - Procedure AddContextInitializedHandler(AHandler: TNotifyEvent); Procedure RemoveContextInitializedHandler(AHandler: TNotifyEvent); {$ENDIF} @@ -209,22 +173,24 @@ constructor TCefApplication.Create; {$ENDIF} inherited Create; - if GlobalCEFApp = nil then + + if (GlobalCEFApp = nil) then GlobalCEFApp := Self; - FDestroyApplicationObject := False; - FDestroyAppWindows := True; + FDestroyApplicationObject := False; + FDestroyAppWindows := True; end; destructor TCefApplication.Destroy; begin - if GlobalCEFApp = Self then + if (GlobalCEFApp = Self) then GlobalCEFApp := nil; - inherited Destroy; {$IFDEF FPC} - FContextInitializedHandlers.Free; + FreeAndNil(FContextInitializedHandlers); {$ENDIF} + + inherited Destroy; end; procedure TCefApplication.UpdateDeviceScaleFactor; @@ -240,6 +206,8 @@ procedure TCefApplication.UpdateDeviceScaleFactor; {$IFNDEF FMX} if RunningWindows10OrNewer then begin + {$warnings off} + {$hints off} if assigned(screen.ActiveForm) and screen.ActiveForm.HandleAllocated then TempHandle := screen.ActiveForm.Handle @@ -249,6 +217,9 @@ procedure TCefApplication.UpdateDeviceScaleFactor; TempHandle := Application.MainForm.Handle else TempHandle := Application.Handle; + {$hints on} + {$warnings on} + TempDPI := 0; if GetDPIForHandle(TempHandle, TempDPI) then FDeviceScaleFactor := TempDPI / USER_DEFAULT_SCREEN_DPI @@ -264,30 +235,32 @@ procedure TCefApplication.UpdateDeviceScaleFactor; end; {$IFDEF FPC} -procedure TCefApplication.Internal_OnContextInitialized; +procedure TCefApplication.doOnContextInitialized; begin - inherited Internal_OnContextInitialized; + inherited doOnContextInitialized; + Application.QueueAsyncCall(@CallContextInitializedHandlers, 0); end; procedure TCefApplication.AddContextInitializedHandler(AHandler: TNotifyEvent); begin - FContextInitializedHandlers.Add(TMethod(AHandler)); - if FContextInitializedDone then - AHandler(Self); + if FGlobalContextInitialized then + AHandler(Self) + else + if (FContextInitializedHandlers <> nil) then + FContextInitializedHandlers.Add(TMethod(AHandler)); end; procedure TCefApplication.RemoveContextInitializedHandler(AHandler: TNotifyEvent); begin - FContextInitializedHandlers.Remove(TMethod(AHandler)); + if (FContextInitializedHandlers <> nil) then + FContextInitializedHandlers.Remove(TMethod(AHandler)); end; -{$ENDIF} -{$IFDEF FPC} procedure TCefApplication.CallContextInitializedHandlers(Data: PtrInt); begin - FContextInitializedHandlers.CallNotifyEvents(Self); - FContextInitializedDone := True; + if (FContextInitializedHandlers <> nil) then + FContextInitializedHandlers.CallNotifyEvents(Self); end; {$ENDIF} @@ -301,7 +274,7 @@ procedure TCefApplication.BeforeInitSubProcess; begin {$IFNDEF FPC} {$IFNDEF FMX} - if Application <> nil then + if (Application <> nil) then begin if FDestroyApplicationObject then begin @@ -335,7 +308,8 @@ procedure TCefApplication.BeforeInitSubProcess; if (Application.PopupControlWnd <> 0) then DeallocateHWnd(Application.PopupControlWnd); {$ENDIF} end; - if not IsLibrary then + + if not(IsLibrary) then begin // Undo the OleInitialize from TApplication.Create. The sub-processes want a different // COM thread model and fail with an assertion if the Debug-DLLs are used. diff --git a/common/windows/delphi/ext/cef4delphi/source/uCEFApplicationCore.pas b/common/windows/delphi/ext/cef4delphi/source/uCEFApplicationCore.pas index 3e35403999f..d4d47635fdf 100644 --- a/common/windows/delphi/ext/cef4delphi/source/uCEFApplicationCore.pas +++ b/common/windows/delphi/ext/cef4delphi/source/uCEFApplicationCore.pas @@ -1,51 +1,14 @@ -// ************************************************************************ -// ***************************** CEF4Delphi ******************************* -// ************************************************************************ -// -// CEF4Delphi is based on DCEF3 which uses CEF to embed a chromium-based -// browser in Delphi applications. -// -// The original license of DCEF3 still applies to CEF4Delphi. -// -// For more information about CEF4Delphi visit : -// https://www.briskbard.com/index.php?lang=en&pageid=cef -// -// Copyright © 2021 Salvador Diaz Fau. All rights reserved. -// -// ************************************************************************ -// ************ vvvv Original license and comments below vvvv ************* -// ************************************************************************ -(* - * Delphi Chromium Embedded 3 - * - * Usage allowed under the restrictions of the Lesser GNU General Public License - * or alternatively the restrictions of the Mozilla Public License 1.1 - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for - * the specific language governing rights and limitations under the License. - * - * Unit owner : Henri Gourvest - * Web site : http://www.progdigy.com - * Repository : http://code.google.com/p/delphichromiumembedded/ - * Group : http://groups.google.com/group/delphichromiumembedded - * - * Embarcadero Technologies, Inc is not permitted to use or redistribute - * this source code without explicit permission. - * - *) - unit uCEFApplicationCore; {$IFDEF FPC} {$MODE OBJFPC}{$H+} {$ENDIF} -{$IFNDEF CPUX64}{$ALIGN ON}{$ENDIF} -{$MINENUMSIZE 4} - {$I cef.inc} +{$IFNDEF TARGET_64BITS}{$ALIGN ON}{$ENDIF} +{$MINENUMSIZE 4} + {$IFNDEF FPC}{$IFNDEF DELPHI12_UP} // Workaround for "Internal error" in old Delphi versions caused by uint64 handling {$R-} @@ -60,19 +23,14 @@ interface {$ELSE} {$IFDEF MSWINDOWS}Windows,{$ENDIF} Classes, {$IFDEF FPC}dynlibs,{$ENDIF} {$ENDIF} - {$IFDEF LINUX}{$IFDEF FPC}xlib,{$ENDIF}{$ENDIF} - uCEFTypes, uCEFInterfaces, uCEFBaseRefCounted, uCEFSchemeRegistrar; + {$IFDEF LINUX} + {$IFDEF FPC}xlib,{$ENDIF} uCEFArgCopy, + {$ENDIF} + uCEFTypes, uCEFInterfaces, uCEFApplicationEvents, uCEFSchemeRegistrar, + uCEFPreferenceRegistrar, uCEFComponentIdList; const - CEF_SUPPORTED_VERSION_MAJOR = 89; - CEF_SUPPORTED_VERSION_MINOR = 0; - CEF_SUPPORTED_VERSION_RELEASE = 18; - CEF_SUPPORTED_VERSION_BUILD = 0; - - CEF_CHROMEELF_VERSION_MAJOR = 89; - CEF_CHROMEELF_VERSION_MINOR = 0; - CEF_CHROMEELF_VERSION_RELEASE = 4389; - CEF_CHROMEELF_VERSION_BUILD = 114; + {$I uCEFVersion.inc} {$IFDEF MSWINDOWS} LIBCEF_DLL = 'libcef.dll'; @@ -90,73 +48,64 @@ interface CHROMEELF_DLL = ''; {$ENDIF} + {$IFDEF ANDROID} + LIBCEF_DLL = ''; + CHROMEELF_DLL = ''; + {$ENDIF} + // for InitLibLocationFromArgs LIBCEF_PAK = 'cef.pak'; LIBCEF_LOCALE_DIR = 'locales'; LIBCEF_LOCALE_ENUS = 'en-US.pak'; type - TCefApplicationCore = class + TCEFProxySettings = class; + + /// + /// Parent class of TCefApplication used to simplify the CEF initialization and destruction. + /// + TCefApplicationCore = class(TInterfacedObject, IApplicationCoreEvents) protected + // Fields used to populate TCefSettings + FNoSandbox : boolean; + FBrowserSubprocessPath : ustring; + FFrameworkDirPath : ustring; + FMainBundlePath : ustring; // Only used in macOS + FMultiThreadedMessageLoop : boolean; + FExternalMessagePump : boolean; + FWindowlessRenderingEnabled : boolean; + FCommandLineArgsDisabled : boolean; FCache : ustring; FRootCache : ustring; - FUserDataPath : ustring; + FPersistSessionCookies : boolean; FUserAgent : ustring; - FProductVersion : ustring; + FUserAgentProduct : ustring; FLocale : ustring; - FLocalesRequired : ustring; FLogFile : ustring; - FBrowserSubprocessPath : ustring; - FFrameworkDirPath : ustring; - FMainBundlePath : ustring; // Only used in macOS - FChromeRuntime : boolean; FLogSeverity : TCefLogSeverity; + FLogItems : TCefLogItems; FJavaScriptFlags : ustring; FResourcesDirPath : ustring; FLocalesDirPath : ustring; - FSingleProcess : Boolean; - FNoSandbox : Boolean; - FCommandLineArgsDisabled : Boolean; - FPackLoadingDisabled : Boolean; - FRemoteDebuggingPort : Integer; - FUncaughtExceptionStackSize : Integer; - FPersistSessionCookies : Boolean; - FPersistUserPreferences : boolean; - FIgnoreCertificateErrors : Boolean; + FRemoteDebuggingPort : integer; + FUncaughtExceptionStackSize : integer; + FIgnoreCertificateErrors : boolean; FBackgroundColor : TCefColor; FAcceptLanguageList : ustring; - FApplicationClientID : ustring; - FWindowsSandboxInfo : Pointer; - FWindowlessRenderingEnabled : Boolean; - FMultiThreadedMessageLoop : boolean; - FExternalMessagePump : boolean; - FDeleteCache : boolean; - FDeleteCookies : boolean; - FCustomCommandLines : TStringList; - FCustomCommandLineValues : TStringList; + FCookieableSchemesList : ustring; + FCookieableSchemesExcludeDefaults : boolean; + FChromePolicyId : ustring; + FChromeAppIconId : integer; + FDisableSignalHandlers : boolean; + FUseViewsDefaultPopup : boolean; + + // Fields used to set command line switches + FSingleProcess : boolean; FEnableMediaStream : boolean; FEnableSpeechInput : boolean; FUseFakeUIForMediaStream : boolean; FEnableUsermediaScreenCapturing : boolean; FEnableGPU : boolean; - FCheckCEFFiles : boolean; - FLibLoaded : boolean; - FSmoothScrolling : TCefState; - FFastUnload : boolean; - FDisableSafeBrowsing : boolean; - FEnableHighDPISupport : boolean; - FMuteAudio : boolean; - FReRaiseExceptions : boolean; - FShowMessageDlg : boolean; - FMissingBinariesException : boolean; - FSetCurrentDir : boolean; - FGlobalContextInitialized : boolean; - FSitePerProcess : boolean; - FDisableWebSecurity : boolean; - FDisablePDFExtension : boolean; - FLogProcessInfo : boolean; - FDisableSiteIsolationTrials : boolean; - FDisableChromeLoginPrompt : boolean; FEnableFeatures : ustring; FDisableFeatures : ustring; FEnableBlinkFeatures : ustring; @@ -164,37 +113,20 @@ TCefApplicationCore = class FBlinkSettings : ustring; FForceFieldTrials : ustring; FForceFieldTrialParams : ustring; - FChromeVersionInfo : TFileVersionInfo; - {$IFDEF FPC} - FLibHandle : TLibHandle; - {$ELSE} - FLibHandle : THandle; - {$ENDIF} - FOnRegisterCustomSchemes : TOnRegisterCustomSchemesEvent; - FAppSettings : TCefSettings; - FCheckDevToolsResources : boolean; + FSmoothScrolling : TCefState; + FMuteAudio : boolean; + FSitePerProcess : boolean; + FDisableWebSecurity : boolean; + FDisablePDFExtension : boolean; + FDisableSiteIsolationTrials : boolean; + FDisableChromeLoginPrompt : boolean; FDisableExtensions : boolean; - FDisableGPUCache : boolean; - FStatus : TCefAplicationStatus; - FMissingLibFiles : string; - FProcessType : TCefProcessType; - FWidevinePath : ustring; - FMustFreeLibrary : boolean; FAutoplayPolicy : TCefAutoplayPolicy; FDisableBackgroundNetworking : boolean; FMetricsRecordingOnly : boolean; FAllowFileAccessFromFiles : boolean; FAllowRunningInsecureContent : boolean; - FSupportedSchemes : TStringList; - FDisableNewBrowserInfoTimeout : boolean; - FDevToolsProtocolLogFile : ustring; - FDeviceScaleFactor : single; - FForcedDeviceScaleFactor : single; - FDisableZygote : boolean; - FUseMockKeyChain : boolean; - FLastErrorMessage : ustring; - - FPluginPolicy : TCefPluginPolicySwitch; + FEnablePrintPreview : boolean; FDefaultEncoding : ustring; FDisableJavascript : boolean; FDisableJavascriptCloseWindows : boolean; @@ -205,27 +137,100 @@ TCefApplicationCore = class FImageShrinkStandaloneToFit : boolean; FDisableTextAreaResize : boolean; FDisableTabToLinks : boolean; - FDisablePlugins : boolean; FEnableProfanityFilter : boolean; FDisableSpellChecking : boolean; FOverrideSpellCheckLang : ustring; - FEnablePrintPreview : boolean; FTouchEvents : TCefState; FDisableReadingFromCanvas : boolean; FHyperlinkAuditing : boolean; + FDisableNewBrowserInfoTimeout : boolean; + FDevToolsProtocolLogFile : ustring; + FForcedDeviceScaleFactor : single; + FDisableZygote : boolean; // Only used in Linux + FUseMockKeyChain : boolean; // Only used in macOS + FDisableRequestHandlingForTesting : boolean; + FDisablePopupBlocking : boolean; + FDisableBackForwardCache : boolean; + FDisableComponentUpdate : boolean; + FAllowInsecureLocalhost : boolean; + FKioskPrinting : boolean; + FTreatInsecureOriginAsSecure : ustring; + FNetLogEnabled : boolean; + FNetLogFile : ustring; + FNetLogCaptureMode : TCefNetLogCaptureMode; + FRemoteAllowOrigins : ustring; + FAutoAcceptCamAndMicCapture : boolean; + FUIColorMode : TCefUIColorMode; + FDisableHangMonitor : boolean; + FHideCrashRestoreBubble : boolean; + FPostQuantumKyber : TCefState; + FProxySettings : TCEFProxySettings; + FFieldTrialConfig : TCefState; + FDoNotDeElevate : boolean; + FNoDefaultBrowserCheck : boolean; + FNoFirstRun : boolean; + FEnableAutomation : boolean; + {$IFDEF LINUX} + FPasswordStorage : TCefPasswordStorage; + FGTKVersion : TCefGTKVersion; + FOzonePlatform : TCefOzonePlatform; + {$ENDIF} + + + // Fields used during the CEF initialization + FWindowsSandboxInfo : pointer; + {$IFDEF LINUX} + FArgCopy : TCEFArgCopy; + FDisplayServer : TCefLinuxDisplayServer; + {$ENDIF} + // Fields used by custom properties + FDeleteCache : boolean; + FDeleteCookies : boolean; + FCheckCEFFiles : boolean; + FShowMessageDlg : boolean; + FMissingBinariesException : boolean; + FSetCurrentDir : boolean; + FGlobalContextInitialized : boolean; + FChromeVersionInfo : TFileVersionInfo; + FLibLoaded : boolean; + FLogProcessInfo : boolean; + FReRaiseExceptions : boolean; + FDeviceScaleFactor : single; + FLocalesRequired : ustring; + FProcessType : TCefProcessType; FMustCreateResourceBundleHandler : boolean; FMustCreateBrowserProcessHandler : boolean; FMustCreateRenderProcessHandler : boolean; FMustCreateLoadHandler : boolean; - FMustCreatePrintHandler : boolean; + FStatus : TCefAplicationStatus; + FMissingLibFiles : string; + FMustFreeLibrary : boolean; + FLastErrorMessage : ustring; + FSharedTextureEnabled : boolean; + FExternalBeginFrameEnabled : boolean; + FUseGL : TCefGLImplementation; + FUseAngle : TCefAngleImplementation; + + // Internal fields + FLibHandle : {$IFDEF FPC}TLibHandle{$ELSE}THandle{$ENDIF}; + FCustomCommandLines : TStringList; + FCustomCommandLineValues : TStringList; + FAppSettings : TCefSettings; + FDisableGPUCache : boolean; + FComponentIDList : TCEFComponentIdList; + + // ICefApp + FOnRegisterCustomSchemes : TOnRegisterCustomSchemesEvent; // ICefBrowserProcessHandler - FOnGetCookieableSchemes : TOnGetCookieableSchemesEvent; + FOnRegisterCustomPreferences : TOnRegisterCustomPreferencesEvent; FOnContextInitialized : TOnContextInitializedEvent; FOnBeforeChildProcessLaunch : TOnBeforeChildProcessLaunchEvent; + FOnAlreadyRunningAppRelaunch : TOnAlreadyRunningAppRelaunchEvent; FOnScheduleMessagePumpWork : TOnScheduleMessagePumpWorkEvent; FOnGetDefaultClient : TOnGetDefaultClientEvent; + FOnGetDefaultRequestContextHandler : TOnGetDefaultRequestContextHandlerEvent; // ICefResourceBundleHandler FOnGetLocalizedString : TOnGetLocalizedStringEvent; @@ -242,31 +247,23 @@ TCefApplicationCore = class FOnFocusedNodeChanged : TOnFocusedNodeChangedEvent; FOnProcessMessageReceived : TOnProcessMessageReceivedEvent; - // ICefRegisterCDMCallback - FOnCDMRegistrationComplete : TOnCDMRegistrationCompleteEvent; - // ICefLoadHandler FOnLoadingStateChange : TOnRenderLoadingStateChange; FOnLoadStart : TOnRenderLoadStart; FOnLoadEnd : TOnRenderLoadEnd; FOnLoadError : TOnRenderLoadError; - // ICefPrintHandler - FOnPrintStart : TOnPrintStartEvent; - FOnPrintSettings : TOnPrintSettingsEvent; - FOnPrintDialog : TOnPrintDialogEvent; - FOnPrintJob : TOnPrintJobEvent; - FOnPrintReset : TOnPrintResetEvent; - FOnGetPDFPaperSize : TOnGetPDFPaperSizeEvent; - procedure SetCache(const aValue : ustring); procedure SetRootCache(const aValue : ustring); - procedure SetUserDataPath(const aValue : ustring); procedure SetBrowserSubprocessPath(const aValue : ustring); procedure SetFrameworkDirPath(const aValue : ustring); procedure SetResourcesDirPath(const aValue : ustring); procedure SetLocalesDirPath(const aValue : ustring); + {$IFDEF MSWINDOWS} procedure SetOsmodalLoop(aValue : boolean); + {$ENDIF} + procedure SetKioskPrinting(aValue : boolean); + procedure SetLogFile(const aValue : ustring); function GetChromeVersion : ustring; function GetLibCefVersion : ustring; @@ -278,35 +275,46 @@ TCefApplicationCore = class function GetMustCreateBrowserProcessHandler : boolean; virtual; function GetMustCreateRenderProcessHandler : boolean; virtual; function GetMustCreateLoadHandler : boolean; virtual; - function GetMustCreatePrintHandler : boolean; virtual; function GetGlobalContextInitialized : boolean; function GetChildProcessesCount : integer; function GetUsedMemory : uint64; function GetTotalSystemMemory : uint64; function GetAvailableSystemMemory : uint64; function GetSystemMemoryLoad : cardinal; - function GetApiHashUniversal : ustring; function GetApiHashPlatform : ustring; function GetApiHashCommit : ustring; + function GetApiVersion : integer; + function GetExitCode : TCefResultCode; + function GetBrowserById(aID : integer) : ICefBrowser; + function GetCookiesDir(const aRootDirectory : string) : string; {$IFDEF LINUX} function GetXDisplay : PXDisplay; + function GetArgc : longint; + function GetArgv : PPAnsiChar; {$ENDIF} function LoadCEFlibrary : boolean; virtual; function Load_cef_api_hash_h : boolean; + function Load_cef_version_info_h : boolean; + function Load_cef_id_mappers_h : boolean; function Load_cef_app_capi_h : boolean; + function Load_cef_app_win_h : boolean; function Load_cef_browser_capi_h : boolean; function Load_cef_command_line_capi_h : boolean; + function Load_cef_component_updater_capi_h : boolean; function Load_cef_cookie_capi_h : boolean; function Load_cef_crash_util_h : boolean; function Load_cef_drag_data_capi_h : boolean; + function Load_cef_dump_without_crashing_internal_h : boolean; function Load_cef_file_util_capi_h : boolean; + function Load_cef_i18n_util_capi_h : boolean; function Load_cef_image_capi_h : boolean; function Load_cef_menu_model_capi_h : boolean; function Load_cef_media_router_capi_h : boolean; function Load_cef_origin_whitelist_capi_h : boolean; function Load_cef_parser_capi_h : boolean; function Load_cef_path_util_capi_h : boolean; + function Load_cef_preference_capi_h : boolean; function Load_cef_print_settings_capi_h : boolean; function Load_cef_process_message_capi_h : boolean; function Load_cef_process_util_capi_h : boolean; @@ -314,18 +322,19 @@ TCefApplicationCore = class function Load_cef_request_context_capi_h : boolean; function Load_cef_resource_bundle_capi_h : boolean; function Load_cef_response_capi_h : boolean; - function Load_cef_server_capi_h : boolean; function Load_cef_scheme_capi_h : boolean; + function Load_cef_server_capi_h : boolean; + function Load_cef_shared_process_message_builder_capi_h : boolean; function Load_cef_ssl_info_capi_h : boolean; function Load_cef_stream_capi_h : boolean; function Load_cef_task_capi_h : boolean; + function Load_cef_task_manager_capi_h : boolean; function Load_cef_thread_capi_h : boolean; function Load_cef_trace_capi_h : boolean; function Load_cef_urlrequest_capi_h : boolean; function Load_cef_v8_capi_h : boolean; function Load_cef_values_capi_h : boolean; function Load_cef_waitable_event_capi_h : boolean; - function Load_cef_web_plugin_capi_h : boolean; function Load_cef_xml_reader_capi_h : boolean; function Load_cef_zip_reader_capi_h : boolean; function Load_cef_logging_internal_h : boolean; @@ -344,261 +353,1649 @@ TCefApplicationCore = class function Load_cef_textfield_capi_h : boolean; function Load_cef_window_capi_h : boolean; function Load_cef_types_linux_h : boolean; + function Load_cef_time_h : boolean; + + // ICefApp + procedure doOnBeforeCommandLineProcessing(const processType: ustring; const commandLine: ICefCommandLine); virtual; + procedure doOnRegisterCustomSchemes(const registrar: TCefSchemeRegistrarRef); virtual; + + // ICefBrowserProcessHandler + procedure doOnRegisterCustomPreferences(type_: TCefPreferencesType; registrar: PCefPreferenceRegistrar); virtual; + procedure doOnContextInitialized; virtual; + procedure doOnBeforeChildProcessLaunch(const commandLine: ICefCommandLine); virtual; + procedure doOnAlreadyRunningAppRelaunch(const commandLine: ICefCommandLine; const current_directory: ustring; var aResult: boolean); virtual; + procedure doOnScheduleMessagePumpWork(const delayMs: Int64); virtual; + procedure doGetDefaultClient(var aClient : ICefClient); virtual; + procedure doGetDefaultRequestContextHandler(var aRequestContextHandler : ICefRequestContextHandler); virtual; + + // ICefResourceBundleHandler + function doGetLocalizedString(stringid: Integer; var stringVal: ustring): Boolean; virtual; + function doGetDataResource(resourceId: Integer; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; + function doGetDataResourceForScale(resourceId: Integer; scaleFactor: TCefScaleFactor; var data: Pointer; var dataSize: NativeUInt): Boolean; virtual; + + // ICefRenderProcessHandler + procedure doOnWebKitInitialized; virtual; + procedure doOnBrowserCreated(const browser: ICefBrowser; const extra_info: ICefDictionaryValue); virtual; + procedure doOnBrowserDestroyed(const browser: ICefBrowser); virtual; + procedure doOnContextCreated(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; + procedure doOnContextReleased(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context); virtual; + procedure doOnUncaughtException(const browser: ICefBrowser; const frame: ICefFrame; const context: ICefv8Context; const V8Exception: ICefV8Exception; const stackTrace: ICefV8StackTrace); virtual; + procedure doOnFocusedNodeChanged(const browser: ICefBrowser; const frame: ICefFrame; const node: ICefDomNode); virtual; + procedure doOnProcessMessageReceived(const browser: ICefBrowser; const frame: ICefFrame; sourceProcess: TCefProcessId; const aMessage: ICefProcessMessage; var aHandled : boolean); virtual; + + // ICefLoadHandler + procedure doOnLoadingStateChange(const browser: ICefBrowser; isLoading, canGoBack, canGoForward: Boolean); virtual; + procedure doOnLoadStart(const browser: ICefBrowser; const frame: ICefFrame; transitionType: TCefTransitionType); virtual; + procedure doOnLoadEnd(const browser: ICefBrowser; const frame: ICefFrame; httpStatusCode: Integer); virtual; + procedure doOnLoadError(const browser: ICefBrowser; const frame: ICefFrame; errorCode: TCefErrorCode; const errorText, failedUrl: ustring); virtual; procedure ShutDown; procedure FreeLibcefLibrary; function ExecuteProcess(const aApp : ICefApp) : integer; + procedure InitializeCefMainArgs(var aCefMainArgs : TCefMainArgs); procedure InitializeSettings(var aSettings : TCefSettings); function InitializeLibrary(const aApp : ICefApp) : boolean; procedure RenameAndDeleteDir(const aDirectory : string; aKeepCookies : boolean = False); procedure DeleteCacheContents(const aDirectory : string); - procedure DeleteCookiesDB(const aDirectory : string); + procedure DeleteCookiesDB(const aRootDirectory : string); procedure MoveCookiesDB(const aSrcDirectory, aDstDirectory : string); function MultiExeProcessing : boolean; function SingleExeProcessing : boolean; procedure BeforeInitSubProcess; virtual; - function CheckCEFResources : boolean; + function CheckCEFResources : boolean; virtual; + function CheckCEFAPIHash : boolean; {$IFDEF MSWINDOWS} - function CheckCEFDLL : boolean; + function CheckCEFDLL : boolean; virtual; + function CheckWindowsVersion: boolean; virtual; + {$ENDIF} + {$IFDEF MACOSX} + function CheckMacOSVersion : boolean; virtual; + {$ENDIF} + {$IFDEF LINUX} + procedure ReadDisplayServer; {$ENDIF} - function CheckCEFLibrary : boolean; - procedure RegisterWidevineCDM; + function CheckOSVersion: boolean; virtual; procedure ShowErrorMessageDlg(const aError : string); virtual; - procedure UpdateSupportedSchemes(aIncludeDefaults : boolean = True); virtual; function ParseProcessType : TCefProcessType; procedure AddCustomCommandLineSwitches(var aKeys, aValues : TStringList); virtual; procedure AppendSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); procedure ReplaceSwitch(var aKeys, aValues : TStringList; const aNewKey : ustring; const aNewValue : ustring = ''); procedure CleanupFeatures(var aKeys, aValues : TStringList; const aEnableKey, aDisableKey : string); + procedure ClearSchemeHandlerFactories; public constructor Create; destructor Destroy; override; procedure AfterConstruction; override; + /// + /// Used to add any command line switch that is not available as a + /// TCEFApplicationCore property. + /// procedure AddCustomCommandLine(const aCommandLine : string; const aValue : string = ''); + /// + /// Used to check the CEF binaries manually. + /// + function CheckCEFLibrary : boolean; + /// + /// Used to initialize CEF in the main browser process. In case CEF is + /// configured to used the same executable for all processes then all + /// processes must call this function. CEF can only be initialized once + /// per process. This is a CEF feature and there's no workaround. This + /// function returns immediately in when called in the main process and + /// it blocks the execution when it's called from a CEF subprocess until + /// that process ends. + /// function StartMainProcess : boolean; + /// + /// Used to initialize CEF in the subprocesses. This function can only be + /// used when CEF is configured to use a different executable for the + /// subprocesses. This function blocks the execution until the process ends. + /// function StartSubProcess : boolean; - {$IFDEF MACOSX} - procedure InitLibLocationFromArgs; - {$ENDIF} - + /// + /// Perform a single iteration of CEF message loop processing. This function is + /// provided for cases where the CEF message loop must be integrated into an + /// existing application message loop. Use of this function is not recommended + /// for most users; use either the RunMessageLoop function or + /// TCefSettings.multi_threaded_message_loop if possible. When using this + /// function care must be taken to balance performance against excessive CPU + /// usage. It is recommended to enable the TCefSettings.external_message_pump + /// option when using this function so that + /// ICefBrowserProcessHandler.OnScheduleMessagePumpWork callbacks can + /// facilitate the scheduling process. This function should only be called on + /// the main application thread and only if cef_initialize() is called with a + /// TCefSettings.multi_threaded_message_loop value of false (0). This function + /// will not block. + /// procedure DoMessageLoopWork; + /// + /// Run the CEF message loop. Use this function instead of an application- + /// provided message loop to get the best balance between performance and CPU + /// usage. This function should only be called on the main application thread + /// and only if cef_initialize() is called with a + /// TCefSettings.multi_threaded_message_loop value of false (0). This function + /// will block until a quit message is received by the system. + /// procedure RunMessageLoop; + /// + /// Quit the CEF message loop that was started by calling + /// RunMessageLoop. This function should only be called on the main + /// application thread and only if RunMessageLoop was used. + /// procedure QuitMessageLoop; + /// + /// Set to true (1) before calling OS APIs on the CEF UI thread that will enter + /// a native message loop (see usage restrictions below). Set to false (0) after + /// exiting the native message loop. On Windows, use the CefSetOSModalLoop + /// function instead in cases like native top menus where resize of the browser + /// content is not required, or in cases like printer APIs where reentrancy + /// safety cannot be guaranteed. + /// + /// Nested processing of Chromium tasks is disabled by default because common + /// controls and/or printer functions may use nested native message loops that + /// lead to unplanned reentrancy. This function re-enables nested processing in + /// the scope of an upcoming native message loop. It must only be used in cases + /// where the stack is reentrancy safe and processing nestable tasks is + /// explicitly safe. Do not use in cases (like the printer example) where an OS + /// API may experience unplanned reentrancy as a result of a new task executing + /// immediately. + /// + /// For instance, + /// + /// - The UI thread is running a message loop. + /// - It receives a task #1 and executes it. + /// - The task #1 implicitly starts a nested message loop. For example, via + /// Windows APIs such as MessageBox or GetSaveFileName, or default handling of + /// a user-initiated drag/resize operation (e.g. DefWindowProc handling of + /// WM_SYSCOMMAND for SC_MOVE/SC_SIZE). + /// - The UI thread receives a task #2 before or while in this second message + /// loop. + /// - With NestableTasksAllowed set to true (1), the task #2 will run right + /// away. Otherwise, it will be executed right after task #1 completes at + /// "thread message loop level". + /// + /// + procedure SetNestableTasksAllowed(allowed: boolean); + /// + /// Update the DeviceScaleFactor value with the current monitor scale. + /// procedure UpdateDeviceScaleFactor; virtual; + {$IFDEF MACOSX} + /// + /// This procedure is only available in MacOS to read some configuration + /// settings from the command line arguments. + /// + procedure InitLibLocationFromArgs; + {$ENDIF} + /// + /// Returns true if a custom component ID is valid before executing a CEF task. + /// + function ValidComponentID(aComponentID : integer) : boolean; + /// + /// Returns the next component ID and adds this value to the valid ID list. + /// + function NextComponentID : integer; + /// + /// Removes a component ID from the valid ID list when a component is destroyed. + /// + procedure RemoveComponentID(aComponentID : integer); + /// + /// This function allows for generating of crash dumps with a throttling + /// mechanism, preventing frequent dumps from being generated in a short period + /// of time from the same location. If should only be called after cef_initialize + /// has been successfully called. The |function_name|, |file_name|, and + /// |line_number| parameters specify the origin location of the dump. The + /// |mseconds_between_dumps| is an interval between consecutive dumps in + /// milliseconds from the same location. + /// For detailed behavior, usage instructions, and considerations, refer to the + /// documentation of DumpWithoutCrashing in base/debug/dump_without_crashing.h. + /// + /// + /// Returns true if the dump was successfully generated, false otherwise. + /// + /// + /// CEF source file: /include/base/cef_dump_without_crashing.h (CefDumpWithoutCrashing) + /// + function DumpWithoutCrashing(mseconds_between_dumps: int64; const function_name, file_name: ustring; line_number: integer): boolean; + /// + /// Returns CEF version information for the libcef library. + /// + /// + /// Returns true if successfull. + /// + /// + /// CEF source file: /include/cef_version_info.h (cef_version_info) + /// + function GetCEFVersionInfo(var aCEFVersionInfo : TCefVersionInfo) : boolean; + /// + /// Returns Chromium version information for the libcef library. + /// + /// + /// Returns true if successfull. + /// + /// + /// CEF source file: /include/cef_version_info.h (cef_version_info) + /// + function GetChromiumVersionInfo(var aChromiumVersionInfo : TChromiumVersionInfo) : boolean; + /// + /// Returns the numeric ID value for an IDR |name| from cef_pack_resources.h or + /// -1 if |name| is unrecognized by the current CEF/Chromium build. This + /// function provides version-safe mapping of resource IDR names to + /// version-specific numeric ID values. Numeric ID values are likely to change + /// across CEF/Chromium versions but names generally remain the same. + /// + /// + /// CEF source file: /include/cef_id_mappers.h (cef_id_for_pack_resource_name) + /// + function GetIdForPackResourceName(const name : ustring): Integer; + /// + /// Returns the numeric ID value for an IDS |name| from cef_pack_strings.h or -1 + /// if |name| is unrecognized by the current CEF/Chromium build. This function + /// provides version-safe mapping of string IDS names to version-specific + /// numeric ID values. Numeric ID values are likely to change across + /// CEF/Chromium versions but names generally remain the same. + /// + /// + /// CEF source file: /include/cef_id_mappers.h (cef_id_for_pack_string_name) + /// + function GetIdForPackStringName(const name : ustring): Integer; + /// + /// Returns the numeric ID value for an IDC |name| from cef_command_ids.h or -1 + /// if |name| is unrecognized by the current CEF/Chromium build. This function + /// provides version-safe mapping of command IDC names to version-specific + /// numeric ID values. Numeric ID values are likely to change across + /// CEF/Chromium versions but names generally remain the same. + /// + /// + /// CEF source file: /include/cef_id_mappers.h (cef_id_for_command_id_name) + /// + function GetIdForCommandIdName(const name : ustring): Integer; + + /// + /// Set to true (1) to disable the sandbox for sub-processes. See + /// cef_sandbox_win.h for requirements to enable the sandbox on Windows. Also + /// configurable using the "no-sandbox" command-line switch. + /// + property NoSandbox : Boolean read FNoSandbox write FNoSandbox; + /// + /// The path to a separate executable that will be launched for sub-processes. + /// If this value is empty on Windows or Linux then the main process + /// executable will be used. If this value is empty on macOS then a helper + /// executable must exist at "Contents/Frameworks/ + /// Helper.app/Contents/MacOS/ Helper" in the top-level app bundle. See + /// the comments on CefExecuteProcess() for details. If this value is + /// non-empty then it must be an absolute path. Also configurable using the + /// "browser-subprocess-path" command-line switch. + /// + property BrowserSubprocessPath : ustring read FBrowserSubprocessPath write SetBrowserSubprocessPath; + /// + /// The path to the CEF framework directory on macOS. If this value is empty + /// then the framework must exist at "Contents/Frameworks/Chromium Embedded + /// Framework.framework" in the top-level app bundle. If this value is + /// non-empty then it must be an absolute path. Also configurable using the + /// "framework-dir-path" command-line switch. + /// + property FrameworkDirPath : ustring read FFrameworkDirPath write SetFrameworkDirPath; + /// + /// The path to the main bundle on macOS. If this value is empty then it + /// defaults to the top-level app bundle. If this value is non-empty then it + /// must be an absolute path. Also configurable using the "main-bundle-path" + /// command-line switch. + /// + property MainBundlePath : ustring read FMainBundlePath write FMainBundlePath; + /// + /// Set to true (1) to have the browser process message loop run in a separate + /// thread. If false (0) then the CefDoMessageLoopWork() function must be + /// called from your application message loop. This option is only supported + /// on Windows and Linux. + /// + property MultiThreadedMessageLoop : boolean read FMultiThreadedMessageLoop write FMultiThreadedMessageLoop; + /// + /// Set to true (1) to control browser process main (UI) thread message pump + /// scheduling via the ICefBrowserProcessHandler.OnScheduleMessagePumpWork() + /// callback. This option is recommended for use in combination with the + /// CefDoMessageLoopWork() function in cases where the CEF message loop must + /// be integrated into an existing application message loop (see additional + /// comments and warnings on CefDoMessageLoopWork). Enabling this option is + /// not recommended for most users; leave this option disabled and use either + /// the CefRunMessageLoop() function or multi_threaded_message_loop if + /// possible. + /// + property ExternalMessagePump : boolean read FExternalMessagePump write FExternalMessagePump; + /// + /// Set to true (1) to enable windowless (off-screen) rendering support. Do + /// not enable this value if the application does not use windowless rendering + /// as it may reduce rendering performance on some systems. + /// + property WindowlessRenderingEnabled : Boolean read FWindowlessRenderingEnabled write FWindowlessRenderingEnabled; + /// + /// Set to true (1) to disable configuration of browser process features using + /// standard CEF and Chromium command-line arguments. Configuration can still + /// be specified using CEF data structures or via the + /// ICefApp.OnBeforeCommandLineProcessing() method. + /// + property CommandLineArgsDisabled : Boolean read FCommandLineArgsDisabled write FCommandLineArgsDisabled; + /// + /// The directory where data for the global browser cache will be stored on + /// disk. If this value is non-empty then it must be an absolute path that is + /// either equal to or a child directory of CefSettings.root_cache_path. If + /// this value is empty then browsers will be created in "incognito mode" + /// where in-memory caches are used for storage and no profile-specific data + /// is persisted to disk (installation-specific data will still be persisted + /// in root_cache_path). HTML5 databases such as localStorage will only + /// persist across sessions if a cache path is specified. Can be overridden + /// for individual CefRequestContext instances via the + /// TCefRequestContextSettings.cache_path value. Any child directory value will + /// be ignored and the "default" profile (also a child directory) will be used + /// instead. + /// + property Cache : ustring read FCache write SetCache; + /// + /// The root directory for installation-specific data and the parent directory + /// for profile-specific data. All TCefSettings.cache_path and + /// ICefRequestContextSettings.cache_path values must have this parent + /// directory in common. If this value is empty and TCefSettings.cache_path is + /// non-empty then it will default to the TCefSettings.cache_path value. Any + /// non-empty value must be an absolute path. If both values are empty then + /// the default platform-specific directory will be used + /// ("~/.config/cef_user_data" directory on Linux, "~/Library/Application + /// Support/CEF/User Data" directory on MacOS, "AppData\Local\CEF\User Data" + /// directory under the user profile directory on Windows). Use of the default + /// directory is not recommended in production applications (see below). + /// Multiple application instances writing to the same root_cache_path + /// directory could result in data corruption. A process singleton lock based + /// on the root_cache_path value is therefore used to protect against this. + /// This singleton behavior applies to all CEF-based applications using + /// version 120 or newer. You should customize root_cache_path for your + /// application and implement ICefBrowserProcessHandler.OnAlreadyRunningAppRelaunch, + /// which will then be called on any app relaunch + /// with the same root_cache_path value. + /// Failure to set the root_cache_path value correctly may result in startup + /// crashes or other unexpected behaviors (for example, the sandbox blocking + /// read/write access to certain files). + /// + property RootCache : ustring read FRootCache write SetRootCache; + /// + /// To persist session cookies (cookies without an expiry date or validity + /// interval) by default when using the global cookie manager set this value + /// to true (1). Session cookies are generally intended to be transient and + /// most Web browsers do not persist them. A |cache_path| value must also be + /// specified to enable this feature. Also configurable using the + /// "persist-session-cookies" command-line switch. Can be overridden for + /// individual CefRequestContext instances via the + /// TCefRequestContextSettings.persist_session_cookies value. + /// + property PersistSessionCookies : Boolean read FPersistSessionCookies write FPersistSessionCookies; + /// + /// Value that will be returned as the User-Agent HTTP header. If empty the + /// default User-Agent string will be used. Also configurable using the + /// "user-agent" command-line switch. + /// + property UserAgent : ustring read FUserAgent write FUserAgent; + /// + /// Value that will be inserted as the product portion of the default + /// User-Agent string. If empty the Chromium product version will be used. If + /// |userAgent| is specified this value will be ignored. Also configurable + /// using the "user-agent-product" command-line switch. + /// + property UserAgentProduct : ustring read FUserAgentProduct write FUserAgentProduct; + /// + /// The locale string that will be passed to WebKit. If empty the default + /// locale of "en-US" will be used. This value is ignored on Linux where + /// locale is determined using environment variable parsing with the + /// precedence order: LANGUAGE, LC_ALL, LC_MESSAGES and LANG. Also + /// configurable using the "lang" command-line switch. + /// + property Locale : ustring read FLocale write FLocale; + /// + /// The directory and file name to use for the debug log. If empty a default + /// log file name and location will be used. On Windows and Linux a + /// "debug.log" file will be written in the main executable directory. On + /// MacOS a "~/Library/Logs/[app name]_debug.log" file will be written where + /// [app name] is the name of the main app executable. Also configurable using + /// the "log-file" command-line switch. + /// + property LogFile : ustring read FLogFile write SetLogFile; + /// + /// The log severity. Only messages of this severity level or higher will be + /// logged. When set to DISABLE no messages will be written to the log file, + /// but FATAL messages will still be output to stderr. Also configurable using + /// the "log-severity" command-line switch with a value of "verbose", "info", + /// "warning", "error", "fatal" or "disable". + /// + property LogSeverity : TCefLogSeverity read FLogSeverity write FLogSeverity; + /// + /// The log items prepended to each log line. If not set the default log items + /// will be used. Also configurable using the "log-items" command-line switch + /// with a value of "none" for no log items, or a comma-delimited list of + /// values "pid", "tid", "timestamp" or "tickcount" for custom log items. + /// + property LogItems : TCefLogItems read FLogItems write FLogItems; + /// + /// Custom flags that will be used when initializing the V8 JavaScript engine. + /// The consequences of using custom flags may not be well tested. Also + /// configurable using the "js-flags" command-line switch. + /// + property JavaScriptFlags : ustring read FJavaScriptFlags write FJavaScriptFlags; + /// + /// The fully qualified path for the resources directory. If this value is + /// empty the *.pak files must be located in the module directory on + /// Windows/Linux or the app bundle Resources directory on MacOS. If this + /// value is non-empty then it must be an absolute path. Also configurable + /// using the "resources-dir-path" command-line switch. + /// + property ResourcesDirPath : ustring read GetResourcesDirPath write SetResourcesDirPath; + /// + /// The fully qualified path for the locales directory. If this value is empty + /// the locales directory must be located in the module directory. If this + /// value is non-empty then it must be an absolute path. This value is ignored + /// on MacOS where pack files are always loaded from the app bundle Resources + /// directory. Also configurable using the "locales-dir-path" command-line + /// switch. + /// + property LocalesDirPath : ustring read GetLocalesDirPath write SetLocalesDirPath; + /// + /// Set to a value between 1024 and 65535 to enable remote debugging on the + /// specified port. Also configurable using the "remote-debugging-port" + /// command-line switch. Specifying 0 via the command-line switch will result + /// in the selection of an ephemeral port and the port number will be printed + /// as part of the WebSocket endpoint URL to stderr. If a cache directory path + /// is provided the port will also be written to the + /// /DevToolsActivePort file. Remote debugging can be accessed by + /// loading the chrome://inspect page in Google Chrome. Port numbers 9222 and + /// 9229 are discoverable by default. Other port numbers may need to be + /// configured via "Discover network targets" on the Devices tab. + /// + property RemoteDebuggingPort : Integer read FRemoteDebuggingPort write FRemoteDebuggingPort; + /// + /// The number of stack trace frames to capture for uncaught exceptions. + /// Specify a positive value to enable the + /// ICefRenderProcessHandler.OnUncaughtException() callback. Specify 0 + /// (default value) and OnUncaughtException() will not be called. Also + /// configurable using the "uncaught-exception-stack-size" command-line + /// switch. + /// + property UncaughtExceptionStackSize : Integer read FUncaughtExceptionStackSize write FUncaughtExceptionStackSize; + /// + /// Background color used for the browser before a document is loaded and when + /// no document color is specified. The alpha component must be either fully + /// opaque (0xFF) or fully transparent (0x00). If the alpha component is fully + /// opaque then the RGB components will be used as the background color. If + /// the alpha component is fully transparent for a windowed browser then the + /// default value of opaque white be used. If the alpha component is fully + /// transparent for a windowless (off-screen) browser then transparent + /// painting will be enabled. + /// + property BackgroundColor : TCefColor read FBackgroundColor write FBackgroundColor; + /// + /// Comma delimited ordered list of language codes without any whitespace that + /// will be used in the "Accept-Language" HTTP request header and + /// "navigator.language" JS attribute. Can be overridden for individual + /// ICefRequestContext instances via the + /// TCefRequestContextSettingsCefRequestContextSettings.accept_language_list value. + /// + property AcceptLanguageList : ustring read FAcceptLanguageList write FAcceptLanguageList; + /// + /// Comma delimited list of schemes supported by the associated + /// ICefCookieManager. If |cookieable_schemes_exclude_defaults| is false (0) + /// the default schemes ("http", "https", "ws" and "wss") will also be + /// supported. Not specifying a |cookieable_schemes_list| value and setting + /// |cookieable_schemes_exclude_defaults| to true (1) will disable all loading + /// and saving of cookies. These settings will only impact the global + /// ICefRequestContext. Individual ICefRequestContext instances can be + /// configured via the TCefRequestContextSettings.cookieable_schemes_list and + /// TCefRequestContextSettings.cookieable_schemes_exclude_defaults values. + /// + property CookieableSchemesList : ustring read FCookieableSchemesList write FCookieableSchemesList; + /// + /// See the CookieableSchemesList property. + /// + property CookieableSchemesExcludeDefaults : boolean read FCookieableSchemesExcludeDefaults write FCookieableSchemesExcludeDefaults; + /// + /// Specify an ID to enable Chrome policy management via Platform and OS-user + /// policies. On Windows, this is a registry key like + /// "SOFTWARE\\Policies\\Google\\Chrome". On MacOS, this is a bundle ID like + /// "com.google.Chrome". On Linux, this is an absolute directory path like + /// "/etc/opt/chrome/policies". Only supported with Chrome style. See + /// https://support.google.com/chrome/a/answer/9037717 for details. + /// Chrome Browser Cloud Management integration, when enabled via the + /// "enable-chrome-browser-cloud-management" command-line flag, will also use + /// the specified ID. See https://support.google.com/chrome/a/answer/9116814 + /// for details. + /// + property ChromePolicyId : ustring read FChromePolicyId write FChromePolicyId; + /// + /// Specify an ID for an ICON resource that can be loaded from the main + /// executable and used when creating default Chrome windows such as DevTools + /// and Task Manager. If unspecified the default Chromium ICON (IDR_MAINFRAME + /// [101]) will be loaded from libcef.dll. Only supported with Chrome style on + /// Windows. + /// + property ChromeAppIconId : integer read FChromeAppIconId write FChromeAppIconId; + /// + /// Specify whether signal handlers must be disabled on POSIX systems. + /// + property DisableSignalHandlers : boolean read FDisableSignalHandlers write FDisableSignalHandlers; + /// + /// If true use a Views (bare-bones) window instead of a Chrome UI window when + /// creating default popups for Chrome style native-hosted (non-Views) + /// browsers. This applies when ICefLifeSpanHandler.OnBeforePopup has not been + /// implemented to provide parent window information for the new popup. + /// + property UseViewsDefaultPopup : boolean read FUseViewsDefaultPopup write FUseViewsDefaultPopup; + /// + /// Runs the renderer and plugins in the same process as the browser. + /// + /// + /// Uses the following command line switch: --single-process + /// + property SingleProcess : Boolean read FSingleProcess write FSingleProcess; + /// + /// Enable media (WebRTC audio/video) streaming. + /// + /// + /// Uses the following command line switch: --enable-media-stream + /// + property EnableMediaStream : boolean read FEnableMediaStream write FEnableMediaStream; + /// + /// Enable speech input (x-webkit-speech). + /// + /// + /// Uses the following command line switch: --enable-speech-input + /// + property EnableSpeechInput : boolean read FEnableSpeechInput write FEnableSpeechInput; + /// + /// Bypass the media stream infobar by selecting the default device for media streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. + /// + /// + /// Uses the following command line switch: --single-process + /// + property UseFakeUIForMediaStream : boolean read FUseFakeUIForMediaStream write FUseFakeUIForMediaStream; + /// + /// Enable screen capturing support for MediaStream API. + /// + /// + /// Uses the following command line switch: --enable-usermedia-screen-capturing + /// + property EnableUsermediaScreenCapturing : boolean read FEnableUsermediaScreenCapturing write FEnableUsermediaScreenCapturing; + /// + /// Enable GPU hardware acceleration. + /// + /// + /// Uses the following command line switch: --disable-gpu + /// Uses the following command line switch: --disable-gpu-compositing + /// + property EnableGPU : boolean read FEnableGPU write FEnableGPU; + /// + /// List of feature names to enable. + /// + /// + /// Uses the following command line switch: --enable-features + /// The list of features you can enable is here: + /// https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc + /// https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc + /// https://source.chromium.org/search?q=base::Feature + /// + property EnableFeatures : ustring read FEnableFeatures write FEnableFeatures; + /// + /// List of feature names to disable. + /// + /// + /// Uses the following command line switch: --disable-features + /// The list of features you can disable is here: + /// https://chromium.googlesource.com/chromium/src/+/master/chrome/common/chrome_features.cc + /// https://source.chromium.org/chromium/chromium/src/+/main:content/public/common/content_features.cc + /// https://source.chromium.org/search?q=base::Feature + /// + property DisableFeatures : ustring read FDisableFeatures write FDisableFeatures; + /// + /// Enable one or more Blink runtime-enabled features. + /// + /// + /// Uses the following command line switch: --enable-blink-features + /// The list of Blink features you can enable is here: + /// https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 + /// + property EnableBlinkFeatures : ustring read FEnableBlinkFeatures write FEnableBlinkFeatures; + /// + /// Disable one or more Blink runtime-enabled features. + /// + /// + /// Uses the following command line switch: --disable-blink-features + /// The list of Blink features you can disable is here: + /// https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/runtime_enabled_features.json5 + /// + property DisableBlinkFeatures : ustring read FDisableBlinkFeatures write FDisableBlinkFeatures; + /// + /// Set blink settings. Format is [=[=],... + /// The names are declared in Settings.json5. For boolean type, use "true", "false", + /// or omit '=' part to set to true. For enum type, use the int value of the + /// enum value. Applied after other command line flags and prefs. + /// + /// + /// Uses the following command line switch: --blink-settings + /// The list of Blink settings you can disable is here: + /// https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/settings.json5 + /// + property BlinkSettings : ustring read FBlinkSettings write FBlinkSettings; + /// + /// This option can be used to force field trials when testing changes locally. + /// The argument is a list of name and value pairs, separated by slashes. + /// If a trial name is prefixed with an asterisk, that trial will start activated. + /// For example, the following argument defines two trials, with the second one + /// activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" This option can also + /// be used by the browser process to send the list of trials to a non-browser + /// process, using the same format. See FieldTrialList::CreateTrialsFromString() + /// in field_trial.h for details. + /// + /// + /// Uses the following command line switch: --force-fieldtrials + /// https://source.chromium.org/chromium/chromium/src/+/master:base/base_switches.cc + /// + property ForceFieldTrials : ustring read FForceFieldTrials write FForceFieldTrials; + /// + /// This option can be used to force parameters of field trials when testing + /// changes locally. The argument is a param list of (key, value) pairs prefixed + /// by an associated (trial, group) pair. You specify the param list for multiple + /// (trial, group) pairs with a comma separator. + /// Example: "Trial1.Group1:k1/v1/k2/v2,Trial2.Group2:k3/v3/k4/v4" + /// Trial names, groups names, parameter names, and value should all be URL + /// escaped for all non-alphanumeric characters. + /// + /// + /// Uses the following command line switch: --force-fieldtrial-params + /// https://source.chromium.org/chromium/chromium/src/+/master:components/variations/variations_switches.cc + /// + property ForceFieldTrialParams : ustring read FForceFieldTrialParams write FForceFieldTrialParams; + /// + /// On platforms that support it, enables smooth scroll animation. + /// + /// + /// Uses the following command line switch: --enable-smooth-scrolling + /// + property SmoothScrolling : TCefState read FSmoothScrolling write FSmoothScrolling; + /// + /// Mutes audio sent to the audio device so it is not audible during automated testing. + /// + /// + /// Uses the following command line switch: --mute-audio + /// + property MuteAudio : boolean read FMuteAudio write FMuteAudio; + /// + /// Enforces a one-site-per-process security policy: Each renderer process, for its + /// whole lifetime, is dedicated to rendering pages for just one site. Thus, pages + /// from different sites are never in the same process. A renderer process's access + /// rights are restricted based on its site.All cross-site navigations force process + /// swaps.