OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/browser/frame_host/render_frame_host_impl.h" | 9 #include "content/browser/frame_host/render_frame_host_impl.h" |
10 #include "content/browser/web_contents/web_contents_impl.h" | 10 #include "content/browser/web_contents/web_contents_impl.h" |
11 #include "content/public/browser/ax_event_notification_details.h" | 11 #include "content/public/browser/ax_event_notification_details.h" |
12 #include "content/public/test/browser_test_utils.h" | 12 #include "content/public/test/browser_test_utils.h" |
13 #include "content/public/test/content_browser_test.h" | 13 #include "content/public/test/content_browser_test.h" |
14 #include "content/public/test/content_browser_test_utils.h" | 14 #include "content/public/test/content_browser_test_utils.h" |
15 #include "content/shell/browser/shell.h" | 15 #include "content/shell/browser/shell.h" |
16 #include "content/test/accessibility_browser_test_utils.h" | 16 #include "content/test/accessibility_browser_test_utils.h" |
| 17 #include "ui/accessibility/ax_enums.h" |
17 #include "ui/accessibility/ax_node.h" | 18 #include "ui/accessibility/ax_node.h" |
18 #include "ui/accessibility/ax_tree.h" | 19 #include "ui/accessibility/ax_tree.h" |
19 | 20 |
20 namespace content { | 21 namespace content { |
21 | 22 |
22 class AccessibilityIpcErrorBrowserTest : public ContentBrowserTest { | 23 class AccessibilityIpcErrorBrowserTest : public ContentBrowserTest { |
23 public: | 24 public: |
24 AccessibilityIpcErrorBrowserTest() {} | 25 AccessibilityIpcErrorBrowserTest() {} |
25 | 26 |
26 protected: | 27 protected: |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // Wait for the renderer to be killed. | 192 // Wait for the renderer to be killed. |
192 if (frame->IsRenderFrameLive()) { | 193 if (frame->IsRenderFrameLive()) { |
193 RenderProcessHostWatcher render_process_watcher( | 194 RenderProcessHostWatcher render_process_watcher( |
194 frame->GetProcess(), RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); | 195 frame->GetProcess(), RenderProcessHostWatcher::WATCH_FOR_PROCESS_EXIT); |
195 render_process_watcher.Wait(); | 196 render_process_watcher.Wait(); |
196 } | 197 } |
197 ASSERT_FALSE(frame->IsRenderFrameLive()); | 198 ASSERT_FALSE(frame->IsRenderFrameLive()); |
198 } | 199 } |
199 | 200 |
200 } // namespace content | 201 } // namespace content |
OLD | NEW |