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

Side by Side Diff: ui/views/accessibility/native_view_accessibility_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "base/strings/utf_string_conversions.h" 5 #include "base/strings/utf_string_conversions.h"
6 #include "ui/accessibility/ax_enums.h"
6 #include "ui/accessibility/ax_view_state.h" 7 #include "ui/accessibility/ax_view_state.h"
7 #include "ui/views/accessibility/native_view_accessibility.h" 8 #include "ui/views/accessibility/native_view_accessibility.h"
8 #include "ui/views/controls/button/button.h" 9 #include "ui/views/controls/button/button.h"
9 #include "ui/views/controls/label.h" 10 #include "ui/views/controls/label.h"
10 #include "ui/views/test/views_test_base.h" 11 #include "ui/views/test/views_test_base.h"
11 12
12 namespace views { 13 namespace views {
13 namespace test { 14 namespace test {
14 15
15 class NativeViewAccessibilityTest; 16 class NativeViewAccessibilityTest;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // WidgetObserver. Note that TestNativeViewAccessibility is a subclass 105 // WidgetObserver. Note that TestNativeViewAccessibility is a subclass
105 // defined above that destroys itself when its parent widget is destroyed. 106 // defined above that destroys itself when its parent widget is destroyed.
106 TestNativeViewAccessibility* child_accessible = 107 TestNativeViewAccessibility* child_accessible =
107 new TestNativeViewAccessibility(child_widget->GetRootView()); 108 new TestNativeViewAccessibility(child_widget->GetRootView());
108 child_accessible->SetParentWidget(parent_widget.get()); 109 child_accessible->SetParentWidget(parent_widget.get());
109 parent_widget.reset(); 110 parent_widget.reset();
110 } 111 }
111 112
112 } // namespace test 113 } // namespace test
113 } // namespace views 114 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/accessibility/native_view_accessibility.cc ('k') | ui/views/accessibility/native_view_accessibility_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698