OLD | NEW |
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 <queue> | 5 #include <queue> |
6 #include <set> | 6 #include <set> |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
11 #include "base/files/scoped_temp_dir.h" | 11 #include "base/files/scoped_temp_dir.h" |
12 #include "base/guid.h" | 12 #include "base/guid.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/path_service.h" | 15 #include "base/path_service.h" |
16 #include "base/process/process.h" | 16 #include "base/process/process.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/single_thread_task_runner.h" | 18 #include "base/single_thread_task_runner.h" |
19 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
20 #include "base/strings/stringprintf.h" | 20 #include "base/strings/stringprintf.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
22 #include "base/threading/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
23 #include "build/build_config.h" | 23 #include "build/build_config.h" |
24 #include "chrome/app/chrome_command_ids.h" | 24 #include "chrome/app/chrome_command_ids.h" |
25 #include "chrome/browser/apps/app_browsertest_util.h" | 25 #include "chrome/browser/apps/app_browsertest_util.h" |
26 #include "chrome/browser/chrome_content_browser_client.h" | 26 #include "chrome/browser/chrome_content_browser_client.h" |
| 27 #include "chrome/browser/chrome_notification_types.h" |
27 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" | 28 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" |
28 #include "chrome/browser/download/download_history.h" | 29 #include "chrome/browser/download/download_history.h" |
29 #include "chrome/browser/download/download_prefs.h" | 30 #include "chrome/browser/download/download_prefs.h" |
30 #include "chrome/browser/download/download_service.h" | 31 #include "chrome/browser/download/download_service.h" |
31 #include "chrome/browser/download/download_service_factory.h" | 32 #include "chrome/browser/download/download_service_factory.h" |
32 #include "chrome/browser/lifetime/application_lifetime.h" | 33 #include "chrome/browser/lifetime/application_lifetime.h" |
33 #include "chrome/browser/pdf/pdf_extension_test_util.h" | 34 #include "chrome/browser/pdf/pdf_extension_test_util.h" |
34 #include "chrome/browser/prerender/prerender_link_manager.h" | 35 #include "chrome/browser/prerender/prerender_link_manager.h" |
35 #include "chrome/browser/prerender/prerender_link_manager_factory.h" | 36 #include "chrome/browser/prerender/prerender_link_manager_factory.h" |
36 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
(...skipping 3809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3846 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); | 3847 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); |
3847 | 3848 |
3848 // Generate and send synthetic touch event. | 3849 // Generate and send synthetic touch event. |
3849 content::SimulateTouchPressAt(GetEmbedderWebContents(), | 3850 content::SimulateTouchPressAt(GetEmbedderWebContents(), |
3850 guest_rect.CenterPoint()); | 3851 guest_rect.CenterPoint()); |
3851 EXPECT_TRUE(aura_webview->HasFocus()); | 3852 EXPECT_TRUE(aura_webview->HasFocus()); |
3852 } | 3853 } |
3853 #endif | 3854 #endif |
3854 | 3855 |
3855 #endif // !defined(OS_MACOSX) | 3856 #endif // !defined(OS_MACOSX) |
OLD | NEW |