Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: content/browser/accessibility/accessibility_win_browsertest.cc

Issue 12389028: Rename DumpAccesibilityTreeHelper to AccessibilityTreeFormatter, pull into content/browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add USE_AURA to conditions for stub implementations of AccessibilityTreeFormatter methods" Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <atlbase.h> 5 #include <atlbase.h>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
12 #include "content/browser/accessibility/accessibility_tree_formatter_utils_win.h "
12 #include "content/browser/renderer_host/render_view_host_impl.h" 13 #include "content/browser/renderer_host/render_view_host_impl.h"
13 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
14 #include "content/public/browser/notification_types.h" 15 #include "content/public/browser/notification_types.h"
15 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
16 #include "content/public/browser/render_widget_host_view.h" 17 #include "content/public/browser/render_widget_host_view.h"
17 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
18 #include "content/public/common/url_constants.h" 19 #include "content/public/common/url_constants.h"
19 #include "content/public/test/accessibility_test_utils_win.h"
20 #include "content/public/test/test_utils.h" 20 #include "content/public/test/test_utils.h"
21 #include "content/shell/shell.h" 21 #include "content/shell/shell.h"
22 #include "content/test/content_browser_test.h" 22 #include "content/test/content_browser_test.h"
23 #include "content/test/content_browser_test_utils.h" 23 #include "content/test/content_browser_test_utils.h"
24 #include "third_party/iaccessible2/ia2_api_all.h" 24 #include "third_party/iaccessible2/ia2_api_all.h"
25 #include "third_party/isimpledom/ISimpleDOMNode.h" 25 #include "third_party/isimpledom/ISimpleDOMNode.h"
26 26
27 using std::auto_ptr; 27 using std::auto_ptr;
28 using std::string; 28 using std::string;
29 using std::vector; 29 using std::vector;
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L""); 850 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L"");
851 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L""); 851 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L"");
852 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L""); 852 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L"");
853 document_checker.AppendExpectedChild(&grouping1_checker); 853 document_checker.AppendExpectedChild(&grouping1_checker);
854 document_checker.AppendExpectedChild(&grouping2_checker); 854 document_checker.AppendExpectedChild(&grouping2_checker);
855 document_checker.CheckAccessible(GetRendererAccessible()); 855 document_checker.CheckAccessible(GetRendererAccessible());
856 } 856 }
857 } // namespace. 857 } // namespace.
858 858
859 } // namespace content 859 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698