| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); | 37 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); |
| 38 Browser* CreateEmptyBrowserForApp(Profile* profile); | 38 Browser* CreateEmptyBrowserForApp(Profile* profile); |
| 39 | 39 |
| 40 content::WebContents* CreateWebContents(); | 40 content::WebContents* CreateWebContents(); |
| 41 | 41 |
| 42 void RunSuppressTest(WindowOpenDisposition disposition); | 42 void RunSuppressTest(WindowOpenDisposition disposition); |
| 43 void RunUseNonIncognitoWindowTest(const GURL& url); | 43 void RunUseNonIncognitoWindowTest(const GURL& url); |
| 44 void RunDoNothingIfIncognitoIsForcedTest(const GURL& url); | 44 void RunDoNothingIfIncognitoIsForcedTest(const GURL& url); |
| 45 | 45 |
| 46 // InProcessBrowserTest: | 46 // InProcessBrowserTest: |
| 47 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; | 47 virtual void SetUpCommandLine(base::CommandLine* command_line) override; |
| 48 | 48 |
| 49 // content::NotificationObserver: | 49 // content::NotificationObserver: |
| 50 virtual void Observe(int type, | 50 virtual void Observe(int type, |
| 51 const content::NotificationSource& source, | 51 const content::NotificationSource& source, |
| 52 const content::NotificationDetails& details) OVERRIDE; | 52 const content::NotificationDetails& details) override; |
| 53 | 53 |
| 54 bool OpenPOSTURLInNewForegroundTabAndGetTitle(const GURL& url, | 54 bool OpenPOSTURLInNewForegroundTabAndGetTitle(const GURL& url, |
| 55 const std::string& post_data, | 55 const std::string& post_data, |
| 56 bool is_browser_initiated, | 56 bool is_browser_initiated, |
| 57 base::string16* title); | 57 base::string16* title); |
| 58 | 58 |
| 59 size_t created_tab_contents_count_; | 59 size_t created_tab_contents_count_; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 62 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| OLD | NEW |