Changeset 24853 in webkit
- Timestamp:
- Aug 3, 2007 2:21:03 PM (17 years ago)
- Location:
- S60/trunk/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
S60/trunk/WebKit/BrowserView/src/KeyEventHandler.cpp
r21382 r24853 188 188 if (iWebKitView->TabbedNavigation() && !iWebKitView->WebKitControl().InPageViewMode() && focused) 189 189 { 190 // send keyevent to the webcore 191 focused->WebKitBridge().WebCoreBridge().KeyEvent(iLastEventKey,EFalse); 190 // send keyevent to the webcore & if webcore has consumed the event then there is no need to 191 // apply our navigation mechanism, hence return 192 if (focused->WebKitBridge().WebCoreBridge().KeyEvent(iLastEventKey,EFalse)) 193 { 194 return EKeyWasConsumed; 195 } 192 196 } 193 197 keyResponse = HandleArrowKeysL(aKeyEvent); … … 204 208 */ 205 209 if( iElType == TBrCtlDefs::EElementNone 210 && !iWebKitView->TabbedNavigation() 206 211 && iWebKitView->FocusedElementType() == TBrCtlDefs::EElementNone 207 212 && aKeyEvent.iRepeats … … 209 214 && iWebKitView->WebKitControl().BrCtl().Capabilities() & TBrCtlDefs::ECapabilityToolBar 210 215 && !iJoystickTimer->IsActive() 211 && !iWebKitView->WebKitControl().InPageViewMode() 216 && !iWebKitView->WebKitControl().InPageViewMode() 212 217 ) 213 218 { … … 232 237 f->WebKitBridge().WebCoreBridge().PointerEvent(event); 233 238 return EKeyWasConsumed; 239 } 240 241 CWebKitFrame* focused = iWebKitView->MainFrame().FocusedFrame(); 242 if (iWebKitView->TabbedNavigation() && !iWebKitView->WebKitControl().InPageViewMode() && focused) 243 { 244 // send keyevent to the webcore & if webcore has consumed the event then set keyResponse 245 if (focused->WebKitBridge().WebCoreBridge().KeyEvent(iLastEventKey,EFalse)) 246 { 247 return EKeyWasConsumed; 248 } 234 249 } 235 250 // fake key event down -
S60/trunk/WebKit/ChangeLog
r24852 r24853 1 yadavall, reviewed by <sachin.padma@nokia.com> 2 DESC: Center key press must be sent to Engine 3 http://bugs.webkit.org/show_bug.cgi?id=14593 4 5 * BrowserView/src/KeyEventHandler.cpp: 6 (CKeyEventHandler::HandleOfferKeyEventL): 7 1 8 lebril, reviewed by Sachin 2 9 DESC: ELFN-7535HR: Operator manu: Both time stamps in Link-1 and Link-2 are same when opening link is in Expires Date header 1A iteam
Note: See TracChangeset
for help on using the changeset viewer.