| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 BLINK_EXPORT void characterOffsets(WebVector<int>&) const; | 221 BLINK_EXPORT void characterOffsets(WebVector<int>&) const; |
| 222 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end
s) const; | 222 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end
s) const; |
| 223 | 223 |
| 224 // Make this object visible by scrolling as many nested scrollable views as
needed. | 224 // Make this object visible by scrolling as many nested scrollable views as
needed. |
| 225 BLINK_EXPORT void scrollToMakeVisible() const; | 225 BLINK_EXPORT void scrollToMakeVisible() const; |
| 226 // Same, but if the whole object can't be made visible, try for this subrect
, in local coordinates. | 226 // Same, but if the whole object can't be made visible, try for this subrect
, in local coordinates. |
| 227 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; | 227 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; |
| 228 // Scroll this object to a given point in global coordinates of the top-leve
l window. | 228 // Scroll this object to a given point in global coordinates of the top-leve
l window. |
| 229 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; | 229 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; |
| 230 | 230 |
| 231 // Check if a given list of roles includes an ARIA widget. |
| 232 BLINK_EXPORT static bool includesARIAWidgetRole(const WebString& role); |
| 233 |
| 231 #if BLINK_IMPLEMENTATION | 234 #if BLINK_IMPLEMENTATION |
| 232 WebAXObject(const WTF::PassRefPtr<AXObject>&); | 235 WebAXObject(const WTF::PassRefPtr<AXObject>&); |
| 233 WebAXObject& operator=(const WTF::PassRefPtr<AXObject>&); | 236 WebAXObject& operator=(const WTF::PassRefPtr<AXObject>&); |
| 234 operator WTF::PassRefPtr<AXObject>() const; | 237 operator WTF::PassRefPtr<AXObject>() const; |
| 235 #endif | 238 #endif |
| 236 | 239 |
| 237 private: | 240 private: |
| 238 WebPrivatePtr<AXObject> m_private; | 241 WebPrivatePtr<AXObject> m_private; |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 } // namespace blink | 244 } // namespace blink |
| 242 | 245 |
| 243 #endif | 246 #endif |
| OLD | NEW |