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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_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
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win.cc ('k') | ui/accessibility/tree_generator.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ui/accessibility/platform/ax_platform_node.h" 5 #include "ui/accessibility/platform/ax_platform_node.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlcom.h> 8 #include <atlcom.h>
9 #include <oleacc.h> 9 #include <oleacc.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/win/scoped_bstr.h" 13 #include "base/win/scoped_bstr.h"
14 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
15 #include "base/win/scoped_variant.h" 15 #include "base/win/scoped_variant.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "third_party/iaccessible2/ia2_api_all.h" 17 #include "third_party/iaccessible2/ia2_api_all.h"
18 #include "ui/accessibility/ax_enums.h"
18 #include "ui/accessibility/ax_node_data.h" 19 #include "ui/accessibility/ax_node_data.h"
19 #include "ui/accessibility/platform/test_ax_node_wrapper.h" 20 #include "ui/accessibility/platform/test_ax_node_wrapper.h"
20 #include "ui/base/win/atl_module.h" 21 #include "ui/base/win/atl_module.h"
21 22
22 using base::win::ScopedBstr; 23 using base::win::ScopedBstr;
23 using base::win::ScopedComPtr; 24 using base::win::ScopedComPtr;
24 using base::win::ScopedVariant; 25 using base::win::ScopedVariant;
25 26
26 namespace ui { 27 namespace ui {
27 28
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 ASSERT_EQ(E_FAIL, root_iaccessible2->get_indexInParent(&index)); 393 ASSERT_EQ(E_FAIL, root_iaccessible2->get_indexInParent(&index));
393 394
394 ASSERT_EQ(S_OK, left_iaccessible2->get_indexInParent(&index)); 395 ASSERT_EQ(S_OK, left_iaccessible2->get_indexInParent(&index));
395 EXPECT_EQ(0, index); 396 EXPECT_EQ(0, index);
396 397
397 ASSERT_EQ(S_OK, right_iaccessible2->get_indexInParent(&index)); 398 ASSERT_EQ(S_OK, right_iaccessible2->get_indexInParent(&index));
398 EXPECT_EQ(1, index); 399 EXPECT_EQ(1, index);
399 } 400 }
400 401
401 } // namespace ui 402 } // namespace ui
OLDNEW
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_win.cc ('k') | ui/accessibility/tree_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698