Chromium Embedded Framework (CEF)  126.2.0+g5c56e98+chromium-126.0.6478.62
CefNavigationEntry Class Referenceabstract

Class used to represent an entry in navigation history. More...

#include "include/cef_navigation_entry.h"

Inheritance diagram for CefNavigationEntry:
CefBaseRefCounted

Public Types

typedef cef_transition_type_t TransitionType
 

Public Member Functions

virtual bool IsValid ()=0
 Returns true if this object is valid. More...
 
virtual CefString GetURL ()=0
 Returns the actual URL of the page. More...
 
virtual CefString GetDisplayURL ()=0
 Returns a display-friendly version of the URL. More...
 
virtual CefString GetOriginalURL ()=0
 Returns the original URL that was entered by the user before any redirects. More...
 
virtual CefString GetTitle ()=0
 Returns the title set by the page. More...
 
virtual TransitionType GetTransitionType ()=0
 Returns the transition type which indicates what the user did to move to this page from the previous page. More...
 
virtual bool HasPostData ()=0
 Returns true if this navigation includes post data. More...
 
virtual CefBaseTime GetCompletionTime ()=0
 Returns the time for the last known successful navigation completion. More...
 
virtual int GetHttpStatusCode ()=0
 Returns the HTTP status code for the last known successful navigation response. More...
 
virtual CefRefPtr< CefSSLStatusGetSSLStatus ()=0
 Returns the SSL information for this navigation entry. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class used to represent an entry in navigation history.

Member Typedef Documentation

◆ TransitionType

Member Function Documentation

◆ GetCompletionTime()

virtual CefBaseTime CefNavigationEntry::GetCompletionTime ( )
pure virtual

Returns the time for the last known successful navigation completion.

A navigation may be completed more than once if the page is reloaded. May be 0 if the navigation has not yet completed.

◆ GetDisplayURL()

virtual CefString CefNavigationEntry::GetDisplayURL ( )
pure virtual

Returns a display-friendly version of the URL.

◆ GetHttpStatusCode()

virtual int CefNavigationEntry::GetHttpStatusCode ( )
pure virtual

Returns the HTTP status code for the last known successful navigation response.

May be 0 if the response has not yet been received or if the navigation has not yet completed.

◆ GetOriginalURL()

virtual CefString CefNavigationEntry::GetOriginalURL ( )
pure virtual

Returns the original URL that was entered by the user before any redirects.

◆ GetSSLStatus()

virtual CefRefPtr<CefSSLStatus> CefNavigationEntry::GetSSLStatus ( )
pure virtual

Returns the SSL information for this navigation entry.

◆ GetTitle()

virtual CefString CefNavigationEntry::GetTitle ( )
pure virtual

Returns the title set by the page.

This value may be empty.

◆ GetTransitionType()

virtual TransitionType CefNavigationEntry::GetTransitionType ( )
pure virtual

Returns the transition type which indicates what the user did to move to this page from the previous page.

◆ GetURL()

virtual CefString CefNavigationEntry::GetURL ( )
pure virtual

Returns the actual URL of the page.

For some pages this may be data: URL or similar. Use GetDisplayURL() to return a display-friendly version.

◆ HasPostData()

virtual bool CefNavigationEntry::HasPostData ( )
pure virtual

Returns true if this navigation includes post data.

◆ IsValid()

virtual bool CefNavigationEntry::IsValid ( )
pure virtual

Returns true if this object is valid.

Do not call any other methods if this function returns false.


The documentation for this class was generated from the following file: