| OLD | NEW |
| 1 // Copyright (c) 2011 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_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/basictypes.h" |
| 10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
| 11 | 11 |
| 12 namespace options2 { | 12 namespace options2 { |
| 13 | 13 |
| 14 class OptionsBrowserTest : public InProcessBrowserTest { | 14 class OptionsBrowserTest : public InProcessBrowserTest { |
| 15 public: | 15 public: |
| 16 OptionsBrowserTest(); | 16 OptionsBrowserTest(); |
| 17 | 17 |
| 18 // Navigate to the settings tab and block until complete. | 18 // Navigate to the settings tab and block until complete. |
| 19 void NavigateToSettings(); | 19 void NavigateToSettings(); |
| 20 | 20 |
| 21 // Check navbar's existence. | 21 // Check navbar's existence. |
| 22 void VerifyNavbar(); | 22 void VerifyNavbar(); |
| 23 | 23 |
| 24 // Verify that the page title is correct. | 24 // Verify that the page title is correct. |
| 25 // The only guarantee we can make about the title of a settings tab is that | 25 // The only guarantee we can make about the title of a settings tab is that |
| 26 // it should contain IDS_SETTINGS_TITLE somewhere. | 26 // it should contain IDS_SETTINGS_TITLE somewhere. |
| 27 void VerifyTitle(); | 27 void VerifyTitle(); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace options2 | 30 } // namespace options2 |
| 31 | 31 |
| 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ | 32 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_OPTIONS_UI2_BROWSERTEST_H_ |
| OLD | NEW |