OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #include "WebAXObjectProxy.h" | 31 #include "WebAXObjectProxy.h" |
32 | 32 |
33 #include "TestCommon.h" | 33 #include "TestCommon.h" |
34 #include "public/platform/WebCString.h" | 34 #include "public/platform/WebCString.h" |
35 #include "public/platform/WebPoint.h" | 35 #include "public/platform/WebPoint.h" |
36 #include "public/platform/WebRect.h" | 36 #include "public/platform/WebRect.h" |
37 #include "public/platform/WebString.h" | 37 #include "public/platform/WebString.h" |
38 #include "public/web/WebAXObject.h" | |
39 | 38 |
40 using namespace blink; | 39 using namespace blink; |
41 using namespace std; | 40 using namespace std; |
42 | 41 |
43 namespace WebTestRunner { | 42 namespace WebTestRunner { |
44 | 43 |
45 namespace { | 44 namespace { |
46 | 45 |
47 // Map role value to string, matching Safari/Mac platform implementation to | 46 // Map role value to string, matching Safari/Mac platform implementation to |
48 // avoid rebaselining layout tests. | 47 // avoid rebaselining layout tests. |
(...skipping 1130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 } | 1178 } |
1180 | 1179 |
1181 WebAXObjectProxy* WebAXObjectProxyList::createRoot(const WebAXObject& object) | 1180 WebAXObjectProxy* WebAXObjectProxyList::createRoot(const WebAXObject& object) |
1182 { | 1181 { |
1183 WebAXObjectProxy* element = new RootWebAXObjectProxy(object, this); | 1182 WebAXObjectProxy* element = new RootWebAXObjectProxy(object, this); |
1184 m_elements.push_back(element); | 1183 m_elements.push_back(element); |
1185 return element; | 1184 return element; |
1186 } | 1185 } |
1187 | 1186 |
1188 } | 1187 } |
OLD | NEW |