OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ | 6 #define CONTENT_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/tab_contents/tab_contents.h" | 9 #include "chrome/browser/tab_contents/tab_contents.h" |
10 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
11 #include "webkit/glue/webpreferences.h" | 11 #include "webkit/glue/webpreferences.h" |
12 | 12 |
13 class Profile; | 13 class Profile; |
14 class TestRenderViewHost; | 14 class TestRenderViewHost; |
15 | 15 |
16 // Subclass TabContents to ensure it creates TestRenderViewHosts and does | 16 // Subclass TabContents to ensure it creates TestRenderViewHosts and does |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 // pending RVH navigation can proceed. | 71 // pending RVH navigation can proceed. |
72 // Does nothing if no cross-navigation is pending. | 72 // Does nothing if no cross-navigation is pending. |
73 void ProceedWithCrossSiteNavigation(); | 73 void ProceedWithCrossSiteNavigation(); |
74 | 74 |
75 // Set by individual tests. | 75 // Set by individual tests. |
76 bool transition_cross_site; | 76 bool transition_cross_site; |
77 | 77 |
78 NotificationRegistrar registrar_; | 78 NotificationRegistrar registrar_; |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ | 81 #endif // CONTENT_BROWSER_TAB_CONTENTS_TEST_TAB_CONTENTS_H_ |
OLD | NEW |