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

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: Fixed browser_tests build 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
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 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 } 794 }
795 795
796 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) { 796 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestNewWindowNoReferrerLink) {
797 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER); 797 TestHelper("testNewWindowNoReferrerLink", "web_view/shim", NEEDS_TEST_SERVER);
798 } 798 }
799 799
800 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) { 800 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) {
801 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER); 801 TestHelper("testContentLoadEvent", "web_view/shim", NO_TEST_SERVER);
802 } 802 }
803 803
804 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDeclarativeWebRequestAPI) {
805 TestHelper("testDeclarativeWebRequestAPI",
806 "web_view/shim",
807 NEEDS_TEST_SERVER);
808 }
809
804 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) { 810 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) {
805 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER); 811 TestHelper("testWebRequestAPI", "web_view/shim", NEEDS_TEST_SERVER);
806 } 812 }
807 813
808 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 814 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
809 TestHelper("testWebRequestAPIGoogleProperty", 815 TestHelper("testWebRequestAPIGoogleProperty",
810 "web_view/shim", 816 "web_view/shim",
811 NO_TEST_SERVER); 817 NO_TEST_SERVER);
812 } 818 }
813 819
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests")); 1786 pepper_plugin.append(FILE_PATH_LITERAL(";application/x-ppapi-tests"));
1781 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins, 1787 command_line->AppendSwitchNative(switches::kRegisterPepperPlugins,
1782 pepper_plugin); 1788 pepper_plugin);
1783 } 1789 }
1784 }; 1790 };
1785 1791
1786 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) { 1792 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) {
1787 TestHelper("testPluginLoadPermission", "web_view/shim", NO_TEST_SERVER); 1793 TestHelper("testPluginLoadPermission", "web_view/shim", NO_TEST_SERVER);
1788 } 1794 }
1789 #endif // defined(ENABLE_PLUGINS) 1795 #endif // defined(ENABLE_PLUGINS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698