MBrCtlLayoutObserver Class Reference

class MBrCtlLayoutObserver

The MBrCtlLayoutObserver class receives scrolling events when the host application draws the scrollbar.

Usage:

        #include <brctllayoutobserver.h>

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

Member Functions Documentation

NotifyLayoutChange(TBrCtlLayout)

void NotifyLayoutChange ( TBrCtlLayout aNewLayout ) [pure virtual]
Inform the layout of the page: right to left or left to right. Useful when the application draws the scrollbar itself.
Since
2.8
Attention:

This function is useful when the host application draws the scrollbar. In RTL pages, the scroll bar should be on the left side.

Parameters

TBrCtlLayout aNewLayout RTL (right to left) or LTR (left to right)

UpdateBrowserHScrollBarL(TInt, TInt, TInt)

void UpdateBrowserHScrollBarL ( TInt aDocumentWidth,
TInt aDisplayWidth,
TInt aDisplayPosX
) [pure virtual]
Update the position of horizontal scrollbar.
Since
2.8

Parameters

TInt aDocumentWidth The total width of the markup page
TInt aDisplayWidth The width of the display
TInt aDisplayPosX The current X position

UpdateBrowserVScrollBarL(TInt, TInt, TInt)

void UpdateBrowserVScrollBarL ( TInt aDocumentHeight,
TInt aDisplayHeight,
TInt aDisplayPosY
) [pure virtual]
Update the position of vertical scrollbar.
Since
2.8

Parameters

TInt aDocumentHeight The total height of the markup page
TInt aDisplayHeight The height of the display
TInt aDisplayPosY The current Y position

UpdateTitleL(const TDesC &)

void UpdateTitleL ( const TDesC & aTitle ) [pure virtual]
Update the title of the page in history view
Since
3.0

Parameters

const TDesC & aTitle Title of the page