OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/api/public/WebAccessibilityObject.h" | 5 #include "third_party/WebKit/WebKit/chromium/public/WebAccessibilityObject.h" |
6 #include "webkit/api/public/WebCString.h" | 6 #include "third_party/WebKit/WebKit/chromium/public/WebCString.h" |
7 #include "webkit/api/public/WebString.h" | 7 #include "third_party/WebKit/WebKit/chromium/public/WebString.h" |
8 #include "webkit/glue/glue_util.h" | 8 #include "webkit/glue/glue_util.h" |
9 #include "webkit/tools/test_shell/accessibility_ui_element.h" | 9 #include "webkit/tools/test_shell/accessibility_ui_element.h" |
10 | 10 |
11 using WebKit::WebCString; | 11 using WebKit::WebCString; |
12 using WebKit::WebString; | 12 using WebKit::WebString; |
13 using WebKit::WebAccessibilityObject; | 13 using WebKit::WebAccessibilityObject; |
14 using WebKit::WebAccessibilityRole; | 14 using WebKit::WebAccessibilityRole; |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 return element; | 497 return element; |
498 } | 498 } |
499 | 499 |
500 AccessibilityUIElement* AccessibilityUIElementList::CreateRoot( | 500 AccessibilityUIElement* AccessibilityUIElementList::CreateRoot( |
501 const WebAccessibilityObject& object) { | 501 const WebAccessibilityObject& object) { |
502 AccessibilityUIElement* element = | 502 AccessibilityUIElement* element = |
503 new RootAccessibilityUIElement(object, this); | 503 new RootAccessibilityUIElement(object, this); |
504 elements_.push_back(element); | 504 elements_.push_back(element); |
505 return element; | 505 return element; |
506 } | 506 } |
OLD | NEW |