Changeset 35904 in webkit
- Timestamp:
- Aug 24, 2008 5:59:03 AM (16 years ago)
- Location:
- trunk/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/win/AccessibleBase.cpp
r35887 r35904 350 350 return S_FALSE; 351 351 352 // Only return the focused child if it's us or a child of us. Otherwise,353 // report VT_EMPTY.354 352 if (focusedObj == m_object) { 355 353 V_VT(pvFocusedChild) = VT_I4; 356 354 V_I4(pvFocusedChild) = CHILDID_SELF; 357 } else if (focusedObj->parentObject() == m_object) {358 V_VT(pvFocusedChild) = VT_DISPATCH;359 V_DISPATCH(pvFocusedChild) = wrapper(focusedObj); 360 V_DISPATCH(pvFocusedChild)->AddRef();361 }362 355 return S_OK; 356 } 357 358 V_VT(pvFocusedChild) = VT_DISPATCH; 359 V_DISPATCH(pvFocusedChild) = wrapper(focusedObj); 360 V_DISPATCH(pvFocusedChild)->AddRef(); 363 361 return S_OK; 364 362 } -
trunk/WebKit/win/ChangeLog
r35897 r35904 1 2008-08-24 Jon Honeycutt <jhoneycutt@apple.com> 2 3 Cannot get the focused accessible object from the root object. 4 5 AccessibleBase::get_AccFocus() checks whether the focused object is a 6 child of the current object, but 7 http://msdn.microsoft.com/en-us/library/ms696150(VS.85).aspx states that 8 the result is the object itself, if it has focus, or a child object of 9 the active window, not a child of the object. 10 11 Reviewed by Sam Weinig. 12 13 * AccessibleBase.cpp: 14 (AccessibleBase::get_accFocus): Don't check whether the focused object 15 is our child. 16 1 17 2008-08-18 Jon Honeycutt <jhoneycutt@apple.com> 2 18
Note: See TracChangeset
for help on using the changeset viewer.