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" |
(...skipping 15 matching lines...) Expand all Loading... |
26 browser::NavigateParams MakeNavigateParams(Browser* browser) const; | 26 browser::NavigateParams MakeNavigateParams(Browser* browser) const; |
27 | 27 |
28 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); | 28 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); |
29 Browser* CreateEmptyBrowserForApp(Browser::Type type, Profile* profile); | 29 Browser* CreateEmptyBrowserForApp(Browser::Type type, Profile* profile); |
30 | 30 |
31 TabContentsWrapper* CreateTabContents(); | 31 TabContentsWrapper* CreateTabContents(); |
32 | 32 |
33 void RunSuppressTest(WindowOpenDisposition disposition); | 33 void RunSuppressTest(WindowOpenDisposition disposition); |
34 | 34 |
35 // content::NotificationObserver: | 35 // content::NotificationObserver: |
36 virtual void Observe(int type, const content::NotificationSource& source, | 36 virtual void Observe(int type, |
37 const content::NotificationDetails& details); | 37 const content::NotificationSource& source, |
| 38 const content::NotificationDetails& details) OVERRIDE; |
38 | 39 |
39 size_t created_tab_contents_count_; | 40 size_t created_tab_contents_count_; |
40 }; | 41 }; |
41 | 42 |
42 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 43 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
OLD | NEW |