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 "content/browser/web_contents/web_contents_impl.h" | 8 #include "content/browser/web_contents/web_contents_impl.h" |
9 #include "content/public/common/page_transition_types.h" | 9 #include "content/public/common/page_transition_types.h" |
| 10 #include "content/public/common/webpreferences.h" |
10 #include "content/public/test/web_contents_tester.h" | 11 #include "content/public/test/web_contents_tester.h" |
11 #include "webkit/common/webpreferences.h" | |
12 | 12 |
13 class SiteInstanceImpl; | 13 class SiteInstanceImpl; |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class RenderViewHost; | 17 class RenderViewHost; |
18 class TestRenderViewHost; | 18 class TestRenderViewHost; |
19 class WebContentsTester; | 19 class WebContentsTester; |
20 | 20 |
21 // Subclass WebContentsImpl to ensure it creates TestRenderViewHosts | 21 // Subclass WebContentsImpl to ensure it creates TestRenderViewHosts |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool expect_set_history_length_and_prune_; | 133 bool expect_set_history_length_and_prune_; |
134 scoped_refptr<const SiteInstanceImpl> | 134 scoped_refptr<const SiteInstanceImpl> |
135 expect_set_history_length_and_prune_site_instance_; | 135 expect_set_history_length_and_prune_site_instance_; |
136 int expect_set_history_length_and_prune_history_length_; | 136 int expect_set_history_length_and_prune_history_length_; |
137 int32 expect_set_history_length_and_prune_min_page_id_; | 137 int32 expect_set_history_length_and_prune_min_page_id_; |
138 }; | 138 }; |
139 | 139 |
140 } // namespace content | 140 } // namespace content |
141 | 141 |
142 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 142 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
OLD | NEW |