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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 namespace blink { | 44 namespace blink { |
45 | 45 |
46 class AXObject; | 46 class AXObject; |
47 class ScopedAXObjectCache; | 47 class ScopedAXObjectCache; |
48 class WebAXObject; | 48 class WebAXObject; |
49 class WebNode; | 49 class WebNode; |
50 class WebDocument; | 50 class WebDocument; |
51 class WebString; | 51 class WebString; |
52 class WebURL; | 52 class WebURL; |
53 class WebView; | |
54 struct WebFloatRect; | 53 struct WebFloatRect; |
55 struct WebPoint; | 54 struct WebPoint; |
56 struct WebRect; | 55 struct WebRect; |
57 struct WebSize; | 56 struct WebSize; |
58 | 57 |
59 class BLINK_EXPORT WebAXSparseAttributeClient { | 58 class BLINK_EXPORT WebAXSparseAttributeClient { |
60 public: | 59 public: |
61 WebAXSparseAttributeClient() {} | 60 WebAXSparseAttributeClient() {} |
62 virtual ~WebAXSparseAttributeClient() {} | 61 virtual ~WebAXSparseAttributeClient() {} |
63 | 62 |
(...skipping 24 matching lines...) Expand all Loading... |
88 ~WebAXObject() { Reset(); } | 87 ~WebAXObject() { Reset(); } |
89 | 88 |
90 WebAXObject() {} | 89 WebAXObject() {} |
91 WebAXObject(const WebAXObject& o) { Assign(o); } | 90 WebAXObject(const WebAXObject& o) { Assign(o); } |
92 WebAXObject& operator=(const WebAXObject& o) { | 91 WebAXObject& operator=(const WebAXObject& o) { |
93 Assign(o); | 92 Assign(o); |
94 return *this; | 93 return *this; |
95 } | 94 } |
96 | 95 |
97 BLINK_EXPORT static WebAXObject FromWebNode(const WebNode&); | 96 BLINK_EXPORT static WebAXObject FromWebNode(const WebNode&); |
98 BLINK_EXPORT static WebAXObject FromWebView(WebView&); | |
99 BLINK_EXPORT static WebAXObject FromWebDocument(const WebDocument&); | 97 BLINK_EXPORT static WebAXObject FromWebDocument(const WebDocument&); |
100 BLINK_EXPORT static WebAXObject FromWebDocumentByID(const WebDocument&, int); | 98 BLINK_EXPORT static WebAXObject FromWebDocumentByID(const WebDocument&, int); |
101 BLINK_EXPORT static WebAXObject FromWebDocumentFocused(const WebDocument&); | 99 BLINK_EXPORT static WebAXObject FromWebDocumentFocused(const WebDocument&); |
102 | 100 |
103 BLINK_EXPORT void Reset(); | 101 BLINK_EXPORT void Reset(); |
104 BLINK_EXPORT void Assign(const WebAXObject&); | 102 BLINK_EXPORT void Assign(const WebAXObject&); |
105 BLINK_EXPORT bool Equals(const WebAXObject&) const; | 103 BLINK_EXPORT bool Equals(const WebAXObject&) const; |
106 | 104 |
107 bool IsNull() const { return private_.IsNull(); } | 105 bool IsNull() const { return private_.IsNull(); } |
108 // isDetached also checks for null, so it's safe to just call isDetached. | 106 // isDetached also checks for null, so it's safe to just call isDetached. |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 operator AXObject*() const; | 362 operator AXObject*() const; |
365 #endif | 363 #endif |
366 | 364 |
367 private: | 365 private: |
368 WebPrivatePtr<AXObject> private_; | 366 WebPrivatePtr<AXObject> private_; |
369 }; | 367 }; |
370 | 368 |
371 } // namespace blink | 369 } // namespace blink |
372 | 370 |
373 #endif | 371 #endif |
OLD | NEW |