diff -r 4baee4f15982 -r 6385c4c93049 browserui/browser/BrowserAppSrc/BrowserSoftkeysObserver.cpp --- a/browserui/browser/BrowserAppSrc/BrowserSoftkeysObserver.cpp Thu Aug 19 09:57:56 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,90 +0,0 @@ -/* -* Copyright (c) 2004 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: Handle special load events such as network connection, deal with non-http or non-html requests -* -*/ - - - -// INCLUDE FILES - -#include "BrowserSoftkeysObserver.h" -#include "BrowserWindow.h" -#include "BrowserWindowManager.h" -#include "BrowserContentView.h" - -// --------------------------------------------------------- -// CBrowserSoftkeysObserver::NewL() -// --------------------------------------------------------- -// -CBrowserSoftkeysObserver* CBrowserSoftkeysObserver::NewL( - CBrowserWindow& aWindow ) - { - CBrowserSoftkeysObserver* self = new (ELeave) - CBrowserSoftkeysObserver( aWindow ); - CleanupStack::PushL( self ); - self->ConstructL(); - CleanupStack::Pop(); // self - return self; - } - -// --------------------------------------------------------- -// CBrowserSoftkeysObserver::~CBrowserSoftkeysObserver() -// --------------------------------------------------------- -// -CBrowserSoftkeysObserver::~CBrowserSoftkeysObserver() - { - } - -// --------------------------------------------------------- -// CBrowserSoftkeysObserver::UpdateSoftkeyL() -// --------------------------------------------------------- -// -void CBrowserSoftkeysObserver::UpdateSoftkeyL( - TBrCtlKeySoftkey /* aKeySoftkey */, - const TDesC& /* aLabel */, - TUint32 /* aCommandId */, - TBrCtlSoftkeyChangeReason /* aReason */ ) - { - // update only the active window's softkeys - if( iWindow->IsWindowActive() ) - { - CBrowserContentView* cv = iWindow->WindowMgr().ContentView(); - if( cv ) - { - cv->UpdateCbaL(); - } - } - } - -// --------------------------------------------------------- -// CBrowserSoftkeysObserver::CBrowserSoftkeysObserver() -// --------------------------------------------------------- -// -CBrowserSoftkeysObserver::CBrowserSoftkeysObserver( - CBrowserWindow& aWindow ) : - iWindow( &aWindow ) - { - } - -// --------------------------------------------------------- -// CBrowserSoftkeysObserver::ConstructL() -// --------------------------------------------------------- -// -void CBrowserSoftkeysObserver::ConstructL() - { - } - -// End of File -