type TOsrBrowserWindow = class(TBufferPanel)
TOsrBrowserWindow - Off-Screen-Rendering
A simple "drop on the Form" component for an full embedded browser.
See notes an TBrowserWindow for requirements in user code. Further: - Some keystrokes may not be sent to KeyDown/KeyPress by the LCL. They may be available as WM_SYSKEYDOWN/UP message on the containing Form.
This component is still experimental. - On MacOS Keyboard support is not complete
| Protected | function GetChromium: TEmbeddedOsrChromium; |
| Protected | function getModifiers(Shift: TShiftState): TCefEventFlags; |
| Protected | function getKeyModifiers(Shift: TShiftState): TCefEventFlags; |
| Protected | function GetButton(Button: TMouseButton): TCefMouseButtonType; |
| Protected | procedure DestroyHandle; override; |
| Protected | procedure RealizeBounds; override; |
| Protected | procedure DoEnter; override; |
| Protected | procedure DoExit; override; |
| Protected | procedure Click; override; |
| Protected | procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
| Protected | procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
| Protected | procedure MouseMove(Shift: TShiftState; X, Y: Integer); override; |
| Protected | procedure MouseEnter; override; |
| Protected | procedure MouseLeave; override; |
| Protected | function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override; |
| Protected | procedure KeyDown(var Key: Word; Shift: TShiftState); override; |
| Protected | procedure UTF8KeyPress(var UTF8Key: TUTF8Char); override; |
| Protected | procedure KeyUp(var Key: Word; Shift: TShiftState); override; |
| Protected | procedure DoOnIMECancelComposition; override; |
| Protected | procedure DoOnIMECommitText(const aText : ustring; const replacement_range : PCefRange; relative_cursor_pos : integer); override; |
| Protected | procedure DoOnIMESetComposition(const aText : ustring; const underlines : TCefCompositionUnderlineDynArray; const replacement_range, selection_range : TCefRange); override; |
| Protected | procedure CaptureChanged; override; |
| Protected | procedure DoOnCreated(Sender: TObject); |
| Protected | procedure DoOnClosed(Sender: TObject); |
| Public | constructor Create(AOwner: TComponent); override; |
| Public | destructor Destroy; override; |
| Public | procedure CreateHandle; override; |
| Public | procedure CloseBrowser(aForceClose: boolean); |
| Public | procedure WaitForBrowserClosed; |
| Public | function IsClosed: boolean; |
| Public | procedure LoadURL(aURL: ustring); |
| Published | property Chromium : TEmbeddedOsrChromium read GetChromium; |
| Published | property OnBrowserCreated : TNotifyEvent read FOnBrowserCreated write FOnBrowserCreated; |
| Published | property OnBrowserClosed : TNotifyEvent read FOnBrowserClosed write FOnBrowserClosed; |
| Published | property OnMouseDown: TBrowserMouseEvent read FOnMouseDown write FOnMouseDown; |
| Published | property OnMouseUp: TBrowserMouseEvent read FOnMouseUp write FOnMouseUp; |
| Published | property OnMouseMove: TBrowserMouseMoveEvent read FOnMouseMove write FOnMouseMove; |
| Published | property OnMouseWheel: TBrowserMouseWheelEvent read FOnMouseWheel write FOnMouseWheel; |
| Published | property OnKeyDown: TBrowserKeyEvent read FOnKeyDown write FOnKeyDown; |
| Published | property OnKeyUp: TBrowserKeyEvent read FOnKeyUp write FOnKeyUp; |
| Published | property OnUtf8KeyPress: TBrowserUTF8KeyPressEvent read FOnUtf8KeyPress write FOnUtf8KeyPress; |
| Protected | function GetChromium: TEmbeddedOsrChromium; |
|
This item has no description. | |
| Protected | function getModifiers(Shift: TShiftState): TCefEventFlags; |
|
This item has no description. | |
| Protected | function getKeyModifiers(Shift: TShiftState): TCefEventFlags; |
|
This item has no description. | |
| Protected | function GetButton(Button: TMouseButton): TCefMouseButtonType; |
|
This item has no description. | |
| Protected | procedure DestroyHandle; override; |
|
This item has no description. | |
| Protected | procedure RealizeBounds; override; |
|
This item has no description. | |
| Protected | procedure DoEnter; override; |
|
This item has no description. | |
| Protected | procedure DoExit; override; |
|
This item has no description. | |
| Protected | procedure Click; override; |
|
This item has no description. | |
| Protected | procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
This item has no description. | |
| Protected | procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override; |
|
This item has no description. | |
| Protected | procedure MouseMove(Shift: TShiftState; X, Y: Integer); override; |
|
This item has no description. | |
| Protected | procedure MouseEnter; override; |
|
This item has no description. | |
| Protected | procedure MouseLeave; override; |
|
This item has no description. | |
| Protected | function DoMouseWheel(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean; override; |
|
This item has no description. | |
| Protected | procedure KeyDown(var Key: Word; Shift: TShiftState); override; |
|
Key input works only for windows. | |
| Protected | procedure UTF8KeyPress(var UTF8Key: TUTF8Char); override; |
|
This item has no description. | |
| Protected | procedure KeyUp(var Key: Word; Shift: TShiftState); override; |
|
This item has no description. | |
| Protected | procedure DoOnIMECancelComposition; override; |
|
This item has no description. | |
| Protected | procedure DoOnIMECommitText(const aText : ustring; const replacement_range : PCefRange; relative_cursor_pos : integer); override; |
|
This item has no description. | |
| Protected | procedure DoOnIMESetComposition(const aText : ustring; const underlines : TCefCompositionUnderlineDynArray; const replacement_range, selection_range : TCefRange); override; |
|
This item has no description. | |
| Protected | procedure CaptureChanged; override; |
|
This item has no description. | |
| Protected | procedure DoOnCreated(Sender: TObject); |
|
This item has no description. | |
| Protected | procedure DoOnClosed(Sender: TObject); |
|
This item has no description. | |
| Public | constructor Create(AOwner: TComponent); override; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | procedure CreateHandle; override; |
|
This item has no description. | |
| Public | procedure CloseBrowser(aForceClose: boolean); |
|
This item has no description. | |
| Public | procedure WaitForBrowserClosed; |
|
This item has no description. | |
| Public | function IsClosed: boolean; |
|
This item has no description. | |
| Public | procedure LoadURL(aURL: ustring); |
|
This item has no description. | |
| Published | property Chromium : TEmbeddedOsrChromium read GetChromium; |
|
This item has no description. | |
| Published | property OnBrowserCreated : TNotifyEvent read FOnBrowserCreated write FOnBrowserCreated; |
|
This item has no description. | |
| Published | property OnBrowserClosed : TNotifyEvent read FOnBrowserClosed write FOnBrowserClosed; |
|
This item has no description. | |
| Published | property OnMouseDown: TBrowserMouseEvent read FOnMouseDown write FOnMouseDown; |
|
Mouse/Key events The below events can be used to see mouse/key input before it is sent to CEF. All events have a "AHandled" parameter, which can be used to prevent the event from being sent to CEF. | |
| Published | property OnMouseUp: TBrowserMouseEvent read FOnMouseUp write FOnMouseUp; |
|
This item has no description. | |
| Published | property OnMouseMove: TBrowserMouseMoveEvent read FOnMouseMove write FOnMouseMove; |
|
This item has no description. | |
| Published | property OnMouseWheel: TBrowserMouseWheelEvent read FOnMouseWheel write FOnMouseWheel; |
|
This item has no description. | |
| Published | property OnKeyDown: TBrowserKeyEvent read FOnKeyDown write FOnKeyDown; |
|
This item has no description. | |
| Published | property OnKeyUp: TBrowserKeyEvent read FOnKeyUp write FOnKeyUp; |
|
This item has no description. | |
| Published | property OnUtf8KeyPress: TBrowserUTF8KeyPressEvent read FOnUtf8KeyPress write FOnUtf8KeyPress; |
|
This item has no description. | |