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> |
| 9 |
8 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/test/base/in_process_browser_test.h" | 11 #include "chrome/test/base/in_process_browser_test.h" |
10 #include "content/public/browser/notification_types.h" | 12 #include "content/public/browser/notification_types.h" |
11 | 13 |
12 class Profile; | 14 class Profile; |
13 | 15 |
14 namespace chrome { | 16 namespace chrome { |
15 struct NavigateParams; | 17 struct NavigateParams; |
16 } | 18 } |
17 | 19 |
(...skipping 17 matching lines...) Expand all Loading... |
35 | 37 |
36 void RunSuppressTest(WindowOpenDisposition disposition); | 38 void RunSuppressTest(WindowOpenDisposition disposition); |
37 void RunUseNonIncognitoWindowTest(const GURL& url); | 39 void RunUseNonIncognitoWindowTest(const GURL& url); |
38 void RunDoNothingIfIncognitoIsForcedTest(const GURL& url); | 40 void RunDoNothingIfIncognitoIsForcedTest(const GURL& url); |
39 | 41 |
40 // content::NotificationObserver: | 42 // content::NotificationObserver: |
41 virtual void Observe(int type, | 43 virtual void Observe(int type, |
42 const content::NotificationSource& source, | 44 const content::NotificationSource& source, |
43 const content::NotificationDetails& details) OVERRIDE; | 45 const content::NotificationDetails& details) OVERRIDE; |
44 | 46 |
| 47 bool OpenPOSTURLInNewForegroundTabAndGetTitle(const GURL& url, |
| 48 const std::string& post_data, |
| 49 bool is_browser_initiated, |
| 50 base::string16* title); |
| 51 |
45 size_t created_tab_contents_count_; | 52 size_t created_tab_contents_count_; |
46 }; | 53 }; |
47 | 54 |
48 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 55 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
OLD | NEW |