OLD | NEW |
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 "content/browser/site_per_process_browsertest.h" | 5 #include "content/browser/site_per_process_browsertest.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/location.h" | 14 #include "base/location.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/strings/pattern.h" | 17 #include "base/strings/pattern.h" |
18 #include "base/strings/stringprintf.h" | 18 #include "base/strings/stringprintf.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "base/test/test_timeouts.h" | 20 #include "base/test/test_timeouts.h" |
21 #include "base/thread_task_runner_handle.h" | 21 #include "base/threading/thread_task_runner_handle.h" |
22 #include "build/build_config.h" | 22 #include "build/build_config.h" |
23 #include "content/browser/frame_host/cross_process_frame_connector.h" | 23 #include "content/browser/frame_host/cross_process_frame_connector.h" |
24 #include "content/browser/frame_host/frame_tree.h" | 24 #include "content/browser/frame_host/frame_tree.h" |
25 #include "content/browser/frame_host/interstitial_page_impl.h" | 25 #include "content/browser/frame_host/interstitial_page_impl.h" |
26 #include "content/browser/frame_host/navigator.h" | 26 #include "content/browser/frame_host/navigator.h" |
27 #include "content/browser/frame_host/render_frame_proxy_host.h" | 27 #include "content/browser/frame_host/render_frame_proxy_host.h" |
28 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" | 28 #include "content/browser/frame_host/render_widget_host_view_child_frame.h" |
29 #include "content/browser/gpu/compositor_util.h" | 29 #include "content/browser/gpu/compositor_util.h" |
30 #include "content/browser/loader/resource_dispatcher_host_impl.h" | 30 #include "content/browser/loader/resource_dispatcher_host_impl.h" |
31 #include "content/browser/renderer_host/input/synthetic_tap_gesture.h" | 31 #include "content/browser/renderer_host/input/synthetic_tap_gesture.h" |
(...skipping 6285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6317 EXPECT_TRUE(observer.WasUserInteractionReceived()); | 6317 EXPECT_TRUE(observer.WasUserInteractionReceived()); |
6318 | 6318 |
6319 // Target an event to the main frame. | 6319 // Target an event to the main frame. |
6320 observer.Reset(); | 6320 observer.Reset(); |
6321 SimulateMouseClick(root->current_frame_host()->GetRenderWidgetHost(), 1, 1); | 6321 SimulateMouseClick(root->current_frame_host()->GetRenderWidgetHost(), 1, 1); |
6322 | 6322 |
6323 EXPECT_TRUE(observer.WasUserInteractionReceived()); | 6323 EXPECT_TRUE(observer.WasUserInteractionReceived()); |
6324 } | 6324 } |
6325 | 6325 |
6326 } // namespace content | 6326 } // namespace content |
OLD | NEW |