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

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

Issue 28273006: <webview>: Implement declarativeWebRequest API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 7 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 | chrome/browser/apps/web_view_interactive_browsertest.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/browser/apps/app_browsertest_util.h" 9 #include "chrome/browser/apps/app_browsertest_util.h"
10 #include "chrome/browser/automation/automation_util.h" 10 #include "chrome/browser/automation/automation_util.h"
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 } 797 }
798 798
799 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) { 799 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) {
800 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER); 800 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER);
801 } 801 }
802 802
803 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) { 803 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) {
804 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER); 804 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER);
805 } 805 }
806 806
807 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDeclarativeWebRequestAPI) {
808 TestHelper("testDeclarativeWebRequestAPI",
809 "web_view/shim",
810 NEEDS_TEST_SERVER);
811 }
812
807 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) { 813 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) {
808 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER); 814 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER);
809 } 815 }
810 816
811 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 817 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
812 TestHelper("testWebRequestAPIGoogleProperty", 818 TestHelper("testWebRequestAPIGoogleProperty",
813 "web_view/shim", 819 "web_view/shim",
814 NO_TEST_SERVER); 820 NO_TEST_SERVER);
815 } 821 }
816 822
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
1791 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests")); 1797 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests"));
1792 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, 1798 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins,
1793 pepper_plugin); 1799 pepper_plugin);
1794 } 1800 }
1795 }; 1801 };
1796 1802
1797 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) { 1803 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) {
1798 TestHelper("testPluginLoadPermission", "web_view/shim", NO_TEST_SERVER); 1804 TestHelper("testPluginLoadPermission", "web_view/shim", NO_TEST_SERVER);
1799 } 1805 }
1800 #endif // defined(ENABLE_PLUGINS) 1806 #endif // defined(ENABLE_PLUGINS)
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/apps/web_view_interactive_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698