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_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
7 | 7 |
8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/test/base/in_process_browser_test.h" | 9 #include "chrome/test/base/in_process_browser_test.h" |
10 #include "content/public/browser/notification_types.h" | 10 #include "content/public/browser/notification_types.h" |
11 | 11 |
12 class GURL; | |
13 class Profile; | 12 class Profile; |
14 class TabContentsWrapper; | 13 class TabContentsWrapper; |
15 | 14 |
16 namespace browser { | 15 namespace browser { |
17 struct NavigateParams; | 16 struct NavigateParams; |
18 } | 17 } |
19 | 18 |
20 // Browsertest class for testing the browser navigation. It is also a base class | 19 // Browsertest class for testing the browser navigation. It is also a base class |
21 // for the |BrowserGuestModeNavigation| which tests navigation while in guest | 20 // for the |BrowserGuestModeNavigation| which tests navigation while in guest |
22 // mode. | 21 // mode. |
(...skipping 11 matching lines...) Expand all Loading... |
34 void RunSuppressTest(WindowOpenDisposition disposition); | 33 void RunSuppressTest(WindowOpenDisposition disposition); |
35 | 34 |
36 // content::NotificationObserver: | 35 // content::NotificationObserver: |
37 virtual void Observe(int type, const content::NotificationSource& source, | 36 virtual void Observe(int type, const content::NotificationSource& source, |
38 const content::NotificationDetails& details); | 37 const content::NotificationDetails& details); |
39 | 38 |
40 size_t created_tab_contents_count_; | 39 size_t created_tab_contents_count_; |
41 }; | 40 }; |
42 | 41 |
43 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 42 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
OLD | NEW |