580 // If search feature exists, check and route to appropriate editor // |
580 // If search feature exists, check and route to appropriate editor // |
581 if ( iSearchEditor ) |
581 if ( iSearchEditor ) |
582 { |
582 { |
583 if ( iSearchInputFrame->Rect().Contains(aPointerEvent.iPosition)) |
583 if ( iSearchInputFrame->Rect().Contains(aPointerEvent.iPosition)) |
584 { |
584 { |
585 if ( iSearchPaneActive ) |
585 if ( !iSearchPaneActive ) |
586 { |
586 { |
587 iSearchEditor->HandlePointerEventL(aPointerEvent); |
587 SetSearchPaneActiveL(); |
588 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF |
588 } |
589 ActivateVKB(); |
589 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
590 #endif |
|
591 } |
|
592 else |
590 else |
593 { |
591 { |
594 SetSearchPaneActiveL(); |
592 #endif |
595 } |
593 iSearchEditor->HandlePointerEventL(aPointerEvent); |
|
594 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
|
595 } |
|
596 #endif |
|
597 |
596 #if defined(BRDO_SEARCH_INTEGRATION_FF) |
598 #if defined(BRDO_SEARCH_INTEGRATION_FF) |
597 iSearchEditor->RemoveFlagFromUserFlags( CEikEdwin::EAvkonDisableVKB); |
599 iSearchEditor->RemoveFlagFromUserFlags( CEikEdwin::EAvkonDisableVKB); |
598 #endif |
600 #endif |
599 } |
601 } |
600 else |
602 else |
601 { |
603 { |
602 if ( iGotoPaneActive ) |
604 if ( !iGotoPaneActive ) |
603 { |
605 { |
604 iEditor->HandlePointerEventL(aPointerEvent); |
606 SetGotoPaneActiveL(); |
605 #ifdef BRDO_SINGLE_CLICK_ENABLED_FF |
607 } |
606 ActivateVKB(); |
608 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
607 #endif |
|
608 } |
|
609 else |
609 else |
610 { |
610 { |
611 SetGotoPaneActiveL(); |
611 #endif |
612 } |
612 iEditor->HandlePointerEventL(aPointerEvent); |
|
613 #ifndef BRDO_SINGLE_CLICK_ENABLED_FF |
|
614 } |
|
615 #endif |
|
616 |
613 #if defined(BRDO_SEARCH_INTEGRATION_FF) |
617 #if defined(BRDO_SEARCH_INTEGRATION_FF) |
614 iEditor->RemoveFlagFromUserFlags( CEikEdwin::EAvkonDisableVKB); |
618 iEditor->RemoveFlagFromUserFlags( CEikEdwin::EAvkonDisableVKB); |
615 #endif |
619 #endif |
616 } |
620 } |
617 } |
621 } |