Changeset 35886 in webkit
- Timestamp:
- Aug 21, 2008 7:20:08 PM (16 years ago)
- Location:
- trunk/WebKit/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/win/AccessibleBase.cpp
r35460 r35886 228 228 pvState->lVal = 0; 229 229 230 if ( m_object->isAnchor())230 if (childObj->isAnchor()) 231 231 pvState->lVal |= STATE_SYSTEM_LINKED; 232 232 233 if ( m_object->isHovered())233 if (childObj->isHovered()) 234 234 pvState->lVal |= STATE_SYSTEM_HOTTRACKED; 235 235 236 if (! m_object->isEnabled())236 if (!childObj->isEnabled()) 237 237 pvState->lVal |= STATE_SYSTEM_UNAVAILABLE; 238 238 239 if ( m_object->isReadOnly())239 if (childObj->isReadOnly()) 240 240 pvState->lVal |= STATE_SYSTEM_READONLY; 241 241 242 if ( m_object->isOffScreen())242 if (childObj->isOffScreen()) 243 243 pvState->lVal |= STATE_SYSTEM_OFFSCREEN; 244 244 245 if ( m_object->isMultiSelect())245 if (childObj->isMultiSelect()) 246 246 pvState->lVal |= STATE_SYSTEM_MULTISELECTABLE; 247 247 248 if ( m_object->isPasswordField())248 if (childObj->isPasswordField()) 249 249 pvState->lVal |= STATE_SYSTEM_PROTECTED; 250 250 251 if ( m_object->isIndeterminate())251 if (childObj->isIndeterminate()) 252 252 pvState->lVal |= STATE_SYSTEM_INDETERMINATE; 253 253 254 if ( m_object->isChecked())254 if (childObj->isChecked()) 255 255 pvState->lVal |= STATE_SYSTEM_CHECKED; 256 256 257 if ( m_object->isPressed())257 if (childObj->isPressed()) 258 258 pvState->lVal |= STATE_SYSTEM_PRESSED; 259 259 260 if ( m_object->isFocused())260 if (childObj->isFocused()) 261 261 pvState->lVal |= STATE_SYSTEM_FOCUSED; 262 262 263 if ( m_object->isVisited())263 if (childObj->isVisited()) 264 264 pvState->lVal |= STATE_SYSTEM_TRAVERSED; 265 265 266 if ( m_object->canSetFocusAttribute())266 if (childObj->canSetFocusAttribute()) 267 267 pvState->lVal |= STATE_SYSTEM_FOCUSABLE; 268 268 … … 368 368 if (!action) 369 369 return E_POINTER; 370 371 *action = 0; 370 372 371 373 AccessibilityObject* childObj; -
trunk/WebKit/win/ChangeLog
r35858 r35886 1 2008-08-21 Jonas Klink <klinktech@gmail.com> 2 3 Reviewed by Jon Honeycutt. 4 5 Fix http://bugs.webkit.org/show_bug.cgi?id=20230 6 Bug 20230: get_accState should be testing state on childObj 7 8 Also initializes output parameter action to 0 in get_accDefaultAction. 9 10 * AccessibleBase.cpp: 11 (AccessibleBase::get_accState): 12 (AccessibleBase::get_accDefaultAction): 13 1 14 2008-08-20 Maxime Britto <britto@apple.com> 2 15
Note: See TracChangeset
for help on using the changeset viewer.