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

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: Don't update src attribute with resolved URL. Created 7 years, 2 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
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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 "web_view/shim"); 673 "web_view/shim");
674 } 674 }
675 675
676 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) { 676 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionURL) {
677 TestHelper("testChromeExtensionURL", 677 TestHelper("testChromeExtensionURL",
678 "DoneShimTest.PASSED", 678 "DoneShimTest.PASSED",
679 "DoneShimTest.FAILED", 679 "DoneShimTest.FAILED",
680 "web_view/shim"); 680 "web_view/shim");
681 } 681 }
682 682
683 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestChromeExtensionRelativePath) {
684 TestHelper("testChromeExtensionRelativePath",
685 "DoneShimTest.PASSED",
686 "DoneShimTest.FAILED",
687 "web_view/shim");
688 }
689
683 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) { 690 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestEventName) {
684 TestHelper("testEventName", 691 TestHelper("testEventName",
685 "DoneShimTest.PASSED", 692 "DoneShimTest.PASSED",
686 "DoneShimTest.FAILED", 693 "DoneShimTest.FAILED",
687 "web_view/shim"); 694 "web_view/shim");
688 } 695 }
689 696
690 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) { 697 IN_PROC_BROWSER_TEST_F(WebViewTest, Shim_TestOnEventProperty) {
691 TestHelper("testOnEventProperties", 698 TestHelper("testOnEventProperties",
692 "DoneShimTest.PASSED", 699 "DoneShimTest.PASSED",
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1856 } 1863 }
1857 }; 1864 };
1858 1865
1859 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) { 1866 IN_PROC_BROWSER_TEST_F(WebViewPluginTest, TestLoadPluginEvent) {
1860 TestHelper("testPluginLoadPermission", 1867 TestHelper("testPluginLoadPermission",
1861 "DoneShimTest.PASSED", 1868 "DoneShimTest.PASSED",
1862 "DoneShimTest.FAILED", 1869 "DoneShimTest.FAILED",
1863 "web_view/shim"); 1870 "web_view/shim");
1864 } 1871 }
1865 #endif // defined(ENABLE_PLUGINS) 1872 #endif // defined(ENABLE_PLUGINS)
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/guestview/webview/webview_guest.h » ('j') | chrome/browser/guestview/webview/webview_guest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698