OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <list> | 5 #include <list> |
6 #include <set> | 6 #include <set> |
7 | 7 |
8 #include "base/files/scoped_temp_dir.h" | 8 #include "base/files/scoped_temp_dir.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "content/public/common/url_constants.h" | 47 #include "content/public/common/url_constants.h" |
48 #include "content/public/test/browser_test_utils.h" | 48 #include "content/public/test/browser_test_utils.h" |
49 #include "content/public/test/test_utils.h" | 49 #include "content/public/test/test_utils.h" |
50 #include "extensions/browser/extension_system.h" | 50 #include "extensions/browser/extension_system.h" |
51 #include "extensions/common/switches.h" | 51 #include "extensions/common/switches.h" |
52 #include "extensions/test/result_catcher.h" | 52 #include "extensions/test/result_catcher.h" |
53 #include "net/dns/mock_host_resolver.h" | 53 #include "net/dns/mock_host_resolver.h" |
54 #include "net/test/embedded_test_server/embedded_test_server.h" | 54 #include "net/test/embedded_test_server/embedded_test_server.h" |
55 #include "net/test/embedded_test_server/http_request.h" | 55 #include "net/test/embedded_test_server/http_request.h" |
56 #include "net/test/embedded_test_server/http_response.h" | 56 #include "net/test/embedded_test_server/http_response.h" |
| 57 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
57 #include "third_party/WebKit/public/web/WebContextMenuData.h" | 58 #include "third_party/WebKit/public/web/WebContextMenuData.h" |
58 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
59 | 59 |
60 using content::ResourceType; | 60 using content::ResourceType; |
61 using content::WebContents; | 61 using content::WebContents; |
62 | 62 |
63 namespace extensions { | 63 namespace extensions { |
64 | 64 |
65 namespace { | 65 namespace { |
66 | 66 |
67 // This class can defer requests for arbitrary URLs. | 67 // This class can defer requests for arbitrary URLs. |
68 class TestNavigationListener | 68 class TestNavigationListener |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 "extensions/api_test/webnavigation/crash/b.html", | 813 "extensions/api_test/webnavigation/crash/b.html", |
814 embedded_test_server()->port())); | 814 embedded_test_server()->port())); |
815 ui_test_utils::NavigateToURL(browser(), url); | 815 ui_test_utils::NavigateToURL(browser(), url); |
816 | 816 |
817 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); | 817 ASSERT_TRUE(catcher.GetNextResult()) << catcher.message(); |
818 } | 818 } |
819 | 819 |
820 #endif | 820 #endif |
821 | 821 |
822 } // namespace extensions | 822 } // namespace extensions |
OLD | NEW |