| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/browser/guest_view/web_view/web_view_apitest.h" | 5 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 12 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "build/build_config.h" |
| 13 #include "components/guest_view/browser/guest_view_manager.h" | 15 #include "components/guest_view/browser/guest_view_manager.h" |
| 14 #include "components/guest_view/browser/guest_view_manager_delegate.h" | 16 #include "components/guest_view/browser/guest_view_manager_delegate.h" |
| 15 #include "components/guest_view/browser/guest_view_manager_factory.h" | 17 #include "components/guest_view/browser/guest_view_manager_factory.h" |
| 16 #include "components/guest_view/browser/test_guest_view_manager.h" | 18 #include "components/guest_view/browser/test_guest_view_manager.h" |
| 17 #include "content/public/browser/render_process_host.h" | 19 #include "content/public/browser/render_process_host.h" |
| 18 #include "content/public/common/content_switches.h" | 20 #include "content/public/common/content_switches.h" |
| 19 #include "content/public/test/browser_test_utils.h" | 21 #include "content/public/test/browser_test_utils.h" |
| 20 #include "content/public/test/test_renderer_host.h" | 22 #include "content/public/test/test_renderer_host.h" |
| 21 #include "content/public/test/test_utils.h" | 23 #include "content/public/test/test_utils.h" |
| 22 #include "extensions/browser/api/extensions_api_client.h" | 24 #include "extensions/browser/api/extensions_api_client.h" |
| (...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); | 731 RunTest("testWebRequestAPIGoogleProperty", "web_view/apitest"); |
| 730 } | 732 } |
| 731 | 733 |
| 732 // This test verifies that webview.contentWindow works inside an iframe | 734 // This test verifies that webview.contentWindow works inside an iframe |
| 733 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { | 735 IN_PROC_BROWSER_TEST_F(WebViewAPITest, TestWebViewInsideFrame) { |
| 734 LaunchApp("web_view/inside_iframe"); | 736 LaunchApp("web_view/inside_iframe"); |
| 735 } | 737 } |
| 736 | 738 |
| 737 | 739 |
| 738 } // namespace extensions | 740 } // namespace extensions |
| OLD | NEW |