| 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" |
| 11 | 11 |
| 12 class Profile; | 12 class Profile; |
| 13 class TabContentsWrapper; | 13 class TabContents; |
| 14 typedef TabContents TabContentsWrapper; |
| 14 | 15 |
| 15 namespace browser { | 16 namespace browser { |
| 16 struct NavigateParams; | 17 struct NavigateParams; |
| 17 } | 18 } |
| 18 | 19 |
| 19 // Browsertest class for testing the browser navigation. It is also a base class | 20 // Browsertest class for testing the browser navigation. It is also a base class |
| 20 // for the |BrowserGuestModeNavigation| which tests navigation while in guest | 21 // for the |BrowserGuestModeNavigation| which tests navigation while in guest |
| 21 // mode. | 22 // mode. |
| 22 class BrowserNavigatorTest : public InProcessBrowserTest, | 23 class BrowserNavigatorTest : public InProcessBrowserTest, |
| 23 public content::NotificationObserver { | 24 public content::NotificationObserver { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 36 | 37 |
| 37 // content::NotificationObserver: | 38 // content::NotificationObserver: |
| 38 virtual void Observe(int type, | 39 virtual void Observe(int type, |
| 39 const content::NotificationSource& source, | 40 const content::NotificationSource& source, |
| 40 const content::NotificationDetails& details) OVERRIDE; | 41 const content::NotificationDetails& details) OVERRIDE; |
| 41 | 42 |
| 42 size_t created_tab_contents_count_; | 43 size_t created_tab_contents_count_; |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | 46 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| OLD | NEW |