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

Side by Side Diff: ui/views/accessibility/native_view_accessibility_win_unittest.cc

Issue 2000403003: [forbots] IWYU for ax_enums.h Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <oleacc.h> 5 #include <oleacc.h>
6 6
7 #include "base/win/scoped_bstr.h" 7 #include "base/win/scoped_bstr.h"
8 #include "base/win/scoped_comptr.h" 8 #include "base/win/scoped_comptr.h"
9 #include "base/win/scoped_variant.h" 9 #include "base/win/scoped_variant.h"
10 #include "third_party/iaccessible2/ia2_api_all.h" 10 #include "third_party/iaccessible2/ia2_api_all.h"
11 #include "ui/accessibility/ax_enums.h"
11 #include "ui/views/accessibility/native_view_accessibility.h" 12 #include "ui/views/accessibility/native_view_accessibility.h"
12 #include "ui/views/controls/textfield/textfield.h" 13 #include "ui/views/controls/textfield/textfield.h"
13 #include "ui/views/test/views_test_base.h" 14 #include "ui/views/test/views_test_base.h"
14 15
15 using base::win::ScopedBstr; 16 using base::win::ScopedBstr;
16 using base::win::ScopedComPtr; 17 using base::win::ScopedComPtr;
17 using base::win::ScopedVariant; 18 using base::win::ScopedVariant;
18 19
19 namespace views { 20 namespace views {
20 namespace test { 21 namespace test {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 delete infobar; 204 delete infobar;
204 ASSERT_EQ(S_OK, root_view_accessible->get_relationTargetsOfType( 205 ASSERT_EQ(S_OK, root_view_accessible->get_relationTargetsOfType(
205 alerts_bstr, 0, &targets, &n_targets)); 206 alerts_bstr, 0, &targets, &n_targets));
206 ASSERT_EQ(1, n_targets); 207 ASSERT_EQ(1, n_targets);
207 ASSERT_TRUE(infobar2_accessible.IsSameObject(targets[0])); 208 ASSERT_TRUE(infobar2_accessible.IsSameObject(targets[0]));
208 CoTaskMemFree(targets); 209 CoTaskMemFree(targets);
209 } 210 }
210 211
211 } // namespace test 212 } // namespace test
212 } // namespace views 213 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/accessibility/native_view_accessibility_unittest.cc ('k') | ui/views/accessible_pane_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698