summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/options/options_ui_browsertest.h
blob: 2d5a822487942a3779b7ade40e5eea8d78a18206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2012 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_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_

#include "base/basictypes.h"
#include "chrome/test/base/in_process_browser_test.h"

namespace options {

class OptionsBrowserTest : public InProcessBrowserTest {
 public:
  OptionsBrowserTest();

  // Navigate to the settings tab and block until complete.
  void NavigateToSettings();

  // Check navbar's existence.
  void VerifyNavbar();

  // Verify that the page title is correct.
  // The only guarantee we can make about the title of a settings tab is that
  // it should contain IDS_SETTINGS_TITLE somewhere.
  void VerifyTitle();
};

}  // namespace options

#endif  // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_BROWSERTEST_H_