equal
deleted
inserted
replaced
21 #define BRCTL_H |
21 #define BRCTL_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <brctlinterface.h> |
24 #include <brctlinterface.h> |
25 |
25 |
|
26 #include "BrCtlDefs.h" |
26 #include "HistoryInterface.h" |
27 #include "HistoryInterface.h" |
27 |
28 |
28 #include "WmlInterface.h" |
29 #include "WmlInterface.h" |
29 // CONSTANTS |
30 // CONSTANTS |
30 |
31 |
55 class HttpDownload; |
56 class HttpDownload; |
56 class CPageScaler; |
57 class CPageScaler; |
57 class CWmlDispatcher; |
58 class CWmlDispatcher; |
58 class CWmlContentInterface; |
59 class CWmlContentInterface; |
59 class CUserAgent; |
60 class CUserAgent; |
60 class CWidgetExtension; |
|
61 |
61 |
62 namespace WebCore { |
62 namespace WebCore { |
63 class FormData; |
63 class FormData; |
64 } |
64 } |
65 |
65 |
159 void setWmlDispatcher(CWmlDispatcher* dispatcher){m_wmlDispatcher = dispatcher;} |
159 void setWmlDispatcher(CWmlDispatcher* dispatcher){m_wmlDispatcher = dispatcher;} |
160 void loadResource(TDesC8& url, CWmlContentInterface* content ); |
160 void loadResource(TDesC8& url, CWmlContentInterface* content ); |
161 TBrCtlWmlServiceOption* firstPrevDoElement() const { return m_firstPrevDoElement; } |
161 TBrCtlWmlServiceOption* firstPrevDoElement() const { return m_firstPrevDoElement; } |
162 HBufC* fileNameToUrlLC(const TDesC& aFileName); |
162 HBufC* fileNameToUrlLC(const TDesC& aFileName); |
163 void SetScriptLogMode(TInt aMode); |
163 void SetScriptLogMode(TInt aMode); |
164 CWidgetExtension* getWidgetExt(); |
|
165 |
164 |
166 public: // Methods from CBrCtlInterface |
165 public: // Methods from CBrCtlInterface |
167 |
166 |
168 /** |
167 /** |
169 * From CBrCtlInterface |
168 * From CBrCtlInterface |
412 * @since |
411 * @since |
413 * @Collects offscreen bitmap |
412 * @Collects offscreen bitmap |
414 */ |
413 */ |
415 IMPORT_C void TakeSnapshotL(CFbsBitmap& snapshot); |
414 IMPORT_C void TakeSnapshotL(CFbsBitmap& snapshot); |
416 |
415 |
417 IMPORT_C TBool IsSynchRequestPending(); |
|
418 |
|
419 /** |
416 /** |
420 * From CBrCtlInterface |
417 * From CBrCtlInterface |
421 * Register an observer for state change changes |
418 * Register an observer for state change changes |
422 * @since 3.0 |
419 * @since 3.0 |
423 * @param The observer to register |
420 * @param The observer to register |
591 void Draw(const TRect& aRect) const; |
588 void Draw(const TRect& aRect) const; |
592 |
589 |
593 /** |
590 /** |
594 * From CCoeControl |
591 * From CCoeControl |
595 */ |
592 */ |
|
593 void HandlePointerBufferReadyL(); |
596 MBrCtlSpecialLoadObserver* brCtlSpecialLoadObserver() const { return m_brCtlSpecialLoadObserver; } |
594 MBrCtlSpecialLoadObserver* brCtlSpecialLoadObserver() const { return m_brCtlSpecialLoadObserver; } |
597 MBrCtlDownloadObserver* brCtlDownloadObserver(); |
595 MBrCtlDownloadObserver* brCtlDownloadObserver(); |
598 MBrCtlLinkResolver* brCtlLinkResolver() const { return m_brCtlLinkResolver; } |
596 MBrCtlLinkResolver* brCtlLinkResolver() const { return m_brCtlLinkResolver; } |
599 MBrCtlDialogsProvider* brCtlDialogsProvider() const { return m_brCtlDialogsProvider; } |
597 MBrCtlDialogsProvider* brCtlDialogsProvider() const { return m_brCtlDialogsProvider; } |
600 MBrCtlWindowObserver* brCtlWindowObserver() const { return m_brCtlWindowObserver; } |
598 MBrCtlWindowObserver* brCtlWindowObserver() const { return m_brCtlWindowObserver; } |
609 void reportStateChanged(TBrCtlDefs::TBrCtlState state, bool enter); |
607 void reportStateChanged(TBrCtlDefs::TBrCtlState state, bool enter); |
610 void showHorizontalScrollbar(bool show); |
608 void showHorizontalScrollbar(bool show); |
611 |
609 |
612 void showWindow(); |
610 void showWindow(); |
613 void closeWindowSoon(); |
611 void closeWindowSoon(); |
614 // this function leaves in case of exit which is the normal behaviour |
|
615 void doCloseWindowSoon(); |
612 void doCloseWindowSoon(); |
616 TBool sendCommandsToClient(TBrCtlDefs::TBrCtlClientCommands aCommand, |
613 TBool sendCommandsToClient(TBrCtlDefs::TBrCtlClientCommands aCommand, |
617 const CArrayFix<TPtrC>& aAttributesNames, |
614 const CArrayFix<TPtrC>& aAttributesNames, |
618 const CArrayFix<TPtrC>& aAttributeValues ); |
615 const CArrayFix<TPtrC>& aAttributeValues ); |
619 void endLoadData(); |
616 void endLoadData(); |
706 unsigned int m_capabilities; |
703 unsigned int m_capabilities; |
707 TInt m_resourceFile; |
704 TInt m_resourceFile; |
708 CPeriodic* m_timer; |
705 CPeriodic* m_timer; |
709 bool m_wmlMode; |
706 bool m_wmlMode; |
710 bool m_suspendTimers; |
707 bool m_suspendTimers; |
711 bool m_pageLoadFinished; |
|
712 MWmlEngineInterface* m_wmlEngineInterface; |
708 MWmlEngineInterface* m_wmlEngineInterface; |
713 RLibrary m_Library; |
709 RLibrary m_Library; |
714 MWmlInterface* m_WmlInterface; |
710 MWmlInterface* m_WmlInterface; |
715 TCertInfo* m_certInfo; |
711 TCertInfo* m_certInfo; |
716 int m_documentHeight; |
712 int m_documentHeight; |
730 CWmlDispatcher* m_wmlDispatcher; |
726 CWmlDispatcher* m_wmlDispatcher; |
731 RPointerArray<TBrCtlWmlServiceOption> m_wmlServiceOption; |
727 RPointerArray<TBrCtlWmlServiceOption> m_wmlServiceOption; |
732 TBrCtlWmlServiceOption* m_firstPrevDoElement; |
728 TBrCtlWmlServiceOption* m_firstPrevDoElement; |
733 MBrCtlDownloadObserver* m_brCtlDownloadObserver; |
729 MBrCtlDownloadObserver* m_brCtlDownloadObserver; |
734 CPeriodic* m_windoCloseTimer; //new timer for managing browser window close |
730 CPeriodic* m_windoCloseTimer; //new timer for managing browser window close |
735 bool m_didFirstLayout; |
731 |
736 bool m_NotifyPluginFocusChangeEvent; |
|
737 }; |
732 }; |
738 |
733 |
739 #endif // BRCTL_H |
734 #endif // BRCTL_H |
740 |
735 |
741 // End of File |
736 // End of File |