| 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 13 matching lines...) Expand all Loading... |
| 24 protected: | 24 protected: |
| 25 browser::NavigateParams MakeNavigateParams() const; | 25 browser::NavigateParams MakeNavigateParams() const; |
| 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 void RunUseNonIncognitoWindowTest(const GURL& url); |
| 35 void RunDoNothingIfIncognitoIsForcedTest(const GURL& url); |
| 34 | 36 |
| 35 // content::NotificationObserver: | 37 // content::NotificationObserver: |
| 36 virtual void Observe(int type, const content::NotificationSource& source, | 38 virtual void Observe(int type, const content::NotificationSource& source, |
| 37 const content::NotificationDetails& details); | 39 const content::NotificationDetails& details); |
| 38 | 40 |
| 39 size_t created_tab_contents_count_; | 41 size_t created_tab_contents_count_; |
| 40 }; | 42 }; |
| 41 | 43 |
| 42 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 44 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| OLD | NEW |