MBrCtlLayoutObserver Class Reference
API published in: S60 2nd Ed FP 3
Link against: browserengine.lib
Capability Information
Required Capabilities
None
Exceptions
NetworkServices capability is required for any operation that results in loading content from the network. For example, calling
LoadUrlL() with a url parameter that refers to a network location requires NetworkServices capability if the content is not
available from the cache or if the specified cache mode prevents loading the cached version.
#include <brctllayoutobserver.h>
Detailed Description
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
@file BrCtlLayoutObserver.h
*
|
Public Member Functions
|
virtual void |
UpdateBrowserVScrollBarL (TInt aDocumentHeight, TInt aDisplayHeight, TInt aDisplayPosY)=0
|
|
Update the position of vertical scrollbar.
|
virtual void |
UpdateBrowserHScrollBarL (TInt aDocumentWidth, TInt aDisplayWidth, TInt aDisplayPosX)=0
|
|
Update the position of horizontal scrollbar.
|
virtual void |
NotifyLayoutChange (TBrCtlLayout aNewLayout)=0
|
|
Inform the layout of the page: right to left or left to right.
|
virtual void |
UpdateTitleL (const TDesC &aTitle)=0
|
|
Update the title of the page in history view.
|
Member Function Documentation
virtual void MBrCtlLayoutObserver::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.
- Parameters:
-
|
aNewLayout
|
RTL (right to left) or LTR (left to right) |
- Returns:
- void
- Attention:
- This function is useful when the host application draws the scrollbar. In RTL pages, the scroll bar should be on the left
side.
|
virtual void MBrCtlLayoutObserver::UpdateBrowserHScrollBarL |
( |
TInt |
aDocumentWidth,
|
|
|
TInt |
aDisplayWidth,
|
|
|
TInt |
aDisplayPosX |
|
) |
[pure virtual] |
|
|
Update the position of horizontal scrollbar.
- Parameters:
-
|
aDocumentWidth
|
The total width of the markup page |
|
aDisplayWidth
|
The width of the display |
|
aDisplayPosX
|
The current X position |
- Returns:
- void
|
virtual void MBrCtlLayoutObserver::UpdateBrowserVScrollBarL |
( |
TInt |
aDocumentHeight,
|
|
|
TInt |
aDisplayHeight,
|
|
|
TInt |
aDisplayPosY |
|
) |
[pure virtual] |
|
|
Update the position of vertical scrollbar.
- Parameters:
-
|
aDocumentHeight
|
The total height of the markup page |
|
aDisplayHeight
|
The height of the display |
|
aDisplayPosY
|
The current Y position |
- Returns:
- void
|
virtual void MBrCtlLayoutObserver::UpdateTitleL |
( |
const TDesC & |
aTitle
|
) |
[pure virtual] |
|
|
Update the title of the page in history view.
- Parameters:
-
- Returns:
- void
|
The documentation for this class was generated from the following file: