diff -r 000000000000 -r dd21522fd290 webengine/osswebengine/WebKit/s60/webview/PageView.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webengine/osswebengine/WebKit/s60/webview/PageView.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,104 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Page overview control +* +*/ + + + +#ifndef PAGEVIEW_H +#define PAGEVIEW_H + +// INCLUDES +#include +#include +#include + + +// CONSTANTS + +// FORWARD DECLARATIONS + + +// CLASS DECLARATION + +class WebView; + +/** +* Displays the Page overview +* +* @lib browserview.lib +* @since Series 60 3.0 +*/ +class CPageView : public CCoeControl + { + public: // Constructors and destructor + + /** + * Two-phased constructor. + */ + static CPageView* NewL( WebView& aView ); + + /** + * Destructor. + */ + virtual ~CPageView(); + + public: // New functions + + /** + * Draws the offscreen bitmap to the screen + * @since 3.0 + * @param aGc System graphics context + * @param aRect rectangle to be drawn + * @return void + */ + virtual void Draw( const TRect& aRect ) const; + + /** + * HandlePointerEventL + * From CCoeControl + * + */ + void HandlePointerEventL(const TPointerEvent& aPointerEvent); + + + private: + + /** + * Constructor + * @since 3.x + * @param aWebKitControl + * @param aRect + * @param aMode display mode + */ + CPageView( WebView& aView ); + + /** + * ConstructL + * @since 3.x + */ + void ConstructL( ); + + void SizeChanged(); + + private: // Data + + + WebView* m_webView; + }; + +#endif // HISTORYVIEW_H + +// End of File