Chromium Code Reviews| Index: chrome/browser/ui/browser_navigator_browsertest.h |
| diff --git a/chrome/browser/ui/browser_navigator_browsertest.h b/chrome/browser/ui/browser_navigator_browsertest.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..09a3759b580526f97079288e7f2cf93ed354f8a7 |
| --- /dev/null |
| +++ b/chrome/browser/ui/browser_navigator_browsertest.h |
| @@ -0,0 +1,43 @@ |
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| +#define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| + |
| +#include "chrome/browser/ui/browser.h" |
| +#include "chrome/common/notification_type.h" |
| +#include "chrome/test/in_process_browser_test.h" |
| + |
| +class GURL; |
| +class NotificationDetails; |
| +class NotificationSource; |
| +class Profile; |
| +class TabContentsWrapper; |
| + |
| +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.
|
| + |
| +// Browsertest class for testing the browser navigation. It is also a base class |
| +// for the |BrowserGuestModeNavigation| which tests navigation while in guest |
| +// mode. |
| +class BrowserNavigatorTest : public InProcessBrowserTest, |
| + public NotificationObserver { |
| + protected: |
| + GURL GetGoogleURL() const; |
| + |
| + browser::NavigateParams MakeNavigateParams() const; |
| + browser::NavigateParams MakeNavigateParams(Browser* browser) const; |
| + |
| + Browser* CreateEmptyBrowserForType(Browser::Type type, Profile* profile); |
| + |
| + TabContentsWrapper* CreateTabContents(); |
| + |
| + void RunSuppressTest(WindowOpenDisposition disposition); |
| + |
| + void Observe(NotificationType type, const NotificationSource& source, |
| + const NotificationDetails& details); |
| + |
| + size_t created_tab_contents_count_; |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |