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 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "content/browser/web_contents/web_contents_impl.h" | 12 #include "content/browser/web_contents/web_contents_impl.h" |
13 #include "content/public/test/web_contents_tester.h" | 13 #include "content/public/test/web_contents_tester.h" |
14 #include "content/test/test_render_frame_host.h" | 14 #include "content/test/test_render_frame_host.h" |
15 #include "content/test/test_render_view_host.h" | 15 #include "content/test/test_render_view_host.h" |
16 #include "ui/base/page_transition_types.h" | 16 #include "ui/base/page_transition_types.h" |
17 | 17 |
18 class GURL; | 18 class GURL; |
19 class Referrer; | 19 class Referrer; |
20 class SiteInstanceImpl; | |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 | 22 |
24 class NavigationData; | 23 class NavigationData; |
25 class NavigationHandle; | 24 class NavigationHandle; |
26 class RenderViewHost; | 25 class RenderViewHost; |
27 class TestRenderViewHost; | 26 class TestRenderViewHost; |
28 class WebContentsTester; | 27 class WebContentsTester; |
29 | 28 |
30 // Subclass WebContentsImpl to ensure it creates TestRenderViewHosts | 29 // Subclass WebContentsImpl to ensure it creates TestRenderViewHosts |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // Expectations for arguments of |SetHistoryOffsetAndLength()|. | 150 // Expectations for arguments of |SetHistoryOffsetAndLength()|. |
152 bool expect_set_history_offset_and_length_; | 151 bool expect_set_history_offset_and_length_; |
153 int expect_set_history_offset_and_length_history_offset_; | 152 int expect_set_history_offset_and_length_history_offset_; |
154 int expect_set_history_offset_and_length_history_length_; | 153 int expect_set_history_offset_and_length_history_length_; |
155 std::string save_frame_headers_; | 154 std::string save_frame_headers_; |
156 }; | 155 }; |
157 | 156 |
158 } // namespace content | 157 } // namespace content |
159 | 158 |
160 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 159 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
OLD | NEW |