Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dliw committed Aug 23, 2014
1 parent a676245 commit b7e6039
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 66 deletions.
4 changes: 2 additions & 2 deletions Examples/DOMAccess/dom.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple32"/>
<Filename Value="dom32"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down Expand Up @@ -71,7 +71,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple64"/>
<Filename Value="dom64"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down
6 changes: 3 additions & 3 deletions Examples/DOMAccess/main.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ object Mainform: TMainform
ClientHeight = 587
ClientWidth = 921
OnCreate = FormCreate
LCLVersion = '1.2.2.0'
LCLVersion = '1.2.4.0'
object Chromium: TChromium
AnchorSideLeft.Control = Owner
AnchorSideTop.Side = asrBottom
Expand All @@ -23,9 +23,9 @@ object Mainform: TMainform
DefaultUrl = 'www.google.de'
TabOrder = 0
OnProcessMessageReceived = ChromiumProcessMessageReceived
OnLoadEnd = ChromiumLoadEnd
OnKeyEvent = ChromiumKeyEvent
OnTitleChange = ChromiumTitleChange
OnKeyEvent = ChromiumKeyEvent
OnLoadEnd = ChromiumLoadEnd
end
object BGo: TButton
AnchorSideTop.Control = Owner
Expand Down
5 changes: 3 additions & 2 deletions Examples/JavaScript/js.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple32"/>
<Filename Value="js32"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down Expand Up @@ -71,7 +71,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple64"/>
<Filename Value="js64"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down Expand Up @@ -174,6 +174,7 @@
<Checks>
<IOChecks Value="True"/>
<RangeChecks Value="True"/>
<OverflowChecks Value="True"/>
</Checks>
<TargetCPU Value="x86_64"/>
<TargetOS Value="linux"/>
Expand Down
4 changes: 2 additions & 2 deletions Examples/LCLSimple/main.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object Mainform: TMainform
ClientHeight = 475
ClientWidth = 762
OnCreate = FormCreate
LCLVersion = '1.2.2.0'
LCLVersion = '1.2.4.0'
object Chromium: TChromium
AnchorSideLeft.Control = Owner
AnchorSideTop.Side = asrBottom
Expand All @@ -22,8 +22,8 @@ object Mainform: TMainform
Anchors = [akTop, akLeft, akRight, akBottom]
DefaultUrl = 'www.google.de'
TabOrder = 0
OnLoadEnd = ChromiumLoadEnd
OnTitleChange = ChromiumTitleChange
OnLoadEnd = ChromiumLoadEnd
end
object BGo: TButton
AnchorSideTop.Control = Owner
Expand Down
4 changes: 2 additions & 2 deletions Examples/OSRDemo/osrdemo.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple32"/>
<Filename Value="osrdemo32"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down Expand Up @@ -71,7 +71,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="simple64"/>
<Filename Value="osrdemo64"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down
5 changes: 2 additions & 3 deletions Examples/SubProcess/subprocess.lpi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
Expand Down Expand Up @@ -65,7 +65,7 @@
<CompilerOptions>
<Version Value="11"/>
<Target>
<Filename Value="SubProcess"/>
<Filename Value="subprocess"/>
</Target>
<SearchPaths>
<IncludeFiles Value="$(ProjOutDir)"/>
Expand Down Expand Up @@ -110,7 +110,6 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="1">
Expand Down
8 changes: 4 additions & 4 deletions Examples/WinMinimal/minimal.lpi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="9"/>
Expand Down Expand Up @@ -59,9 +59,11 @@
</CompilerMessages>
<CompilerPath Value="$(CompPath)"/>
</Other>
<LCLWidgetType Value="win32"/>
</CompilerOptions>
</Item2>
<SharedMatrixOptions Count="1">
<Item1 ID="086285476382" Modes="Win32,Win64" Type="IDEMacro" MacroName="LCLWidgetType" Value="win32"/>
</SharedMatrixOptions>
</BuildModes>
<PublishOptions>
<Version Value="2"/>
Expand All @@ -71,7 +73,6 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="1">
Expand Down Expand Up @@ -117,7 +118,6 @@
</CompilerMessages>
<CompilerPath Value="$(CompPath)"/>
</Other>
<LCLWidgetType Value="win32"/>
</CompilerOptions>
<Debugging>
<Exceptions Count="3">
Expand Down
96 changes: 48 additions & 48 deletions cef.inc
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
(*
* Free Pascal 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.
*
* Author: d.l.i.w <[email protected]>
* Repository: http://github.com/dliw/fpCEF3
*
*
* Based on 'Delphi Chromium Embedded' by: Henri Gourvest <[email protected]>
* Repository : http://code.google.com/p/delphichromiumembedded/
*
* Embarcadero Technologies, Inc is not permitted to use or redistribute
* this source code without explicit permission.
*
*)

{.$DEFINE DEBUG}

// Don't change this, unless you know, what you are doing
{$DEFINE CEF_STRING_TYPE_UTF16}

{.$DEFINE CEF_STRING_TYPE_UTF8}
{.$DEFINE CEF_STRING_TYPE_WIDE}

{.$DEFINE CEF_MULTI_THREADED_MESSAGE_LOOP}
{$DEFINE SUPPORTS_INLINE}

// calling convention
{$MACRO ON}
{$IFDEF WINDOWS}
{$DEFINE cconv:=stdcall}
{$ELSE}
{$DEFINE cconv:=cdecl}
{$ENDIF}


// Sanity check
{$IFDEF CEF_MULTI_THREADED_MESSAGE_LOOP}
{$IFNDEF WINDOWS}
{$ERROR CEF doesn't support the mulithreaded message loop on systems other than Windows}
{$ENDIF}
{$ENDIF}
(*
* Free Pascal 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.
*
* Author: d.l.i.w <[email protected]>
* Repository: http://github.com/dliw/fpCEF3
*
*
* Based on 'Delphi Chromium Embedded' by: Henri Gourvest <[email protected]>
* Repository : http://code.google.com/p/delphichromiumembedded/
*
* Embarcadero Technologies, Inc is not permitted to use or redistribute
* this source code without explicit permission.
*
*)

{.$DEFINE DEBUG}

// Don't change this, unless you know, what you are doing
{$DEFINE CEF_STRING_TYPE_UTF16}

{.$DEFINE CEF_STRING_TYPE_UTF8}
{.$DEFINE CEF_STRING_TYPE_WIDE}

{.$DEFINE CEF_MULTI_THREADED_MESSAGE_LOOP}
{$DEFINE SUPPORTS_INLINE}

// calling convention
{$MACRO ON}
{$IFDEF WINDOWS}
{$DEFINE cconv:=stdcall}
{$ELSE}
{$DEFINE cconv:=cdecl}
{$ENDIF}


// Sanity check
{$IFDEF CEF_MULTI_THREADED_MESSAGE_LOOP}
{$IFNDEF WINDOWS}
{$ERROR CEF doesn't support the mulithreaded message loop on systems other than Windows}
{$ENDIF}
{$ENDIF}

0 comments on commit b7e6039

Please sign in to comment.