You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Update to CEF 117.1.5
This commit is contained in:
@ -20,18 +20,54 @@ uses
|
||||
uCEFBaseRefCounted, uCEFInterfaces, uCEFTypes, uCEFView;
|
||||
|
||||
type
|
||||
/// <summary>
|
||||
/// A ScrollView will show horizontal and/or vertical scrollbars when necessary
|
||||
/// based on the size of the attached content view. Methods must be called on
|
||||
/// the browser process UI thread unless otherwise indicated.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para><see href="https://bitbucket.org/chromiumembedded/cef/src/master/include/capi/views/cef_scroll_view_capi.h">CEF source file: /include/capi/views/cef_scroll_view_capi.h (cef_scroll_view_t)</see></para>
|
||||
/// </remarks>
|
||||
TCefScrollViewRef = class(TCefViewRef, ICefScrollView)
|
||||
protected
|
||||
/// <summary>
|
||||
/// Set the content View. The content View must have a specified size (e.g.
|
||||
/// via ICefView.SetBounds or ICefViewDelegate.GetPreferredSize).
|
||||
/// </summary>
|
||||
procedure SetContentView(const view: ICefView);
|
||||
/// <summary>
|
||||
/// Returns the content View.
|
||||
/// </summary>
|
||||
function GetContentView : ICefView;
|
||||
/// <summary>
|
||||
/// Returns the visible region of the content View.
|
||||
/// </summary>
|
||||
function GetVisibleContentRect : TCefRect;
|
||||
/// <summary>
|
||||
/// Returns true (1) if the horizontal scrollbar is currently showing.
|
||||
/// </summary>
|
||||
function HasHorizontalScrollbar : boolean;
|
||||
/// <summary>
|
||||
/// Returns the height of the horizontal scrollbar.
|
||||
/// </summary>
|
||||
function GetHorizontalScrollbarHeight : Integer;
|
||||
/// <summary>
|
||||
/// Returns true (1) if the vertical scrollbar is currently showing.
|
||||
/// </summary>
|
||||
function HasVerticalScrollbar : boolean;
|
||||
/// <summary>
|
||||
/// Returns the width of the vertical scrollbar.
|
||||
/// </summary>
|
||||
function GetVerticalScrollbarWidth : Integer;
|
||||
|
||||
public
|
||||
/// <summary>
|
||||
/// Returns a ICefScrollView instance using a PCefScrollView data pointer.
|
||||
/// </summary>
|
||||
class function UnWrap(data: Pointer): ICefScrollView;
|
||||
/// <summary>
|
||||
/// Create a new ScrollView.
|
||||
/// </summary>
|
||||
class function CreateScrollView(const delegate: ICefViewDelegate): ICefScrollView;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user