| 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_PAGE_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ | 6 #define CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_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/prefs/pref_member.h" | 15 #include "chrome/browser/prefs/pref_member.h" |
| 16 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 17 #include "chrome/common/notification_observer.h" | 17 #include "chrome/common/notification_observer.h" |
| 18 | 18 |
| 19 class PasswordsPageGtk : public NotificationObserver { | 19 class PasswordsPageGtk : public NotificationObserver { |
| 20 public: | 20 public: |
| 21 explicit PasswordsPageGtk(Profile* profile); | 21 explicit PasswordsPageGtk(Profile* profile); |
| 22 virtual ~PasswordsPageGtk(); | 22 virtual ~PasswordsPageGtk(); |
| 23 | 23 |
| 24 GtkWidget* get_page_widget() const { return page_; } | 24 GtkWidget* get_page_widget() const { return page_; } |
| 25 | 25 |
| 26 private: | 26 private: |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 GtkWidget* page_; | 104 GtkWidget* page_; |
| 105 | 105 |
| 106 Profile* profile_; | 106 Profile* profile_; |
| 107 BooleanPrefMember allow_show_passwords_; | 107 BooleanPrefMember allow_show_passwords_; |
| 108 std::vector<webkit_glue::PasswordForm*> password_list_; | 108 std::vector<webkit_glue::PasswordForm*> password_list_; |
| 109 | 109 |
| 110 DISALLOW_COPY_AND_ASSIGN(PasswordsPageGtk); | 110 DISALLOW_COPY_AND_ASSIGN(PasswordsPageGtk); |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ | 113 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ |
| OLD | NEW |