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

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

Issue 27408004: <webview>: Resolve relative paths as chrome-extension: URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with ToT 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/guestview/webview/webview_guest.h » ('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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 "web_view/shim"); 674 "web_view/shim");
675 } 675 }
676 676
677 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) { 677 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) {
678 TestHelper("testChromeExtensionURL", 678 TestHelper("testChromeExtensionURL",
679 "DoneShimTest.PASSED", 679 "DoneShimTest.PASSED",
680 "DoneShimTest.FAILED", 680 "DoneShimTest.FAILED",
681 "web_view/shim"); 681 "web_view/shim");
682 } 682 }
683 683
684 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionRelativePath) {
685 TestHelper("testChromeExtensionRelativePath",
686 "DoneShimTest.PASSED",
687 "DoneShimTest.FAILED",
688 "web_view/shim");
689 }
690
684 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestInvalidChromeExtensionURL) { 691 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestInvalidChromeExtensionURL) {
685 TestHelper("testInvalidChromeExtensionURL", 692 TestHelper("testInvalidChromeExtensionURL",
686 "DoneShimTest.PASSED", 693 "DoneShimTest.PASSED",
687 "DoneShimTest.FAILED", 694 "DoneShimTest.FAILED",
688 "web_view/shim"); 695 "web_view/shim");
689 } 696 }
690 697
691 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { 698 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) {
692 TestHelper("testEventName", 699 TestHelper("testEventName",
693 "DoneShimTest.PASSED", 700 "DoneShimTest.PASSED",
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 } 1879 }
1873 }; 1880 };
1874 1881
1875 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) { 1882 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) {
1876 TestHelper("testPluginLoadPermission", 1883 TestHelper("testPluginLoadPermission",
1877 "DoneShimTest.PASSED", 1884 "DoneShimTest.PASSED",
1878 "DoneShimTest.FAILED", 1885 "DoneShimTest.FAILED",
1879 "web_view/shim"); 1886 "web_view/shim");
1880 } 1887 }
1881 #endif // defined(ENABLE_PLUGINS) 1888 #endif // defined(ENABLE_PLUGINS)
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/guestview/webview/webview_guest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698