| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | |
| 3 * | |
| 4 * Redistribution and use in source and binary forms, with or without | |
| 5 * modification, are permitted provided that the following conditions are | |
| 6 * met: | |
| 7 * | |
| 8 * * Redistributions of source code must retain the above copyright | |
| 9 * notice, this list of conditions and the following disclaimer. | |
| 10 * * Redistributions in binary form must reproduce the above | |
| 11 * copyright notice, this list of conditions and the following disclaimer | |
| 12 * in the documentation and/or other materials provided with the | |
| 13 * distribution. | |
| 14 * * Neither the name of Google Inc. nor the names of its | |
| 15 * contributors may be used to endorse or promote products derived from | |
| 16 * this software without specific prior written permission. | |
| 17 * | |
| 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 29 */ | |
| 30 | |
| 31 #include "config.h" | |
| 32 #include "public/web/WebAXObject.h" | |
| 33 | |
| 34 #include "public/platform/WebPoint.h" | |
| 35 #include "public/platform/WebRect.h" | |
| 36 #include "public/platform/WebString.h" | |
| 37 #include "public/platform/WebURL.h" | |
| 38 #include "public/web/WebDocument.h" | |
| 39 #include "public/web/WebNode.h" | |
| 40 | |
| 41 using namespace blink; | |
| 42 | |
| 43 namespace blink { | |
| 44 | |
| 45 void WebAXObject::reset() | |
| 46 { | |
| 47 } | |
| 48 | |
| 49 void WebAXObject::assign(const WebAXObject& other) | |
| 50 { | |
| 51 } | |
| 52 | |
| 53 bool WebAXObject::equals(const WebAXObject& n) const | |
| 54 { | |
| 55 return false; | |
| 56 } | |
| 57 | |
| 58 bool WebAXObject::isDetached() const | |
| 59 { | |
| 60 return true; | |
| 61 } | |
| 62 | |
| 63 int WebAXObject::axID() const | |
| 64 { | |
| 65 return -1; | |
| 66 } | |
| 67 | |
| 68 bool WebAXObject::updateLayoutAndCheckValidity() | |
| 69 { | |
| 70 return false; | |
| 71 } | |
| 72 | |
| 73 bool WebAXObject::updateBackingStoreAndCheckValidity() | |
| 74 { | |
| 75 return false; | |
| 76 } | |
| 77 | |
| 78 WebString WebAXObject::accessibilityDescription() const | |
| 79 { | |
| 80 return WebString(); | |
| 81 } | |
| 82 | |
| 83 WebString WebAXObject::actionVerb() const | |
| 84 { | |
| 85 return WebString(); | |
| 86 } | |
| 87 | |
| 88 bool WebAXObject::canDecrement() const | |
| 89 { | |
| 90 return false; | |
| 91 } | |
| 92 | |
| 93 bool WebAXObject::canIncrement() const | |
| 94 { | |
| 95 return false; | |
| 96 } | |
| 97 | |
| 98 bool WebAXObject::canPress() const | |
| 99 { | |
| 100 return false; | |
| 101 } | |
| 102 | |
| 103 bool WebAXObject::canSetFocusAttribute() const | |
| 104 { | |
| 105 return false; | |
| 106 } | |
| 107 | |
| 108 bool WebAXObject::canSetValueAttribute() const | |
| 109 { | |
| 110 return false; | |
| 111 } | |
| 112 | |
| 113 unsigned WebAXObject::childCount() const | |
| 114 { | |
| 115 return 0; | |
| 116 } | |
| 117 | |
| 118 WebAXObject WebAXObject::childAt(unsigned index) const | |
| 119 { | |
| 120 return WebAXObject(); | |
| 121 } | |
| 122 | |
| 123 WebAXObject WebAXObject::parentObject() const | |
| 124 { | |
| 125 return WebAXObject(); | |
| 126 } | |
| 127 | |
| 128 bool WebAXObject::canSetSelectedAttribute() const | |
| 129 { | |
| 130 return 0; | |
| 131 } | |
| 132 | |
| 133 bool WebAXObject::isAnchor() const | |
| 134 { | |
| 135 return 0; | |
| 136 } | |
| 137 | |
| 138 bool WebAXObject::isAriaReadOnly() const | |
| 139 { | |
| 140 return 0; | |
| 141 } | |
| 142 | |
| 143 bool WebAXObject::isButtonStateMixed() const | |
| 144 { | |
| 145 return 0; | |
| 146 } | |
| 147 | |
| 148 bool WebAXObject::isChecked() const | |
| 149 { | |
| 150 return 0; | |
| 151 } | |
| 152 | |
| 153 bool WebAXObject::isClickable() const | |
| 154 { | |
| 155 return 0; | |
| 156 } | |
| 157 | |
| 158 bool WebAXObject::isCollapsed() const | |
| 159 { | |
| 160 return 0; | |
| 161 } | |
| 162 | |
| 163 bool WebAXObject::isControl() const | |
| 164 { | |
| 165 return 0; | |
| 166 } | |
| 167 | |
| 168 bool WebAXObject::isEnabled() const | |
| 169 { | |
| 170 return 0; | |
| 171 } | |
| 172 | |
| 173 bool WebAXObject::isFocused() const | |
| 174 { | |
| 175 return 0; | |
| 176 } | |
| 177 | |
| 178 bool WebAXObject::isHovered() const | |
| 179 { | |
| 180 return 0; | |
| 181 } | |
| 182 | |
| 183 bool WebAXObject::isIndeterminate() const | |
| 184 { | |
| 185 return 0; | |
| 186 } | |
| 187 | |
| 188 bool WebAXObject::isLinked() const | |
| 189 { | |
| 190 return 0; | |
| 191 } | |
| 192 | |
| 193 bool WebAXObject::isLoaded() const | |
| 194 { | |
| 195 return 0; | |
| 196 } | |
| 197 | |
| 198 bool WebAXObject::isMultiSelectable() const | |
| 199 { | |
| 200 return 0; | |
| 201 } | |
| 202 | |
| 203 bool WebAXObject::isOffScreen() const | |
| 204 { | |
| 205 return 0; | |
| 206 } | |
| 207 | |
| 208 bool WebAXObject::isPasswordField() const | |
| 209 { | |
| 210 return 0; | |
| 211 } | |
| 212 | |
| 213 bool WebAXObject::isPressed() const | |
| 214 { | |
| 215 return 0; | |
| 216 } | |
| 217 | |
| 218 bool WebAXObject::isReadOnly() const | |
| 219 { | |
| 220 return 0; | |
| 221 } | |
| 222 | |
| 223 bool WebAXObject::isRequired() const | |
| 224 { | |
| 225 return 0; | |
| 226 } | |
| 227 | |
| 228 bool WebAXObject::isSelected() const | |
| 229 { | |
| 230 return 0; | |
| 231 } | |
| 232 | |
| 233 bool WebAXObject::isSelectedOptionActive() const | |
| 234 { | |
| 235 return false; | |
| 236 } | |
| 237 | |
| 238 bool WebAXObject::isVertical() const | |
| 239 { | |
| 240 return 0; | |
| 241 } | |
| 242 | |
| 243 bool WebAXObject::isVisible() const | |
| 244 { | |
| 245 return 0; | |
| 246 } | |
| 247 | |
| 248 bool WebAXObject::isVisited() const | |
| 249 { | |
| 250 return 0; | |
| 251 } | |
| 252 | |
| 253 WebString WebAXObject::accessKey() const | |
| 254 { | |
| 255 return WebString(); | |
| 256 } | |
| 257 | |
| 258 WebAXObject WebAXObject::ariaActiveDescendant() const | |
| 259 { | |
| 260 return WebAXObject(); | |
| 261 } | |
| 262 | |
| 263 bool WebAXObject::ariaControls(WebVector<WebAXObject>& controlsElements) const | |
| 264 { | |
| 265 return false; | |
| 266 } | |
| 267 | |
| 268 bool WebAXObject::ariaDescribedby(WebVector<WebAXObject>& describedbyElements) c
onst | |
| 269 { | |
| 270 return false; | |
| 271 } | |
| 272 | |
| 273 bool WebAXObject::ariaHasPopup() const | |
| 274 { | |
| 275 return 0; | |
| 276 } | |
| 277 | |
| 278 bool WebAXObject::ariaFlowTo(WebVector<WebAXObject>& flowToElements) const | |
| 279 { | |
| 280 return false; | |
| 281 } | |
| 282 | |
| 283 bool WebAXObject::ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) con
st | |
| 284 { | |
| 285 return false; | |
| 286 } | |
| 287 | |
| 288 bool WebAXObject::ariaLiveRegionAtomic() const | |
| 289 { | |
| 290 return 0; | |
| 291 } | |
| 292 | |
| 293 bool WebAXObject::ariaLiveRegionBusy() const | |
| 294 { | |
| 295 return 0; | |
| 296 } | |
| 297 | |
| 298 WebString WebAXObject::ariaLiveRegionRelevant() const | |
| 299 { | |
| 300 return WebString(); | |
| 301 } | |
| 302 | |
| 303 WebString WebAXObject::ariaLiveRegionStatus() const | |
| 304 { | |
| 305 return WebString(); | |
| 306 } | |
| 307 | |
| 308 bool WebAXObject::ariaOwns(WebVector<WebAXObject>& ownsElements) const | |
| 309 { | |
| 310 return false; | |
| 311 } | |
| 312 | |
| 313 WebRect WebAXObject::boundingBoxRect() const | |
| 314 { | |
| 315 return WebRect(); | |
| 316 } | |
| 317 | |
| 318 bool WebAXObject::canvasHasFallbackContent() const | |
| 319 { | |
| 320 return false; | |
| 321 } | |
| 322 | |
| 323 WebPoint WebAXObject::clickPoint() const | |
| 324 { | |
| 325 return WebPoint(); | |
| 326 } | |
| 327 | |
| 328 void WebAXObject::colorValue(int& r, int& g, int& b) const | |
| 329 { | |
| 330 } | |
| 331 | |
| 332 double WebAXObject::estimatedLoadingProgress() const | |
| 333 { | |
| 334 return 0.0; | |
| 335 } | |
| 336 | |
| 337 WebString WebAXObject::helpText() const | |
| 338 { | |
| 339 return WebString(); | |
| 340 } | |
| 341 | |
| 342 int WebAXObject::headingLevel() const | |
| 343 { | |
| 344 return 0; | |
| 345 } | |
| 346 | |
| 347 int WebAXObject::hierarchicalLevel() const | |
| 348 { | |
| 349 return 0; | |
| 350 } | |
| 351 | |
| 352 WebAXObject WebAXObject::hitTest(const WebPoint& point) const | |
| 353 { | |
| 354 return WebAXObject(); | |
| 355 } | |
| 356 | |
| 357 WebString WebAXObject::keyboardShortcut() const | |
| 358 { | |
| 359 return WebString(); | |
| 360 } | |
| 361 | |
| 362 bool WebAXObject::performDefaultAction() const | |
| 363 { | |
| 364 return false; | |
| 365 } | |
| 366 | |
| 367 bool WebAXObject::increment() const | |
| 368 { | |
| 369 return false; | |
| 370 } | |
| 371 | |
| 372 bool WebAXObject::decrement() const | |
| 373 { | |
| 374 return false; | |
| 375 } | |
| 376 | |
| 377 bool WebAXObject::press() const | |
| 378 { | |
| 379 return false; | |
| 380 } | |
| 381 | |
| 382 WebAXRole WebAXObject::role() const | |
| 383 { | |
| 384 return WebAXRoleUnknown; | |
| 385 } | |
| 386 | |
| 387 unsigned WebAXObject::selectionEnd() const | |
| 388 { | |
| 389 return 0; | |
| 390 } | |
| 391 | |
| 392 unsigned WebAXObject::selectionStart() const | |
| 393 { | |
| 394 return 0; | |
| 395 } | |
| 396 | |
| 397 unsigned WebAXObject::selectionEndLineNumber() const | |
| 398 { | |
| 399 return 0; | |
| 400 } | |
| 401 | |
| 402 unsigned WebAXObject::selectionStartLineNumber() const | |
| 403 { | |
| 404 return 0; | |
| 405 } | |
| 406 | |
| 407 void WebAXObject::setFocused(bool on) const | |
| 408 { | |
| 409 } | |
| 410 | |
| 411 void WebAXObject::setSelectedTextRange(int selectionStart, int selectionEnd) con
st | |
| 412 { | |
| 413 } | |
| 414 | |
| 415 WebString WebAXObject::stringValue() const | |
| 416 { | |
| 417 return WebString(); | |
| 418 } | |
| 419 | |
| 420 WebString WebAXObject::title() const | |
| 421 { | |
| 422 return WebString(); | |
| 423 } | |
| 424 | |
| 425 WebAXObject WebAXObject::titleUIElement() const | |
| 426 { | |
| 427 return WebAXObject(); | |
| 428 } | |
| 429 | |
| 430 WebURL WebAXObject::url() const | |
| 431 { | |
| 432 return WebURL(); | |
| 433 } | |
| 434 | |
| 435 bool WebAXObject::supportsRangeValue() const | |
| 436 { | |
| 437 return false; | |
| 438 } | |
| 439 | |
| 440 WebString WebAXObject::valueDescription() const | |
| 441 { | |
| 442 return WebString(); | |
| 443 } | |
| 444 | |
| 445 float WebAXObject::valueForRange() const | |
| 446 { | |
| 447 return 0.0; | |
| 448 } | |
| 449 | |
| 450 float WebAXObject::maxValueForRange() const | |
| 451 { | |
| 452 return 0.0; | |
| 453 } | |
| 454 | |
| 455 float WebAXObject::minValueForRange() const | |
| 456 { | |
| 457 return 0.0; | |
| 458 } | |
| 459 | |
| 460 WebNode WebAXObject::node() const | |
| 461 { | |
| 462 return WebNode(); | |
| 463 } | |
| 464 | |
| 465 WebDocument WebAXObject::document() const | |
| 466 { | |
| 467 return WebDocument(); | |
| 468 } | |
| 469 | |
| 470 bool WebAXObject::hasComputedStyle() const | |
| 471 { | |
| 472 return false; | |
| 473 } | |
| 474 | |
| 475 WebString WebAXObject::computedStyleDisplay() const | |
| 476 { | |
| 477 return WebString(); | |
| 478 } | |
| 479 | |
| 480 bool WebAXObject::accessibilityIsIgnored() const | |
| 481 { | |
| 482 return false; | |
| 483 } | |
| 484 | |
| 485 bool WebAXObject::lineBreaks(WebVector<int>& result) const | |
| 486 { | |
| 487 return false; | |
| 488 } | |
| 489 | |
| 490 unsigned WebAXObject::columnCount() const | |
| 491 { | |
| 492 return false; | |
| 493 } | |
| 494 | |
| 495 unsigned WebAXObject::rowCount() const | |
| 496 { | |
| 497 return false; | |
| 498 } | |
| 499 | |
| 500 WebAXObject WebAXObject::cellForColumnAndRow(unsigned column, unsigned row) cons
t | |
| 501 { | |
| 502 return WebAXObject(); | |
| 503 } | |
| 504 | |
| 505 WebAXObject WebAXObject::headerContainerObject() const | |
| 506 { | |
| 507 return WebAXObject(); | |
| 508 } | |
| 509 | |
| 510 WebAXObject WebAXObject::rowAtIndex(unsigned rowIndex) const | |
| 511 { | |
| 512 return WebAXObject(); | |
| 513 } | |
| 514 | |
| 515 WebAXObject WebAXObject::columnAtIndex(unsigned columnIndex) const | |
| 516 { | |
| 517 return WebAXObject(); | |
| 518 } | |
| 519 | |
| 520 unsigned WebAXObject::rowIndex() const | |
| 521 { | |
| 522 return 0; | |
| 523 } | |
| 524 | |
| 525 WebAXObject WebAXObject::rowHeader() const | |
| 526 { | |
| 527 return WebAXObject(); | |
| 528 } | |
| 529 | |
| 530 unsigned WebAXObject::columnIndex() const | |
| 531 { | |
| 532 return 0; | |
| 533 } | |
| 534 | |
| 535 WebAXObject WebAXObject::columnHeader() const | |
| 536 { | |
| 537 return WebAXObject(); | |
| 538 } | |
| 539 | |
| 540 unsigned WebAXObject::cellColumnIndex() const | |
| 541 { | |
| 542 return 0; | |
| 543 } | |
| 544 | |
| 545 unsigned WebAXObject::cellColumnSpan() const | |
| 546 { | |
| 547 return 0; | |
| 548 } | |
| 549 | |
| 550 unsigned WebAXObject::cellRowIndex() const | |
| 551 { | |
| 552 return 0; | |
| 553 } | |
| 554 | |
| 555 unsigned WebAXObject::cellRowSpan() const | |
| 556 { | |
| 557 return 0; | |
| 558 } | |
| 559 | |
| 560 WebAXTextDirection WebAXObject::textDirection() const | |
| 561 { | |
| 562 return WebAXTextDirectionLR; | |
| 563 } | |
| 564 | |
| 565 void WebAXObject::characterOffsets(WebVector<int>& offsets) const | |
| 566 { | |
| 567 } | |
| 568 | |
| 569 void WebAXObject::wordBoundaries(WebVector<int>& starts, WebVector<int>& ends) c
onst | |
| 570 { | |
| 571 } | |
| 572 | |
| 573 void WebAXObject::scrollToMakeVisible() const | |
| 574 { | |
| 575 } | |
| 576 | |
| 577 void WebAXObject::scrollToMakeVisibleWithSubFocus(const WebRect& subfocus) const | |
| 578 { | |
| 579 } | |
| 580 | |
| 581 void WebAXObject::scrollToGlobalPoint(const WebPoint& point) const | |
| 582 { | |
| 583 } | |
| 584 | |
| 585 } // namespace blink | |
| OLD | NEW |