| 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 "base/path_service.h" | 5 #include "base/path_service.h" |
| 6 #include "base/strings/stringprintf.h" | 6 #include "base/strings/stringprintf.h" |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/apps/app_browsertest_util.h" | 8 #include "chrome/browser/apps/app_browsertest_util.h" |
| 9 #include "chrome/browser/chrome_content_browser_client.h" | 9 #include "chrome/browser/chrome_content_browser_client.h" |
| 10 #include "chrome/browser/prerender/prerender_link_manager.h" | 10 #include "chrome/browser/prerender/prerender_link_manager.h" |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 "web_view/shim", | 1195 "web_view/shim", |
| 1196 NO_TEST_SERVER); | 1196 NO_TEST_SERVER); |
| 1197 } | 1197 } |
| 1198 | 1198 |
| 1199 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavigationToExternalProtocol) { | 1199 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNavigationToExternalProtocol) { |
| 1200 TestHelper("testNavigationToExternalProtocol", | 1200 TestHelper("testNavigationToExternalProtocol", |
| 1201 "web_view/shim", | 1201 "web_view/shim", |
| 1202 NO_TEST_SERVER); | 1202 NO_TEST_SERVER); |
| 1203 } | 1203 } |
| 1204 | 1204 |
| 1205 IN_PROC_BROWSER_TEST_F(WebViewTest, |
| 1206 Shim_TestResizeWebviewWithDisplayNoneResizesContent) { |
| 1207 TestHelper("testResizeWebviewWithDisplayNoneResizesContent", |
| 1208 "web_view/shim", |
| 1209 NO_TEST_SERVER); |
| 1210 } |
| 1211 |
| 1205 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestResizeWebviewResizesContent) { | 1212 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestResizeWebviewResizesContent) { |
| 1206 TestHelper("testResizeWebviewResizesContent", | 1213 TestHelper("testResizeWebviewResizesContent", |
| 1207 "web_view/shim", | 1214 "web_view/shim", |
| 1208 NO_TEST_SERVER); | 1215 NO_TEST_SERVER); |
| 1209 } | 1216 } |
| 1210 | 1217 |
| 1211 // This test makes sure we do not crash if app is closed while interstitial | 1218 // This test makes sure we do not crash if app is closed while interstitial |
| 1212 // page is being shown in guest. | 1219 // page is being shown in guest. |
| 1213 // Disabled under LeakSanitizer due to memory leaks. http://crbug.com/321662 | 1220 // Disabled under LeakSanitizer due to memory leaks. http://crbug.com/321662 |
| 1214 #if defined(LEAK_SANITIZER) | 1221 #if defined(LEAK_SANITIZER) |
| (...skipping 1085 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2300 // http://crbug.com/403325 | 2307 // http://crbug.com/403325 |
| 2301 #define MAYBE_WebViewInBackgroundPage \ | 2308 #define MAYBE_WebViewInBackgroundPage \ |
| 2302 DISABLED_WebViewInBackgroundPage | 2309 DISABLED_WebViewInBackgroundPage |
| 2303 #else | 2310 #else |
| 2304 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage | 2311 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage |
| 2305 #endif | 2312 #endif |
| 2306 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { | 2313 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { |
| 2307 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) | 2314 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) |
| 2308 << message_; | 2315 << message_; |
| 2309 } | 2316 } |
| OLD | NEW |