| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 WebRect WebAXObject::boundingBoxRect() const | 629 WebRect WebAXObject::boundingBoxRect() const |
| 630 { | 630 { |
| 631 if (isDetached()) | 631 if (isDetached()) |
| 632 return WebRect(); | 632 return WebRect(); |
| 633 | 633 |
| 634 ASSERT(isLayoutClean(m_private->getDocument())); | 634 ASSERT(isLayoutClean(m_private->getDocument())); |
| 635 | 635 |
| 636 return pixelSnappedIntRect(m_private->elementRect()); | 636 return pixelSnappedIntRect(m_private->elementRect()); |
| 637 } | 637 } |
| 638 | 638 |
| 639 WebString WebAXObject::fontFamily() const |
| 640 { |
| 641 if (isDetached()) |
| 642 return WebString(); |
| 643 |
| 644 return m_private->fontFamily(); |
| 645 } |
| 646 |
| 639 float WebAXObject::fontSize() const | 647 float WebAXObject::fontSize() const |
| 640 { | 648 { |
| 641 if (isDetached()) | 649 if (isDetached()) |
| 642 return 0.0f; | 650 return 0.0f; |
| 643 | 651 |
| 644 return m_private->fontSize(); | 652 return m_private->fontSize(); |
| 645 } | 653 } |
| 646 | 654 |
| 647 bool WebAXObject::canvasHasFallbackContent() const | 655 bool WebAXObject::canvasHasFallbackContent() const |
| 648 { | 656 { |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1508 m_private = object; | 1516 m_private = object; |
| 1509 return *this; | 1517 return *this; |
| 1510 } | 1518 } |
| 1511 | 1519 |
| 1512 WebAXObject::operator AXObject*() const | 1520 WebAXObject::operator AXObject*() const |
| 1513 { | 1521 { |
| 1514 return m_private.get(); | 1522 return m_private.get(); |
| 1515 } | 1523 } |
| 1516 | 1524 |
| 1517 } // namespace blink | 1525 } // namespace blink |
| OLD | NEW |