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

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

Issue 9390038: Move automation/ui_controls to ui/ui_controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_aura fix, sync Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "base/win/scoped_comptr.h" 10 #include "base/win/scoped_comptr.h"
11 #include "chrome/browser/automation/ui_controls.h"
12 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
13 #include "chrome/browser/ui/browser_window.h" 12 #include "chrome/browser/ui/browser_window.h"
14 #include "chrome/common/url_constants.h" 13 #include "chrome/common/url_constants.h"
15 #include "chrome/test/base/in_process_browser_test.h" 14 #include "chrome/test/base/in_process_browser_test.h"
16 #include "chrome/test/base/ui_test_utils.h" 15 #include "chrome/test/base/ui_test_utils.h"
17 #include "content/public/browser/notification_service.h" 16 #include "content/public/browser/notification_service.h"
18 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
19 #include "content/public/browser/render_view_host.h" 18 #include "content/public/browser/render_view_host.h"
20 #include "content/public/browser/render_widget_host_view.h" 19 #include "content/public/browser/render_widget_host_view.h"
21 #include "content/public/browser/web_contents.h" 20 #include "content/public/browser/web_contents.h"
22 #include "content/test/test_renderer_host.h" 21 #include "content/test/test_renderer_host.h"
23 #include "third_party/iaccessible2/ia2_api_all.h" 22 #include "third_party/iaccessible2/ia2_api_all.h"
24 #include "third_party/isimpledom/ISimpleDOMNode.h" 23 #include "third_party/isimpledom/ISimpleDOMNode.h"
24 #include "ui/ui_controls/ui_controls.h"
25 25
26 using content::OpenURLParams; 26 using content::OpenURLParams;
27 using content::Referrer; 27 using content::Referrer;
28 using std::auto_ptr; 28 using std::auto_ptr;
29 using std::vector; 29 using std::vector;
30 using std::wstring; 30 using std::wstring;
31 31
32 namespace { 32 namespace {
33 33
34 class AccessibilityWinBrowserTest : public InProcessBrowserTest { 34 class AccessibilityWinBrowserTest : public InProcessBrowserTest {
(...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 757
758 // Check the browser's copy of the renderer accessibility tree. 758 // Check the browser's copy of the renderer accessibility tree.
759 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L""); 759 AccessibleChecker grouping1_checker(L"", ROLE_SYSTEM_GROUPING, L"");
760 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L""); 760 AccessibleChecker grouping2_checker(L"", ROLE_SYSTEM_GROUPING, L"");
761 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L""); 761 AccessibleChecker document_checker(L"", ROLE_SYSTEM_DOCUMENT, L"");
762 document_checker.AppendExpectedChild(&grouping1_checker); 762 document_checker.AppendExpectedChild(&grouping1_checker);
763 document_checker.AppendExpectedChild(&grouping2_checker); 763 document_checker.AppendExpectedChild(&grouping2_checker);
764 document_checker.CheckAccessible(GetRendererAccessible()); 764 document_checker.CheckAccessible(GetRendererAccessible());
765 } 765 }
766 } // namespace. 766 } // namespace.
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | chrome/browser/automation/automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698