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