2 #ifndef _YI_WEB_VIEW_CONTROLLER_H_ 3 #define _YI_WEB_VIEW_CONTROLLER_H_ 225 virtual void Load(
const Resource &webViewResource) = 0;
230 std::unique_ptr<CYIPlatformViewProxy> m_pPlatformViewProxy;
231 Resource m_lastLoadedResource;
232 Resource m_lastRequestedResource;
233 bool m_bLoadNewResource;
const Resource & GetLastLoadedResource() const
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:114
CYISignal< Resource > LoadingStarted
Definition: YiWebViewController.h:177
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
CYIPlatformViewProxy * GetPlatformViewProxy() const
void LoadHTML(const CYIString &htmlString)
void NotifyLoadingFinished()
virtual void NavigateBack()=0
virtual bool CanNavigateForward()=0
CYISignal< Resource > LoadingFinished
Definition: YiWebViewController.h:182
CYISignal< Resource, CYIString > LoadingErrorOccurred
Definition: YiWebViewController.h:187
CYISignal< CYIString, CYIString > AuthenticationRequired
Definition: YiWebViewController.h:165
virtual void Authenticate(const CYIString &username, const CYIString &password)=0
RESOURCE_TYPE eType
Definition: YiWebViewController.h:60
Represents a resource that has been loaded.
Definition: YiWebViewController.h:57
virtual ~CYIWebViewController()
CYISignal< Resource > RedirectOccurred
Definition: YiWebViewController.h:192
virtual void Load(const Resource &webViewResource)=0
virtual void ClearCache()=0
void NotifyLoadingCancelled()
A class used to encapsulate an URL.
Definition: YiUrl.h:24
Definition: YiSignalHandler.h:174
Definition: YiWebViewController.h:51
Definition: YiWebViewController.h:49
static std::unique_ptr< CYIWebViewController > CreateIfSupported()
virtual void SetOverpullEnabled(bool bEnabled)=0
virtual void CancelAuthentication()=0
CYISignal< Resource > LoadingCancelled
Definition: YiWebViewController.h:172
Definition: YiWebViewController.h:50
CYIString string
Definition: YiWebViewController.h:59
virtual void NavigateForward()=0
void LoadFile(const CYIString &pathToDocument)
virtual bool CanNavigateBack()=0
Signals and slots are a thread-safe and flexible communication framework that will allow various obje...
Definition: YiSignal.h:164
void NotifyLoadingStarted(const CYIString &webRequest)
RESOURCE_TYPE
Supported resource types.
Definition: YiWebViewController.h:47
void LoadUrl(const CYIUrl &url)
void NotifyAuthenticationRequired(const CYIString &realm, const CYIString &host)
void NotifyLoadingErrorOccurred(const CYIString &errorMessage)
Provides an interface to a platform web view, if available.
Definition: YiWebViewController.h:36