diff --git a/Examples/DOMAccess/dom.lpi b/Examples/DOMAccess/dom.lpi index a58a6c9..a6a10d2 100644 --- a/Examples/DOMAccess/dom.lpi +++ b/Examples/DOMAccess/dom.lpi @@ -28,7 +28,7 @@ - + @@ -71,7 +71,7 @@ - + diff --git a/Examples/DOMAccess/main.lfm b/Examples/DOMAccess/main.lfm index 8f89102..feac1e9 100644 --- a/Examples/DOMAccess/main.lfm +++ b/Examples/DOMAccess/main.lfm @@ -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 @@ -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 diff --git a/Examples/JavaScript/js.lpi b/Examples/JavaScript/js.lpi index d56cbb9..714bf5f 100644 --- a/Examples/JavaScript/js.lpi +++ b/Examples/JavaScript/js.lpi @@ -28,7 +28,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -174,6 +174,7 @@ + diff --git a/Examples/LCLSimple/main.lfm b/Examples/LCLSimple/main.lfm index 760a71b..2623616 100644 --- a/Examples/LCLSimple/main.lfm +++ b/Examples/LCLSimple/main.lfm @@ -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 @@ -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 diff --git a/Examples/OSRDemo/osrdemo.lpi b/Examples/OSRDemo/osrdemo.lpi index 0b2e134..418404b 100644 --- a/Examples/OSRDemo/osrdemo.lpi +++ b/Examples/OSRDemo/osrdemo.lpi @@ -28,7 +28,7 @@ - + @@ -71,7 +71,7 @@ - + diff --git a/Examples/SubProcess/subprocess.lpi b/Examples/SubProcess/subprocess.lpi index cc3bf7f..85a09de 100644 --- a/Examples/SubProcess/subprocess.lpi +++ b/Examples/SubProcess/subprocess.lpi @@ -1,4 +1,4 @@ - + @@ -65,7 +65,7 @@ - + @@ -110,7 +110,6 @@ - diff --git a/Examples/WinMinimal/minimal.lpi b/Examples/WinMinimal/minimal.lpi index b42ac6b..5c13ab0 100644 --- a/Examples/WinMinimal/minimal.lpi +++ b/Examples/WinMinimal/minimal.lpi @@ -1,4 +1,4 @@ - + @@ -59,9 +59,11 @@ - + + + @@ -71,7 +73,6 @@ - @@ -117,7 +118,6 @@ - diff --git a/cef.inc b/cef.inc index 0eeee1a..5102054 100644 --- a/cef.inc +++ b/cef.inc @@ -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 - * Repository: http://github.com/dliw/fpCEF3 - * - * - * Based on 'Delphi Chromium Embedded' by: Henri Gourvest - * 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} \ No newline at end of file +(* + * 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 + * Repository: http://github.com/dliw/fpCEF3 + * + * + * Based on 'Delphi Chromium Embedded' by: Henri Gourvest + * 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}