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" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #include "content/public/common/webplugininfo.h" | 91 #include "content/public/common/webplugininfo.h" |
92 #include "content/public/test/ppapi_test_utils.h" | 92 #include "content/public/test/ppapi_test_utils.h" |
93 #endif | 93 #endif |
94 | 94 |
95 #if defined(OS_CHROMEOS) | 95 #if defined(OS_CHROMEOS) |
96 #include "ash/common/accessibility_types.h" | 96 #include "ash/common/accessibility_types.h" |
97 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 97 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
98 #include "chrome/browser/chromeos/accessibility/speech_monitor.h" | 98 #include "chrome/browser/chromeos/accessibility/speech_monitor.h" |
99 #endif | 99 #endif |
100 | 100 |
| 101 // Turn these tests off on Mac while we collect data on windows server crashes |
| 102 // on mac chromium builders. https://crbug.com/653353 |
| 103 #if !defined(OS_MACOSX) |
| 104 |
101 using extensions::ContextMenuMatcher; | 105 using extensions::ContextMenuMatcher; |
102 using extensions::ExtensionsAPIClient; | 106 using extensions::ExtensionsAPIClient; |
103 using extensions::MenuItem; | 107 using extensions::MenuItem; |
104 using guest_view::GuestViewManager; | 108 using guest_view::GuestViewManager; |
105 using guest_view::TestGuestViewManager; | 109 using guest_view::TestGuestViewManager; |
106 using guest_view::TestGuestViewManagerFactory; | 110 using guest_view::TestGuestViewManagerFactory; |
107 using prerender::PrerenderLinkManager; | 111 using prerender::PrerenderLinkManager; |
108 using prerender::PrerenderLinkManagerFactory; | 112 using prerender::PrerenderLinkManagerFactory; |
109 using task_manager::browsertest_util::MatchAboutBlankTab; | 113 using task_manager::browsertest_util::MatchAboutBlankTab; |
110 using task_manager::browsertest_util::MatchAnyApp; | 114 using task_manager::browsertest_util::MatchAnyApp; |
(...skipping 3729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3840 gfx::Point embedder_origin = | 3844 gfx::Point embedder_origin = |
3841 GetEmbedderWebContents()->GetContainerBounds().origin(); | 3845 GetEmbedderWebContents()->GetContainerBounds().origin(); |
3842 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); | 3846 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); |
3843 | 3847 |
3844 // Generate and send synthetic touch event. | 3848 // Generate and send synthetic touch event. |
3845 content::SimulateTouchPressAt(GetEmbedderWebContents(), | 3849 content::SimulateTouchPressAt(GetEmbedderWebContents(), |
3846 guest_rect.CenterPoint()); | 3850 guest_rect.CenterPoint()); |
3847 EXPECT_TRUE(aura_webview->HasFocus()); | 3851 EXPECT_TRUE(aura_webview->HasFocus()); |
3848 } | 3852 } |
3849 #endif | 3853 #endif |
| 3854 |
| 3855 #endif // !defined(OS_MACOSX) |
OLD | NEW |