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

Side by Side Diff: chrome/browser/apps/guest_view/web_view_browsertest.cc

Issue 2468423005: Revert of Disable (temporarily) WebView Browsertests on Mac build bots. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
105 using extensions::ContextMenuMatcher; 101 using extensions::ContextMenuMatcher;
106 using extensions::ExtensionsAPIClient; 102 using extensions::ExtensionsAPIClient;
107 using extensions::MenuItem; 103 using extensions::MenuItem;
108 using guest_view::GuestViewManager; 104 using guest_view::GuestViewManager;
109 using guest_view::TestGuestViewManager; 105 using guest_view::TestGuestViewManager;
110 using guest_view::TestGuestViewManagerFactory; 106 using guest_view::TestGuestViewManagerFactory;
111 using prerender::PrerenderLinkManager; 107 using prerender::PrerenderLinkManager;
112 using prerender::PrerenderLinkManagerFactory; 108 using prerender::PrerenderLinkManagerFactory;
113 using task_manager::browsertest_util::MatchAboutBlankTab; 109 using task_manager::browsertest_util::MatchAboutBlankTab;
114 using task_manager::browsertest_util::MatchAnyApp; 110 using task_manager::browsertest_util::MatchAnyApp;
(...skipping 3729 matching lines...) Expand 10 before | Expand all | Expand 10 after
3844 gfx::Point embedder_origin = 3840 gfx::Point embedder_origin =
3845 GetEmbedderWebContents()->GetContainerBounds().origin(); 3841 GetEmbedderWebContents()->GetContainerBounds().origin();
3846 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y()); 3842 guest_rect.Offset(-embedder_origin.x(), -embedder_origin.y());
3847 3843
3848 // Generate and send synthetic touch event. 3844 // Generate and send synthetic touch event.
3849 content::SimulateTouchPressAt(GetEmbedderWebContents(), 3845 content::SimulateTouchPressAt(GetEmbedderWebContents(),
3850 guest_rect.CenterPoint()); 3846 guest_rect.CenterPoint());
3851 EXPECT_TRUE(aura_webview->HasFocus()); 3847 EXPECT_TRUE(aura_webview->HasFocus());
3852 } 3848 }
3853 #endif 3849 #endif
3854
3855 #endif // !defined(OS_MACOSX)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698