Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: chrome/browser/ui/webui/options/options_ui_uitest.h

Issue 9814030: get rid of old options pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_OPTIONS_OPTIONS_UI_UITEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_UITEST_H_
7 #pragma once
8
9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/test/ui/ui_test.h"
11
12 class TabProxy;
13
14 class OptionsUITest : public UITest {
15 public:
16 OptionsUITest();
17
18 // Navigate to the settings tab and block until complete.
19 void NavigateToSettings(scoped_refptr<TabProxy> tab);
20
21 // Check navbar's existence.
22 void VerifyNavbar(scoped_refptr<TabProxy> tab);
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(scoped_refptr<TabProxy> tab);
28
29 // Check section headers in navbar.
30 // For ChromeOS, there should be 1 + 7:
31 // Search, Basics, Personal, System, Internet, Under the Hood,
32 // Users and Extensions.
33 // For other platforms, there should 1 + 4:
34 // Search, Basics, Personal, Under the Hood and Extensions.
35 void VerifySections(scoped_refptr<TabProxy> tab);
36 };
37
38 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_UITEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698