| 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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAPIMethodExistence) { | 919 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestAPIMethodExistence) { |
| 920 TestHelper("testAPIMethodExistence", "web_view/shim", NO_TEST_SERVER); | 920 TestHelper("testAPIMethodExistence", "web_view/shim", NO_TEST_SERVER); |
| 921 } | 921 } |
| 922 | 922 |
| 923 // Tests the existence of WebRequest API event objects on the request | 923 // Tests the existence of WebRequest API event objects on the request |
| 924 // object, on the webview element, and hanging directly off webview. | 924 // object, on the webview element, and hanging directly off webview. |
| 925 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) { | 925 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIExistence) { |
| 926 TestHelper("testWebRequestAPIExistence", "web_view/shim", NO_TEST_SERVER); | 926 TestHelper("testWebRequestAPIExistence", "web_view/shim", NO_TEST_SERVER); |
| 927 } | 927 } |
| 928 | 928 |
| 929 // Tests the existence of DeclarativeContent API event objects on the request |
| 930 // object, on the webview element, and hanging directly off webview. |
| 931 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDeclarativeContentAPIExistence) { |
| 932 TestHelper("testDeclarativeContentAPIExistence", |
| 933 "web_view/shim", |
| 934 NO_TEST_SERVER); |
| 935 } |
| 936 |
| 929 // http://crbug.com/315920 | 937 // http://crbug.com/315920 |
| 930 #if defined(GOOGLE_CHROME_BUILD) && (defined(OS_WIN) || defined(OS_LINUX)) | 938 #if defined(GOOGLE_CHROME_BUILD) && (defined(OS_WIN) || defined(OS_LINUX)) |
| 931 #define MAYBE_Shim_TestChromeExtensionURL DISABLED_Shim_TestChromeExtensionURL | 939 #define MAYBE_Shim_TestChromeExtensionURL DISABLED_Shim_TestChromeExtensionURL |
| 932 #else | 940 #else |
| 933 #define MAYBE_Shim_TestChromeExtensionURL Shim_TestChromeExtensionURL | 941 #define MAYBE_Shim_TestChromeExtensionURL Shim_TestChromeExtensionURL |
| 934 #endif | 942 #endif |
| 935 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_Shim_TestChromeExtensionURL) { | 943 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_Shim_TestChromeExtensionURL) { |
| 936 TestHelper("testChromeExtensionURL", "web_view/shim", NO_TEST_SERVER); | 944 TestHelper("testChromeExtensionURL", "web_view/shim", NO_TEST_SERVER); |
| 937 } | 945 } |
| 938 | 946 |
| (...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2436 // http://crbug.com/403325 | 2444 // http://crbug.com/403325 |
| 2437 #define MAYBE_WebViewInBackgroundPage \ | 2445 #define MAYBE_WebViewInBackgroundPage \ |
| 2438 DISABLED_WebViewInBackgroundPage | 2446 DISABLED_WebViewInBackgroundPage |
| 2439 #else | 2447 #else |
| 2440 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage | 2448 #define MAYBE_WebViewInBackgroundPage WebViewInBackgroundPage |
| 2441 #endif | 2449 #endif |
| 2442 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { | 2450 IN_PROC_BROWSER_TEST_F(WebViewTest, MAYBE_WebViewInBackgroundPage) { |
| 2443 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) | 2451 ASSERT_TRUE(RunExtensionTest("platform_apps/web_view/background")) |
| 2444 << message_; | 2452 << message_; |
| 2445 } | 2453 } |
| OLD | NEW |