Skip to content

Commit

Permalink
New TinyBrowser demo using the Views Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadordf committed May 16, 2020
1 parent 7798f97 commit 58d9884
Show file tree
Hide file tree
Showing 19 changed files with 2,514 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demos/Delphi_FMX/FMXTabbedBrowser/FMXTabbedBrowser.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<MainSource>FMXTabbedBrowser.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<Platform Condition="'$(Platform)'==''">Win64</Platform>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Application</AppType>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion demos/Delphi_FMX/FMXToolBoxBrowser/FMXToolBoxBrowser.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<MainSource>FMXToolBoxBrowser.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<Platform Condition="'$(Platform)'==''">Win64</Platform>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Application</AppType>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion demos/Delphi_FMX/SimpleFMXBrowser/SimpleFMXBrowser.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<MainSource>SimpleFMXBrowser.dpr</MainSource>
<Base>True</Base>
<Config Condition="'$(Config)'==''">Debug</Config>
<Platform Condition="'$(Platform)'==''">Win64</Platform>
<Platform Condition="'$(Platform)'==''">Win32</Platform>
<TargetedPlatforms>3</TargetedPlatforms>
<AppType>Application</AppType>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion demos/Delphi_VCL/OAuth2Tester/uOAuth2TesterFrm.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ object OAuth2TesterFrm: TOAuth2TesterFrm
Top = 0
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'OAuth 2.0 Browser'
Caption = 'OAuth 2.0 Tester'
ClientHeight = 686
ClientWidth = 620
Color = clBtnFace
Expand Down
18 changes: 18 additions & 0 deletions demos/Delphi_VCL/TinyBrowser/00-DeleteDCUs.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
del /s /q *.dcu
del /s /q *.exe
del /s /q *.res
del /s /q *.rsm
del /s /q *.log
del /s /q *.dsk
del /s /q *.identcache
del /s /q *.stat
del /s /q *.local
del /s /q *.~*
rmdir Win32\Debug
rmdir Win32\Release
rmdir Win32
rmdir Win64\Debug
rmdir Win64\Release
rmdir Win64
rmdir __history
rmdir __recovery
56 changes: 56 additions & 0 deletions demos/Delphi_VCL/TinyBrowser/TinyBrowser.dpr
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
// ************************************************************************
// ***************************** 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 © 2020 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 <[email protected]>
* 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.
*
*)

program TinyBrowser;

uses
uTinyBrowser in 'uTinyBrowser.pas',
uCEFApplicationCore;

{$R *.res}

begin
CreateGlobalCEFApp;

if GlobalCEFApp.StartMainProcess then
begin
GlobalCEFApp.RunMessageLoop;
DestroyTinyBrowser;
end;

DestroyGlobalCEFApp;
end.
988 changes: 988 additions & 0 deletions demos/Delphi_VCL/TinyBrowser/TinyBrowser.dproj

Large diffs are not rendered by default.

Loading

0 comments on commit 58d9884

Please sign in to comment.