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