Skip to content

Commit

Permalink
add missing "virtual"
Browse files Browse the repository at this point in the history
  • Loading branch information
dliw committed Apr 4, 2016
1 parent 9642a9f commit fad9160
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cef3own.pas
Expand Up @@ -491,11 +491,11 @@ TCefWriteHandlerOwn = class(TCefBaseOwn, ICefWriteHandler)
fStream: TStream;
fOwned: Boolean;
protected
function Write(const ptr: Pointer; size, n: TSize): TSize;
function Seek(offset: Int64; whence: Integer): Integer;
function Tell: Int64;
function Flush: Boolean;
function MayBlock: Boolean;
function Write(const ptr: Pointer; size, n: TSize): TSize; virtual;
function Seek(offset: Int64; whence: Integer): Integer; virtual;
function Tell: Int64; virtual;
function Flush: Boolean; virtual;
function MayBlock: Boolean; virtual;
public
constructor Create(Stream: TStream; Owned: Boolean); overload; virtual;
constructor Create(const filename: String); overload; virtual;
Expand Down Expand Up @@ -527,12 +527,12 @@ TCefTaskOwn = class(TCefBaseOwn, ICefTask)

TCefUrlrequestClientOwn = class(TCefBaseOwn, ICefUrlrequestClient)
protected
procedure OnRequestComplete(const request: ICefUrlRequest);
procedure OnUploadProgress(const request: ICefUrlRequest; current, total: Int64);
procedure OnDownloadProgress(const request: ICefUrlRequest; current, total: Int64);
procedure OnDownloadData(const request: ICefUrlRequest; data: Pointer; dataLength: TSize);
procedure OnRequestComplete(const request: ICefUrlRequest); virtual;
procedure OnUploadProgress(const request: ICefUrlRequest; current, total: Int64); virtual;
procedure OnDownloadProgress(const request: ICefUrlRequest; current, total: Int64); virtual;
procedure OnDownloadData(const request: ICefUrlRequest; data: Pointer; dataLength: TSize); virtual;
function GetAuthCredentials(isProxy: Boolean; const host: ustring; port: Integer;
const realm, scheme: ustring; callback: ICefAuthCallback): Boolean;
const realm, scheme: ustring; callback: ICefAuthCallback): Boolean; virtual;
public
constructor Create; virtual;
end;
Expand Down

0 comments on commit fad9160

Please sign in to comment.