webengine/osswebengine/WebCore/platform/symbian/WidgetSymbian.cpp
changeset 65 5bfc169077b2
parent 36 0ed94ceaa377
child 94 919f36ff910f
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description:  
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #include "config.h"
    19 #include "config.h"
   158         return;
   158         return;
   159         }
   159         }
   160 
   160 
   161     data->visible = false;
   161     data->visible = false;
   162 
   162 
   163     if( getOuterView() && isFrameView() )
   163     if( getOuterView() )
   164         {
   164         {
   165         getOuterView()->makeVisible( EFalse );
   165         getOuterView()->makeVisible( EFalse );
   166         }
   166         }
   167     }
   167     }
   168 
   168 
   241     if (getView())
   241     if (getView())
   242         return getView()->isFocusable();
   242         return getView()->isFocusable();
   243     return false;
   243     return false;
   244     }
   244     }
   245 
   245 
   246 void Widget::handleEvent(Event* event)
   246 void Widget::handleEvent(Event* event) 
   247 {
   247 { 
   248     if (event->type() == keydownEvent && event->isKeyboardEvent()) {
   248     if (event->type() == keydownEvent && event->isKeyboardEvent()) {
   249         KeyboardEvent* kevt = static_cast<KeyboardEvent*>(event);
   249         KeyboardEvent* kevt = static_cast<KeyboardEvent*>(event);
   250         if (kevt->keyIdentifier() == "Enter") {
   250         if (kevt->keyIdentifier() == "Enter") {
   251             MWebCoreWidget* view = getView();
   251             MWebCoreWidget* view = getView();
   252             if(view && view->isObjectView()) {
   252             if(view && view->isObjectView()) {