| 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/in_process_browser_test.h" | 9 #include "chrome/test/in_process_browser_test.h" |
| 10 #include "content/common/notification_type.h" | 10 #include "content/common/content_notification_types.h" |
| 11 | 11 |
| 12 class GURL; | 12 class GURL; |
| 13 class NotificationDetails; | 13 class NotificationDetails; |
| 14 class NotificationSource; | 14 class NotificationSource; |
| 15 class Profile; | 15 class Profile; |
| 16 class TabContentsWrapper; | 16 class TabContentsWrapper; |
| 17 | 17 |
| 18 namespace browser { | 18 namespace browser { |
| 19 struct NavigateParams; | 19 struct NavigateParams; |
| 20 } | 20 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 browser::NavigateParams MakeNavigateParams(Browser* browser) const; | 31 browser::NavigateParams MakeNavigateParams(Browser* browser) const; |
| 32 | 32 |
| 33 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); | 33 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); |
| 34 Browser* CreateEmptyBrowserForApp(Browser::Type type, Profile* profile); | 34 Browser* CreateEmptyBrowserForApp(Browser::Type type, Profile* profile); |
| 35 | 35 |
| 36 TabContentsWrapper* CreateTabContents(); | 36 TabContentsWrapper* CreateTabContents(); |
| 37 | 37 |
| 38 void RunSuppressTest(WindowOpenDisposition disposition); | 38 void RunSuppressTest(WindowOpenDisposition disposition); |
| 39 | 39 |
| 40 // NotificationObserver: | 40 // NotificationObserver: |
| 41 virtual void Observe(NotificationType type, const NotificationSource& source, | 41 virtual void Observe(int type, const NotificationSource& source, |
| 42 const NotificationDetails& details); | 42 const NotificationDetails& details); |
| 43 | 43 |
| 44 size_t created_tab_contents_count_; | 44 size_t created_tab_contents_count_; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 47 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| OLD | NEW |