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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 m_private.reset(); | 62 m_private.reset(); |
63 } | 63 } |
64 | 64 |
65 void WebAccessibilityObject::assign(const WebKit::WebAccessibilityObject& other) | 65 void WebAccessibilityObject::assign(const WebKit::WebAccessibilityObject& other) |
66 { | 66 { |
67 m_private = other.m_private; | 67 m_private = other.m_private; |
68 } | 68 } |
69 | 69 |
70 bool WebAccessibilityObject::equals(const WebAccessibilityObject& n) const | 70 bool WebAccessibilityObject::equals(const WebAccessibilityObject& n) const |
71 { | 71 { |
72 return (m_private.get() == n.m_private.get()); | 72 return m_private.get() == n.m_private.get(); |
73 } | 73 } |
74 | 74 |
75 // static | 75 // static |
76 void WebAccessibilityObject::enableAccessibility() | 76 void WebAccessibilityObject::enableAccessibility() |
77 { | 77 { |
78 AXObjectCache::enableAccessibility(); | 78 AXObjectCache::enableAccessibility(); |
79 } | 79 } |
80 | 80 |
81 // static | 81 // static |
82 bool WebAccessibilityObject::accessibilityEnabled() | 82 bool WebAccessibilityObject::accessibilityEnabled() |
(...skipping 929 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 |