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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebPrivatePtr.h" | 35 #include "../platform/WebPrivatePtr.h" |
36 #include "../platform/WebVector.h" | 36 #include "../platform/WebVector.h" |
37 #include "WebAXEnums.h" | 37 #include "WebAXEnums.h" |
38 | 38 |
39 #if BLINK_IMPLEMENTATION | 39 #if BLINK_IMPLEMENTATION |
40 namespace WTF { template <typename T> class PassRefPtr; } | 40 namespace WTF { template <typename T> class PassRefPtr; } |
41 #endif | 41 #endif |
42 | 42 |
43 namespace WebCore { class AXObject; } | 43 namespace blink { class AXObject; } |
44 | 44 |
45 namespace blink { | 45 namespace blink { |
46 | 46 |
47 class WebNode; | 47 class WebNode; |
48 class WebDocument; | 48 class WebDocument; |
49 class WebString; | 49 class WebString; |
50 class WebURL; | 50 class WebURL; |
51 struct WebPoint; | 51 struct WebPoint; |
52 struct WebRect; | 52 struct WebRect; |
53 | 53 |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end
s) const; | 210 BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& end
s) const; |
211 | 211 |
212 // Make this object visible by scrolling as many nested scrollable views as
needed. | 212 // Make this object visible by scrolling as many nested scrollable views as
needed. |
213 BLINK_EXPORT void scrollToMakeVisible() const; | 213 BLINK_EXPORT void scrollToMakeVisible() const; |
214 // Same, but if the whole object can't be made visible, try for this subrect
, in local coordinates. | 214 // Same, but if the whole object can't be made visible, try for this subrect
, in local coordinates. |
215 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; | 215 BLINK_EXPORT void scrollToMakeVisibleWithSubFocus(const WebRect&) const; |
216 // Scroll this object to a given point in global coordinates of the top-leve
l window. | 216 // Scroll this object to a given point in global coordinates of the top-leve
l window. |
217 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; | 217 BLINK_EXPORT void scrollToGlobalPoint(const WebPoint&) const; |
218 | 218 |
219 #if BLINK_IMPLEMENTATION | 219 #if BLINK_IMPLEMENTATION |
220 WebAXObject(const WTF::PassRefPtr<WebCore::AXObject>&); | 220 WebAXObject(const WTF::PassRefPtr<blink::AXObject>&); |
221 WebAXObject& operator=(const WTF::PassRefPtr<WebCore::AXObject>&); | 221 WebAXObject& operator=(const WTF::PassRefPtr<blink::AXObject>&); |
222 operator WTF::PassRefPtr<WebCore::AXObject>() const; | 222 operator WTF::PassRefPtr<blink::AXObject>() const; |
223 #endif | 223 #endif |
224 | 224 |
225 private: | 225 private: |
226 WebPrivatePtr<WebCore::AXObject> m_private; | 226 WebPrivatePtr<blink::AXObject> m_private; |
227 }; | 227 }; |
228 | 228 |
229 } // namespace blink | 229 } // namespace blink |
230 | 230 |
231 #endif | 231 #endif |
OLD | NEW |