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

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

Issue 307543005: Fix the Declarative WebRequest API for <webview> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_webcontentsdelegate_impl_to_chrome
Patch Set: Fix WebRequest unit tests Created 6 years, 6 months 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 | chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc » ('j') | 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 "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/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/apps/app_browsertest_util.h" 10 #include "chrome/browser/apps/app_browsertest_util.h"
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) { 996 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) {
997 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER); 997 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER);
998 } 998 }
999 999
1000 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) { 1000 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) {
1001 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER); 1001 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER);
1002 } 1002 }
1003 1003
1004 // http://crbug.com/326330 1004 // http://crbug.com/326330
1005 IN_PROC_BROWSER_TEST_F(WebViewTest, 1005 IN_PROC_BROWSER_TEST_F(WebViewTest,
1006 DISABLED_Shim_TestDeclarativeWebRequestAPI) { 1006 Shim_TestDeclarativeWebRequestAPI) {
1007 TestHelper("testDeclarativeWebRequestAPI", 1007 TestHelper("testDeclarativeWebRequestAPI",
1008 "web_view/shim", 1008 "web_view/shim",
1009 NEEDS_TEST_SERVER); 1009 NEEDS_TEST_SERVER);
1010 } 1010 }
1011 1011
1012 IN_PROC_BROWSER_TEST_F(WebViewTest,
1013 Shim_TestDeclarativeWebRequestAPISendMessage) {
1014 TestHelper("testDeclarativeWebRequestAPISendMessage",
1015 "web_view/shim",
1016 NEEDS_TEST_SERVER);
1017 }
1018
1012 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) { 1019 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) {
1013 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER); 1020 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER);
1014 } 1021 }
1015 1022
1016 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 1023 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
1017 TestHelper("testWebRequestAPIGoogleProperty", 1024 TestHelper("testWebRequestAPIGoogleProperty",
1018 "web_view/shim", 1025 "web_view/shim",
1019 NO_TEST_SERVER); 1026 NO_TEST_SERVER);
1020 } 1027 }
1021 1028
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) { 2148 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestFindAPI_findupdate) {
2142 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER); 2149 TestHelper("testFindAPI_findupdate", "web_view/shim", NO_TEST_SERVER);
2143 } 2150 }
2144 2151
2145 // <webview> screenshot capture fails with ubercomp. 2152 // <webview> screenshot capture fails with ubercomp.
2146 // See http://crbug.com/327035. 2153 // See http://crbug.com/327035.
2147 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest, 2154 IN_PROC_BROWSER_TEST_F(WebViewCaptureTest,
2148 DISABLED_Shim_ScreenshotCapture) { 2155 DISABLED_Shim_ScreenshotCapture) {
2149 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER); 2156 TestHelper("testScreenshotCapture", "web_view/shim", NO_TEST_SERVER);
2150 } 2157 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/declarative_webrequest/webrequest_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698