Changeset 21189 in webkit
- Timestamp:
- Apr 30, 2007 7:35:30 AM (17 years ago)
- Location:
- S60/trunk/WebKit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
S60/trunk/WebKit/BrowserCore/Formcontrols/inc/FControlInputSkin.h
r18812 r21189 108 108 virtual void HandlePointerEventL( const TPointerEvent& aPointerEvent ) = 0; 109 109 110 /** 111 * This function is called when the user navigate left/right out the widget (some languages pops up a list) 112 */ 113 virtual TBool SelectedLanguage() = 0; 114 110 115 }; 111 116 … … 470 475 */ 471 476 void SetDisabled(TBool aDisabled) { iDisabled = aDisabled; } 477 478 /** 479 * Returns the selected language 480 * @since 3.1 481 * @return TBool 482 */ 483 TBool SelectedLanguage(); 472 484 473 485 public: -
S60/trunk/WebKit/BrowserCore/Formcontrols/src/FControlInputSkin.cpp
r19406 r21189 727 727 728 728 //----------------------------------------------------------------------------- 729 // CFormInputSkin::SelectedLanguage() - check for selected input language 730 //----------------------------------------------------------------------------- 731 TBool CFormInputSkin::SelectedLanguage() 732 { 733 TBool selected = ETrue; 734 CAknSettingCache& cache = CAknEnv::Static()->SettingCache(); 735 TLanguage lang = cache.InputLanguage(); 736 if(lang == ELangPrcChinese || lang == ELangHongKongChinese || lang == ELangTaiwanChinese) 737 selected = EFalse; 738 return selected; 739 } 729 740 // CFormInputSkin::Activate- activates the control 730 741 //----------------------------------------------------------------------------- -
S60/trunk/WebKit/BrowserCore/Formcontrols/src/FControlInputWidget.cpp
r19424 r21189 560 560 iLastCurPos == iEditor->ReadableTextL()->Length()) || 561 561 (aKeyEvent.iScanCode == EStdKeyLeftArrow && CurPos() == iEditor->ReadableTextL()->Length() && 562 iLastCurPos == 0)) )562 iLastCurPos == 0)) && iListener->SelectedLanguage()) 563 563 { 564 564 SetWebKitCursorPosition(aKeyEvent); -
S60/trunk/WebKit/ChangeLog
r21150 r21189 1 raalexan, reviewed by Yongjun 2 DESC: can't do the chinese keyword searching on the brower 3 http://bugs.webkit.org/show_bug.cgi?id=13418 4 TSW ID: RLEA-6ZFCBF 5 6 * BrowserCore/Formcontrols/inc/FControlInputSkin.h: 7 * BrowserCore/Formcontrols/src/FControlInputSkin.cpp: 8 (CFormInputSkin::SelectedLanguage): 9 * BrowserCore/Formcontrols/src/FControlInputWidget.cpp: 10 (CControlInputWidget::OfferKeyEventL): 11 1 12 rathnasa, reviewed by zbujtas 2 13 DESC: Widget Menu API
Note: See TracChangeset
for help on using the changeset viewer.