OLD | NEW |
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_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ |
6 #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "app/gtk_signal.h" | 13 #include "app/gtk_signal.h" |
14 #include "chrome/browser/password_manager/password_store.h" | 14 #include "chrome/browser/password_manager/password_store.h" |
15 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 | 16 |
17 // A page in the show saved passwords dialog that lists what sites we never | 17 // A page in the show saved passwords dialog that lists what sites we never |
18 // show passwords for, with controls for the user to add/remove sites from that | 18 // show passwords for, with controls for the user to add/remove sites from that |
19 // list. | 19 // list. |
20 class PasswordsExceptionsPageGtk { | 20 class PasswordsExceptionsPageGtk { |
21 public: | 21 public: |
22 explicit PasswordsExceptionsPageGtk(Profile* profile); | 22 explicit PasswordsExceptionsPageGtk(Profile* profile); |
23 virtual ~PasswordsExceptionsPageGtk(); | 23 virtual ~PasswordsExceptionsPageGtk(); |
24 | 24 |
25 GtkWidget* get_page_widget() const { return page_; } | 25 GtkWidget* get_page_widget() const { return page_; } |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // The parent GtkHBox widget. | 85 // The parent GtkHBox widget. |
86 GtkWidget* page_; | 86 GtkWidget* page_; |
87 | 87 |
88 Profile* profile_; | 88 Profile* profile_; |
89 std::vector<webkit_glue::PasswordForm*> exception_list_; | 89 std::vector<webkit_glue::PasswordForm*> exception_list_; |
90 | 90 |
91 DISALLOW_COPY_AND_ASSIGN(PasswordsExceptionsPageGtk); | 91 DISALLOW_COPY_AND_ASSIGN(PasswordsExceptionsPageGtk); |
92 }; | 92 }; |
93 | 93 |
94 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ | 94 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_EXCEPTIONS_PAGE_GTK_H_ |
OLD | NEW |