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

Side by Side Diff: chrome/browser/gtk/certificate_manager.h

Issue 2730016: gtk: Remember which page user viewed last in the Certificate Manager window. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: review Created 10 years, 6 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
« no previous file with comments | « chrome/browser/browser_prefs.cc ('k') | chrome/browser/gtk/certificate_manager.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_CERTIFICATE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_
6 #define CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_ 6 #define CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_
7 7
8 #include "gfx/native_widget_types.h" 8 #include "gfx/native_widget_types.h"
9 9
10 void ShowCertificateManager(gfx::NativeWindow parent); 10 class Profile;
11 class PrefService;
12
13 // An identifier for the Certificate Manager window. These are treated as
14 // indices into the list of available tabs to be displayed.
15 // PAGE_DEFAULT means select the last tab viewed when the Certificate Manager
16 // window was opened, or PAGE_USER if the Certificate Manager was never opened.
17 enum CertificateManagerPage {
18 PAGE_DEFAULT = -1,
19 PAGE_USER,
20 PAGE_EMAIL,
21 PAGE_SERVER,
22 PAGE_CA,
23 PAGE_UNKNOWN,
24 PAGE_COUNT
25 };
26
27 namespace certificate_manager_util {
28
29 void RegisterUserPrefs(PrefService* prefs);
30
31 } // namespace certificate_manager_util
32
33 void ShowCertificateManager(gfx::NativeWindow parent, Profile* profile,
34 CertificateManagerPage page);
11 35
12 #endif // CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_ 36 #endif // CHROME_BROWSER_GTK_CERTIFICATE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_prefs.cc ('k') | chrome/browser/gtk/certificate_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698