--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/webengine/osswebengine/WebKit/s60/webview/WebPageFullScreenHandler.h Mon Mar 30 12:54:55 2009 +0300
@@ -0,0 +1,112 @@
+/*
+* Copyright (c) 2008 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: Implements page scrolling functionality
+*
+*/
+
+
+
+#ifndef WEBPAGEFULLSCREENHANDLER_H
+#define WEBPAGEFULLSCREENHANDLER_H
+
+// INCLUDES
+#include <e32base.h>
+#include <coedef.h>
+#include <w32std.h>
+#include <AknWsEventObserver.h>
+// MACROS
+
+// FORWARD DECLARATIONS
+class WebView;
+class WebFrame;
+
+// CLASS DECLARATION
+class WebPageFullScreenHandler: public CBase, public MAknWsEventObserver {
+public: // Constructor and destructor
+
+ /**
+ * Two-phased constructor.
+ **/
+ static WebPageFullScreenHandler* NewL(WebView& webView);
+
+ /**
+ * Destructor.
+ **/
+ virtual ~WebPageFullScreenHandler();
+
+private: // Constructors
+
+ /**
+ * C++ default constructor.
+ **/
+ WebPageFullScreenHandler(WebView& webView);
+
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ **/
+ void constructL();
+
+ TBool HitRegionContains(const TPoint& aPoint);
+ void HandleWsEventL(const TWsEvent& aEvent,CCoeControl* aDestination);
+ void AddWsObserverToControl();
+ void constructSprite();
+ void destructSprite();
+
+public: // New functions
+
+
+ /**
+ * @since 5.0
+ * @param
+ * @return
+ **/
+ void showEscBtnL(void);
+
+ /**
+ * @since 5.0
+ * @param
+ * @return
+ **/
+ void hideEscBtnL(void);
+
+ /**
+ * @since 5.0
+ * @param
+ * @return
+ **/
+ bool isFullScreenMode(void);
+
+ /**
+ * @since 5.0
+ * @param
+ * @return
+ **/
+ void SizeChanged(void);
+
+
+private:
+
+ // Pointer to owning view
+
+ WebView* m_webView; // not owned
+ CAknWsEventMonitor* m_eventMonitor; // not owned
+ RWsSprite m_sprite;
+ TBool m_spriteVisible;
+ TBool m_tappedOnSprite;
+ TPoint m_pos;
+};
+
+#endif //WEBPAGEFULLSCREENHANDLER_H
+
+// End of File