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 "apps/ui/native_app_window.h" | 5 #include "apps/ui/native_app_window.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/strings/stringprintf.h" | 7 #include "base/strings/stringprintf.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "chrome/browser/apps/app_browsertest_util.h" | 9 #include "chrome/browser/apps/app_browsertest_util.h" |
10 #include "chrome/browser/chrome_content_browser_client.h" | 10 #include "chrome/browser/chrome_content_browser_client.h" |
(...skipping 2235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2246 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); | 2246 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); |
2247 } | 2247 } |
2248 | 2248 |
2249 // <webview> screenshot capture fails with ubercomp. | 2249 // <webview> screenshot capture fails with ubercomp. |
2250 // See http://crbug.com/327035. | 2250 // See http://crbug.com/327035. |
2251 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, | 2251 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, |
2252 DISABLED_Shim_ScreenshotCapture) { | 2252 DISABLED_Shim_ScreenshotCapture) { |
2253 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); | 2253 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); |
2254 } | 2254 } |
2255 | 2255 |
2256 IN_PROC_BROWSER_TEST_F(WebViewTest, WebViewInBackgroundPage) { | 2256 #if defined(OS_WIN) |
| 2257 // Test is disabled on Windows because it times out often. |
| 2258 // http://crbug.com/403325 |
| 2259 #define MAYBE_WebViewInBackgroundPage \ |
| 2260 DISABLED_WebViewInBackgroundPage |
| 2261 #else |
| 2262 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage |
| 2263 #endif |
| 2264 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { |
2257 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) | 2265 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) |
2258 << message_; | 2266 << message_; |
2259 } | 2267 } |
OLD | NEW |