• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_OPTIONS_OPTIONS_WINDOW_H_
6 #define CHROME_BROWSER_UI_OPTIONS_OPTIONS_WINDOW_H_
7 #pragma once
8 
9 class Profile;
10 
11 // An identifier for a Options Tab page. These are treated as indices into
12 // the list of available tabs to be displayed. PAGE_DEFAULT means select the
13 // last tab viewed when the Options window was opened, or PAGE_GENERAL if the
14 // Options was never opened.
15 enum OptionsPage {
16   OPTIONS_PAGE_DEFAULT = -1,
17 #if defined(OS_CHROMEOS)
18   OPTIONS_PAGE_SYSTEM,
19   OPTIONS_PAGE_INTERNET,
20   OPTIONS_PAGE_ACCOUNTS,
21 #endif
22   OPTIONS_PAGE_GENERAL,
23   OPTIONS_PAGE_CONTENT,
24   OPTIONS_PAGE_ADVANCED,
25   OPTIONS_PAGE_COUNT
26 };
27 
28 // These are some well known groups within the Options dialog box that we may
29 // wish to highlight to attract the user's attention to.
30 enum OptionsGroup {
31   OPTIONS_GROUP_NONE,
32   OPTIONS_GROUP_DEFAULT_SEARCH
33 };
34 
35 #endif  // CHROME_BROWSER_UI_OPTIONS_OPTIONS_WINDOW_H_
36