browser/inc/BrCtlApiTestContainer.h
author Maciej Seroka <maciejs@symbian.org>
Thu, 21 Jan 2010 14:54:07 +0000
branchSymbian3
changeset 3 235c00e46fb7
child 7 24ce88ef98ef
permissions -rw-r--r--
Added Symbian3 smoketests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     1
/*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     2
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     3
* All rights reserved.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     5
* under the terms of the License "Eclipse Public License v1.0"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     8
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
     9
* Initial Contributors:
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    11
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    12
* Contributors:
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    13
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    14
* Description:  CBrCtlApiTestContainer from BrCtlBCTestContainer.h
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    15
*
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    16
*/
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    17
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    18
#ifndef BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    19
#define BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    20
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    21
// INCLUDES
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    22
#include <coecntrl.h>
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    23
#include <BrCtlInterface.h> // interface under test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    24
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    25
#include "BrCtlApiTestObserver.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    26
#include "BrCtlApiTestStateChangeObserver.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    27
#include "BrCtlApiTestDialogsProvider.h"
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    28
   
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    29
// CONSTATNS
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    30
const TInt KThisAppUid = 0xA0000181;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    31
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    32
_LIT( KUrlLoadTestHtml, "c:\\BrCtlTest\\loadtest.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    33
_LIT( KUrlLoadTestHtml2, "file:///c:\\smoketest\\web\\loadtest2.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    34
_LIT( KUrlHistoryHandlerHtml1, "file:///c:\\BrCtlTest\\historytest1.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    35
_LIT( KUrlHistoryHandlerHtml2, "file:///c:\\BrCtlTest\\historytest2.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    36
_LIT( KUrlHistoryHandlerHtml3, "file:///c:\\BrCtlTest\\historytest3.html" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    37
_LIT( KUrlLoadTestWml1, "file:///c:\\BrCtlTest\\loadtest1.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    38
_LIT( KUrlLoadTestWml2, "file:///c:\\BrCtlTest\\loadtest2.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    39
_LIT( KUrlLoadTestWml3, "file:///c:\\BrCtlTest\\loadtest3.wml" );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    40
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    41
enum TBrCtlFindResponseExpected
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    42
  {
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    43
  EFindNoMatchesExpected = 0, ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    44
  EFindMatchExpected,    ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    45
  EFindMoreMatchesExpected    ///< Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    46
  };
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    47
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    48
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    49
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    50
// FORWARD DECLARATIONS
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    51
//class CBrCtlInterface;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    52
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    53
// CLASS DECLARATION
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    54
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    55
/**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    56
*  CBrCtlApiTestContainer  container control class.
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    57
*  
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    58
*/
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    59
class CBrCtlApiTestContainer : public CCoeControl,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    60
                                     MCoeControlObserver,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    61
                                     MBrCtlDataLoadSupplier,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    62
                                     MBrCtlCommandObserver,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    63
                                     MWidgetCallback // Added for WidgetExtension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    64
    {
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    65
    public: // Constructors and destructor
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    66
        void ConstructL (const TRect& aRect );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    67
        ~CBrCtlApiTestContainer();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    68
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    69
    private: // Functions from base classes 
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    70
        void HandleCommandL( TBrCtlDefs::TBrCtlClientCommands aCommand, const CArrayFix<TPtrC>& aAttributesNames,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    71
                                     const CArrayFix<TPtrC>& aAttributeValues ); 
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    72
        void SizeChanged();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    73
        TInt CountComponentControls() const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    74
        CCoeControl* ComponentControl( TInt aIndex ) const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    75
        void Draw( const TRect& aRect ) const;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    76
        TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    77
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    78
        /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    79
        * From MBrCtlDataLoadSupplier, Cancel an on-going load
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    80
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    81
        void CancelLoad();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    82
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    83
    // Functions from MWidgetCallback class
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    84
        TBool DialogMimeFileSelectLC(HBufC*& aSelectedFileName,
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    85
                                 const TDesC& aMimeType);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    86
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    87
       /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    88
        * Called to show or hide softkeys
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    89
        * @since 3.1
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    90
        * @param aVisible ETrue to show softkeys, EFalse when full screen is needed
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    91
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    92
        void SetSoftkeysVisible(TBool aVisible);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    93
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    94
        /**
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    95
        * Called to change the display orientation to landscape
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    96
        * @since 3.1
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    97
        */
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    98
        void SetDisplayMode(TBrCtlDefs::TBrCtlOrientation aOrientation);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
    99
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   100
        //Reserved for future use
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   101
        TInt Reserved_1(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   102
        TInt Reserved_2(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   103
        TInt Reserved_3(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   104
        TInt Reserved_4(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   105
        TInt Reserved_5(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   106
        TInt Reserved_6(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   107
        TInt Reserved_7(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   108
        TInt Reserved_8(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   109
        TInt Reserved_9(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   110
        TInt Reserved_10(TAny*& a0, TAny* a1, TAny* a2);
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   111
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   112
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   113
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   114
    public: // New functions
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   115
        void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   116
        TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   117
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   118
    public: // Functions utility
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   119
        HBufC8* ReadFileLC( const TDesC& aFileName );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   120
        void HandleControlEventL( CCoeControl* aControl,TCoeEvent aEventType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   121
        void RunAllTestsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   122
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   123
    public: // Functions to test CBrCtlInterface
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   124
        void CreateBrowserControlInterfaceL(TInt aBrCtlConfig); //Change done to take a parameter
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   125
        TInt LoadPageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   126
        TInt HandleCommandL(TInt aCommand );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   127
        TInt LoadDataL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   128
        TInt ClearCacheTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   129
        TBool IsUrlInCacheTest( TDesC16& aUrl );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   130
        TInt ClearItemInCacheTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   131
        TInt PageInfoLC( TBrCtlDefs::TBrCtlPageInfo aType );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   132
        TInt CertInfo();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   133
        TInt NavigationAvailableTest();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   134
        TInt GetBitmapData();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   135
        TInt SaveToFileL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   136
        TInt OkToExit();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   137
        TInt FindKeyword( TPtrC aHtml , TPtrC aKeyword , TInt aMatch );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   138
        TInt FindKeywordAgain( TInt aMatch );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   139
        TInt SetFocus();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   140
        TInt OfferKeyEvent();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   141
        TInt BrCtlMinimumSize();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   142
        TInt BrCtlSubscribeToMenuItemsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   143
        TInt BrCtlContentSize();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   144
        TInt BrowserSettingL( TUint& aSetting );
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   145
        TInt SetBrowserSettingL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   146
        TInt FocusedImageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   147
        TInt AddCommandObserverL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   148
        TInt RemoveCommandObserver();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   149
        TInt ImageCountL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   150
        TInt BrCtlFocusedElementTypeL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   151
        TInt BrCtlSetParam();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   152
        TInt LoadSavedPageL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   153
        TInt SetSelfDownloadContentTypes();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   154
        TInt ZoomLevels();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   155
        TInt AddOptionMenuItems();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   156
        TInt BrCtlInitLoadDataL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   157
        TInt HandleDownloadCommand();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   158
        TInt VersionInfoL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   159
        TInt WmlOptionMenuItemsL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   160
        TInt BrCtlPostL();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   161
        TInt CreateBrCtlInterfaceAndWidgetExtensionL(); // Added for WidgetExtension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   162
        TInt HistoryLoad1L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   163
        TInt HistoryLoad2L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   164
        TInt HistoryLoad3L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   165
        TInt WMLLoad1L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   166
        TInt WMLLoad2L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   167
        TInt WMLLoad3L();
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   168
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   169
    private: //data
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   170
        CBrCtlInterface* iBrCtlInterface;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   171
        TInt iCommandBase;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   172
        CBrCtlApiTestObserver* iBrCtlApiTestObserver;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   173
        CBrCtlApiTestStateChangeObserver* iBrCtlApiTestStateChangeObserver;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   174
        CBrowserDialogsProviderProxy* iBrCtlDialogs;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   175
        CEikMenuPane* iMenuPane;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   176
        TBool iCancelInitDataLoad;
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   177
        
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   178
        // Added for Widget Extension Test
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   179
        MWidgetExtension* iWidgetExtension;  
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   180
    };
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   181
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   182
#endif // BRCTLBCTESTCONTAINER_H
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   183
235c00e46fb7 Added Symbian3 smoketests
Maciej Seroka <maciejs@symbian.org>
parents:
diff changeset
   184
// End of File