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

Side by Side Diff: chrome/browser/gtk/options/passwords_page_gtk.h

Issue 5648004: Add the "virtual" keyword on method overrides that are missing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing file Created 10 years 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/collected_cookies_gtk.h ('k') | chrome/browser/gtk/overflow_button.h » ('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_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
(...skipping 20 matching lines...) Expand all
31 PasswordStore* GetPasswordStore(); 31 PasswordStore* GetPasswordStore();
32 32
33 // Sets the password list contents to the given data. We take ownership of 33 // Sets the password list contents to the given data. We take ownership of
34 // the PasswordForms in the vector. 34 // the PasswordForms in the vector.
35 void SetPasswordList(const std::vector<webkit_glue::PasswordForm*>& result); 35 void SetPasswordList(const std::vector<webkit_glue::PasswordForm*>& result);
36 36
37 // Helper that hides the password. 37 // Helper that hides the password.
38 void HidePassword(); 38 void HidePassword();
39 39
40 // NotificationObserver implementation. 40 // NotificationObserver implementation.
41 void Observe(NotificationType type, 41 virtual void Observe(NotificationType type,
42 const NotificationSource& source, 42 const NotificationSource& source,
43 const NotificationDetails& details); 43 const NotificationDetails& details);
44 44
45 // Handles changes to the observed preferences and updates the UI. 45 // Handles changes to the observed preferences and updates the UI.
46 void OnPrefChanged(const std::string& pref_name); 46 void OnPrefChanged(const std::string& pref_name);
47 47
48 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveButtonClicked); 48 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveButtonClicked);
49 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveAllButtonClicked); 49 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveAllButtonClicked);
50 CHROMEGTK_CALLBACK_1(PasswordsPageGtk, void, OnRemoveAllConfirmResponse, int); 50 CHROMEGTK_CALLBACK_1(PasswordsPageGtk, void, OnRemoveAllConfirmResponse, int);
51 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonClicked); 51 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonClicked);
52 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonRealized); 52 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonRealized);
53 53
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/collected_cookies_gtk.h ('k') | chrome/browser/gtk/overflow_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698