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..19e8c3866d9e7da1d0c2015b7c5d2fbcb46c3119 |
| --- /dev/null |
| +++ b/chrome/browser/ui/browser_navigator_browsertest.h |
| @@ -0,0 +1,42 @@ |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
|
Evan Stade
2011/02/07 19:02:30
year
altimofeev
2011/02/08 14:21:00
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/ui/browser.h" |
| +#include "chrome/common/notification_type.h" |
| +#include "chrome/test/in_process_browser_test.h" |
| + |
| +#ifndef CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
|
Evan Stade
2011/02/07 19:02:30
put header guards outside of includes
altimofeev
2011/02/08 14:21:00
Done.
|
| +#define CHROME_BROWSER_UI_BROWSER_NAVIGATOR_BROWSERTEST_H_ |
| + |
| +class GURL; |
| +class NotificationDetails; |
| +class NotificationSource; |
| +class Profile; |
| +class TabContentsWrapper; |
| + |
| +namespace browser { |
| + class NavigateParams; |
|
Evan Stade
2011/02/07 19:02:30
nit: no indent in namespaces
altimofeev
2011/02/08 14:21:00
Done.
|
| +} // namespace browser |
| + |
| +class BrowserNavigatorTest : public InProcessBrowserTest, |
|
Evan Stade
2011/02/07 19:02:30
class comment (who uses this?)
altimofeev
2011/02/08 14:21:00
Done.
|
| + 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_ |