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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 if (!m_private->exposesTitleUIElement()) | 677 if (!m_private->exposesTitleUIElement()) |
678 return WebAccessibilityObject(); | 678 return WebAccessibilityObject(); |
679 | 679 |
680 return WebAccessibilityObject(m_private->titleUIElement()); | 680 return WebAccessibilityObject(m_private->titleUIElement()); |
681 } | 681 } |
682 | 682 |
683 WebURL WebAccessibilityObject::url() const | 683 WebURL WebAccessibilityObject::url() const |
684 { | 684 { |
685 if (isDetached()) | 685 if (isDetached()) |
686 return WebURL(); | 686 return WebURL(); |
687 | 687 |
688 return m_private->url(); | 688 return m_private->url(); |
689 } | 689 } |
690 | 690 |
691 bool WebAccessibilityObject::supportsRangeValue() const | 691 bool WebAccessibilityObject::supportsRangeValue() const |
692 { | 692 { |
693 if (isDetached()) | 693 if (isDetached()) |
694 return false; | 694 return false; |
695 | 695 |
696 return m_private->supportsRangeValue(); | 696 return m_private->supportsRangeValue(); |
697 } | 697 } |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 m_private = object; | 1012 m_private = object; |
1013 return *this; | 1013 return *this; |
1014 } | 1014 } |
1015 | 1015 |
1016 WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>()
const | 1016 WebAccessibilityObject::operator WTF::PassRefPtr<WebCore::AccessibilityObject>()
const |
1017 { | 1017 { |
1018 return m_private.get(); | 1018 return m_private.get(); |
1019 } | 1019 } |
1020 | 1020 |
1021 } // namespace WebKit | 1021 } // namespace WebKit |
OLD | NEW |