| 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_WEB_CONTENTS_TESTER_H_ | 5 #ifndef CONTENT_TEST_WEB_CONTENTS_TESTER_H_ |
| 6 #define CONTENT_TEST_WEB_CONTENTS_TESTER_H_ | 6 #define CONTENT_TEST_WEB_CONTENTS_TESTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/common/page_transition_types.h" | 9 #include "content/public/common/page_transition_types.h" |
| 10 | 10 |
| 11 class GURL; | 11 class GURL; |
| 12 |
| 13 namespace webkit_glue { |
| 12 struct WebPreferences; | 14 struct WebPreferences; |
| 15 } |
| 13 | 16 |
| 14 namespace content { | 17 namespace content { |
| 15 | 18 |
| 16 class BrowserContext; | 19 class BrowserContext; |
| 17 struct Referrer; | 20 struct Referrer; |
| 18 class RenderViewHost; | 21 class RenderViewHost; |
| 19 class SiteInstance; | 22 class SiteInstance; |
| 20 class WebContents; | 23 class WebContents; |
| 21 | 24 |
| 22 // This interface allows embedders of content/ to write tests that | 25 // This interface allows embedders of content/ to write tests that |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 content::PageTransition transition) = 0; | 105 content::PageTransition transition) = 0; |
| 103 | 106 |
| 104 virtual void TestDidNavigateWithReferrer( | 107 virtual void TestDidNavigateWithReferrer( |
| 105 content::RenderViewHost* render_view_host, | 108 content::RenderViewHost* render_view_host, |
| 106 int page_id, | 109 int page_id, |
| 107 const GURL& url, | 110 const GURL& url, |
| 108 const content::Referrer& referrer, | 111 const content::Referrer& referrer, |
| 109 content::PageTransition transition) = 0; | 112 content::PageTransition transition) = 0; |
| 110 | 113 |
| 111 // Promote GetWebkitPrefs to public. | 114 // Promote GetWebkitPrefs to public. |
| 112 virtual WebPreferences TestGetWebkitPrefs() = 0; | 115 virtual webkit_glue::WebPreferences TestGetWebkitPrefs() = 0; |
| 113 }; | 116 }; |
| 114 | 117 |
| 115 } // namespace content | 118 } // namespace content |
| 116 | 119 |
| 117 #endif // CONTENT_TEST_WEB_CONTENTS_TESTER_H_ | 120 #endif // CONTENT_TEST_WEB_CONTENTS_TESTER_H_ |
| OLD | NEW |