MBrCtlWindowObserver Class Reference

class MBrCtlWindowObserver

The MBrCtlWindowObserver class handles window events such open/close/etc

Usage:

  #include <brctlwindowobserver.h>

 @see S60 Platform: Browser Control API Developer's Guide Version 2.0
 @lib BrowserEngine.lib
 @since 3.0
 @file brctlwindowobserver.h
*

Member Functions Documentation

FindWindowL(const TDesC &)

CBrCtlInterface *FindWindowL(const TDesC &aTargetName)const [pure virtual]
Find a window by target name
Since
3.0

Parameters

const TDesC & aTargetNamename of the window to find

HandleWindowCommandL(const TDesC &, TBrCtlWindowCommand)

voidHandleWindowCommandL(const TDesC &aTargetName,
TBrCtlWindowCommandaCommand
)[pure virtual]
Handle window events such as close/focus etc
Since
3.0

Parameters

const TDesC & aTargetNamename of the window to send the event to
TBrCtlWindowCommand aCommandCommand to pass to the window

OpenWindowL(TDesC &, TDesC *, TBool, TAny *)

CBrCtlInterface *OpenWindowL(TDesC &aUrl,
TDesC *aTargetName,
TBoolaUserInitiated,
TAny *aReserved
)[pure virtual]
Request the host applicaion to open the URL in a new window
Since
3.0

Parameters

TDesC & aUrlThe Url of the request to be done in the new window
TDesC * aTargetNameThe name of the new window
TBool aUserInitiatedETrue if the new window is initiated by a user event (click)
TAny * aReservedFor future use