diff -r 000000000000 -r dd21522fd290 webengine/osswebengine/WebKit/s60/webview/WebToolBarInterface.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webengine/osswebengine/WebKit/s60/webview/WebToolBarInterface.h Mon Mar 30 12:54:55 2009 +0300 @@ -0,0 +1,80 @@ +/* +* 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: Handles the viewing of a single frame. If the page is not frame +* enabled, this class is used as the single view. If frame +* enabled, there is one instance of this class for each frame. +* +*/ + + +#ifndef __WEBTOOLBARINTERFACE +#define __WEBTOOLBARINTERFACE + +// INCLUDES +#include +#include +#include +#include +#include +#include +#include +#include "BrCtlDefs.h" +#include "ToolBar.h" +/* +#include "Favicon.h" +#include "WebCoreIconDatabaseBridge.h" +*/ +// CONSTANTS + +// MACROS + +// DATA TYPES + +// FUNCTION PROTOTYPES + +// FORWARD DECLARATIONS +class CGulIcon; +class TBrCtlSubscribeTo; +class WebView; + +class WebToolBarInterface: public MToolBarCallback +{ + +public: + WebToolBarInterface(WebView* webView); + virtual ~WebToolBarInterface(); + + TPoint CursorPosition(); + void SetAndUpdateCursorPosition(const TPoint& aPoint); + const RPointerArray& SubscribeToMenuItemsL(); + CCoeControl& View(); + CCoeControl& CCoeControlParent(); + void CloseToolBarL(); + CGulIcon* GetFaviconL(const TDesC& aUrl); + void SendCommandsToClient(TBrCtlDefs::TBrCtlClientCommands aCommand, + const CArrayFix& aAttributesNames, + const CArrayFix& aAttributeValues); + void LoadUrlL( const TDesC& aUrl, TBrCtlDefs::TBrCtlCacheMode aCacheMode ); + HBufC* ResolveUrlL( const TDesC& aUrl); + void OpenPageViewL(); + TUint GetBrowserSettingL(TUint aSetting); + void HandleHistoryCommandL(TBrCtlDefs::TBrCtlCommands aCommand); + void ViewImagesL(); + TBool wmlMode(); + +private: + WebView* m_webView; +}; + +#endif