Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | |
| 6 #define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | |
| 7 | |
| 8 #include "chrome/browser/ui/browser.h" | |
| 9 #include "chrome/common/notification_type.h" | |
| 10 #include "chrome/test/in_process_browser_test.h" | |
| 11 | |
| 12 class GURL; | |
| 13 class NotificationDetails; | |
| 14 class NotificationSource; | |
| 15 class Profile; | |
| 16 class TabContentsWrapper; | |
| 17 | |
| 18 namespace browser { class NavigateParams; } | |
|
Evan Stade
2011/02/08 23:11:43
what I meant when I said no indent was:
namespace
altimofeev
2011/02/09 08:12:41
Done.
| |
| 19 | |
| 20 // Browsertest class for testing the browser navigation. It is also a base class | |
| 21 // for the |BrowserGuestModeNavigation| which tests navigation while in guest | |
| 22 // mode. | |
| 23 class BrowserNavigatorTest : public InProcessBrowserTest, | |
| 24 public NotificationObserver { | |
| 25 protected: | |
| 26 GURL GetGoogleURL() const; | |
| 27 | |
| 28 browser::NavigateParams MakeNavigateParams() const; | |
| 29 browser::NavigateParams MakeNavigateParams(Browser* browser) const; | |
| 30 | |
| 31 Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); | |
| 32 | |
| 33 TabContentsWrapper* CreateTabContents(); | |
| 34 | |
| 35 void RunSuppressTest(WindowOpenDisposition disposition); | |
| 36 | |
| 37 void Observe(NotificationType type, const NotificationSource& source, | |
| 38 const NotificationDetails& details); | |
| 39 | |
| 40 size_t created_tab_contents_count_; | |
| 41 }; | |
| 42 | |
| 43 #endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ | |
| OLD | NEW |