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

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

Issue 3149033: Linux: set the size of the "show password" button in the password manager after realizing it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | « no previous file | chrome/browser/gtk/options/passwords_page_gtk.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_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 18 matching lines...) Expand all
29 PasswordStore* GetPasswordStore(); 29 PasswordStore* GetPasswordStore();
30 30
31 // Sets the password list contents to the given data. We take ownership of 31 // Sets the password list contents to the given data. We take ownership of
32 // the PasswordForms in the vector. 32 // the PasswordForms in the vector.
33 void SetPasswordList(const std::vector<webkit_glue::PasswordForm*>& result); 33 void SetPasswordList(const std::vector<webkit_glue::PasswordForm*>& result);
34 34
35 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveButtonClicked); 35 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveButtonClicked);
36 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveAllButtonClicked); 36 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnRemoveAllButtonClicked);
37 CHROMEGTK_CALLBACK_1(PasswordsPageGtk, void, OnRemoveAllConfirmResponse, int); 37 CHROMEGTK_CALLBACK_1(PasswordsPageGtk, void, OnRemoveAllConfirmResponse, int);
38 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonClicked); 38 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonClicked);
39 CHROMEGTK_CALLBACK_0(PasswordsPageGtk, void, OnShowPasswordButtonRealized);
39 40
40 CHROMEG_CALLBACK_0(PasswordsPageGtk, void, OnPasswordSelectionChanged, 41 CHROMEG_CALLBACK_0(PasswordsPageGtk, void, OnPasswordSelectionChanged,
41 GtkTreeSelection*); 42 GtkTreeSelection*);
42 43
43 // Sorting functions. 44 // Sorting functions.
44 static gint CompareSite(GtkTreeModel* model, 45 static gint CompareSite(GtkTreeModel* model,
45 GtkTreeIter* a, GtkTreeIter* b, 46 GtkTreeIter* a, GtkTreeIter* b,
46 gpointer window); 47 gpointer window);
47 static gint CompareUsername(GtkTreeModel* model, 48 static gint CompareUsername(GtkTreeModel* model,
48 GtkTreeIter* a, GtkTreeIter* b, 49 GtkTreeIter* a, GtkTreeIter* b,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // The parent GtkHBox widget and GtkWindow window. 90 // The parent GtkHBox widget and GtkWindow window.
90 GtkWidget* page_; 91 GtkWidget* page_;
91 92
92 Profile* profile_; 93 Profile* profile_;
93 std::vector<webkit_glue::PasswordForm*> password_list_; 94 std::vector<webkit_glue::PasswordForm*> password_list_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(PasswordsPageGtk); 96 DISALLOW_COPY_AND_ASSIGN(PasswordsPageGtk);
96 }; 97 };
97 98
98 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_ 99 #endif // CHROME_BROWSER_GTK_OPTIONS_PASSWORDS_PAGE_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/options/passwords_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698