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

Side by Side Diff: chrome/browser/options_window.h

Issue 3142020: Changed ChromeOS status bar menu handlers to obey --enable-tabbed-options swi... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/browser/gtk/first_run_bubble.cc ('k') | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_OPTIONS_WINDOW_H__ 5 #ifndef CHROME_BROWSER_OPTIONS_WINDOW_H__
6 #define CHROME_BROWSER_OPTIONS_WINDOW_H__ 6 #define CHROME_BROWSER_OPTIONS_WINDOW_H__
7 #pragma once 7 #pragma once
8 8
9 class Profile; 9 class Profile;
10 10
11 // An identifier for a Options Tab page. These are treated as indices into 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 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 13 // last tab viewed when the Options window was opened, or PAGE_GENERAL if the
14 // Options was never opened. 14 // Options was never opened.
15 enum OptionsPage { 15 enum OptionsPage {
16 OPTIONS_PAGE_DEFAULT = -1, 16 OPTIONS_PAGE_DEFAULT = -1,
17 #if defined(OS_CHROMEOS) 17 #if defined(OS_CHROMEOS)
18 OPTIONS_PAGE_SYSTEM, 18 OPTIONS_PAGE_SYSTEM,
19 OPTIONS_PAGE_INTERNET, 19 OPTIONS_PAGE_INTERNET,
20 OPTIONS_PAGE_LANGUAGE,
20 #endif 21 #endif
21 OPTIONS_PAGE_GENERAL, 22 OPTIONS_PAGE_GENERAL,
22 OPTIONS_PAGE_CONTENT, 23 OPTIONS_PAGE_CONTENT,
23 OPTIONS_PAGE_ADVANCED, 24 OPTIONS_PAGE_ADVANCED,
24 OPTIONS_PAGE_COUNT 25 OPTIONS_PAGE_COUNT
25 }; 26 };
26 27
27 // These are some well known groups within the Options dialog box that we may 28 // These are some well known groups within the Options dialog box that we may
28 // wish to highlight to attract the user's attention to. 29 // wish to highlight to attract the user's attention to.
29 enum OptionsGroup { 30 enum OptionsGroup {
30 OPTIONS_GROUP_NONE, 31 OPTIONS_GROUP_NONE,
31 OPTIONS_GROUP_DEFAULT_SEARCH 32 OPTIONS_GROUP_DEFAULT_SEARCH
32 }; 33 };
33 34
34 // Show the Options window selecting the specified page. If an Options window 35 // Show the Options window selecting the specified page. If an Options window
35 // is currently open, this just activates it instead of opening a new one. 36 // is currently open, this just activates it instead of opening a new one.
36 void ShowOptionsWindow(OptionsPage page, 37 void ShowOptionsWindow(OptionsPage page,
37 OptionsGroup highlight_group, 38 OptionsGroup highlight_group,
38 Profile* profile); 39 Profile* profile);
39 40
40 #endif // CHROME_BROWSER_OPTIONS_WINDOW_H_ 41 #endif // CHROME_BROWSER_OPTIONS_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/first_run_bubble.cc ('k') | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698