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

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: Added tests 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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 "web_view/shim"); 841 "web_view/shim");
842 } 842 }
843 843
844 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) { 844 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestContentLoadEvent) {
845 TestHelper("testContentLoadEvent", 845 TestHelper("testContentLoadEvent",
846 "DoneShimTest.PASSED", 846 "DoneShimTest.PASSED",
847 "DoneShimTest.FAILED", 847 "DoneShimTest.FAILED",
848 "web_view/shim"); 848 "web_view/shim");
849 } 849 }
850 850
851 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestDeclarativeWebRequestAPI) {
852 TestHelper("testDeclarativeWebRequestAPI",
853 "DoneShimTest.PASSED",
854 "DoneShimTest.FAILED",
855 "web_view/shim");
856 }
857
851 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) { 858 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPI) {
852 TestHelper("testWebRequestAPI", 859 TestHelper("testWebRequestAPI",
853 "DoneShimTest.PASSED", 860 "DoneShimTest.PASSED",
854 "DoneShimTest.FAILED", 861 "DoneShimTest.FAILED",
855 "web_view/shim"); 862 "web_view/shim");
856 } 863 }
857 864
858 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) { 865 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestWebRequestAPIGoogleProperty) {
859 TestHelper("testWebRequestAPIGoogleProperty", 866 TestHelper("testWebRequestAPIGoogleProperty",
860 "DoneShimTest.PASSED", 867 "DoneShimTest.PASSED",
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1871 } 1878 }
1872 }; 1879 };
1873 1880
1874 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) { 1881 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) {
1875 TestHelper("testPluginLoadPermission", 1882 TestHelper("testPluginLoadPermission",
1876 "DoneShimTest.PASSED", 1883 "DoneShimTest.PASSED",
1877 "DoneShimTest.FAILED", 1884 "DoneShimTest.FAILED",
1878 "web_view/shim"); 1885 "web_view/shim");
1879 } 1886 }
1880 #endif // defined(ENABLE_PLUGINS) 1887 #endif // defined(ENABLE_PLUGINS)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698