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

Side by Side Diff: chrome/browser/views/password_manager_view.h

Issue 27191: Implements a method to enable/disable the "Remove All" button (Closed)
Patch Set: Created 11 years, 9 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 | « AUTHORS ('k') | chrome/browser/views/password_manager_view.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_PASSWORD_MANAGER_VIEW_H__ 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_VIEW_H__
6 #define CHROME_BROWSER_PASSWORD_MANAGER_VIEW_H__ 6 #define CHROME_BROWSER_PASSWORD_MANAGER_VIEW_H__
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 virtual ~PasswordManagerView(); 114 virtual ~PasswordManagerView();
115 115
116 // Show the PasswordManagerContentView for the given profile. 116 // Show the PasswordManagerContentView for the given profile.
117 static void Show(Profile* profile); 117 static void Show(Profile* profile);
118 118
119 // View methods. 119 // View methods.
120 virtual void Layout(); 120 virtual void Layout();
121 virtual gfx::Size GetPreferredSize(); 121 virtual gfx::Size GetPreferredSize();
122 virtual void ViewHierarchyChanged(bool is_add, views::View* parent, 122 virtual void ViewHierarchyChanged(bool is_add, views::View* parent,
123 views::View* child); 123 views::View* child);
124 virtual void SetRemoveAllEnabled(bool enabled);
124 125
125 // views::TableViewObserver implementation. 126 // views::TableViewObserver implementation.
126 virtual void OnSelectionChanged(); 127 virtual void OnSelectionChanged();
127 128
128 // NativeButton::Listener implementation. 129 // NativeButton::Listener implementation.
129 virtual void ButtonPressed(views::NativeButton* sender); 130 virtual void ButtonPressed(views::NativeButton* sender);
130 131
131 // views::DialogDelegate methods: 132 // views::DialogDelegate methods:
132 virtual int GetDialogButtons() const; 133 virtual int GetDialogButtons() const;
133 virtual bool CanResize() const; 134 virtual bool CanResize() const;
(...skipping 22 matching lines...) Expand all
156 // The buttons and labels. 157 // The buttons and labels.
157 MultiLabelButtons show_button_; 158 MultiLabelButtons show_button_;
158 views::NativeButton remove_button_; 159 views::NativeButton remove_button_;
159 views::NativeButton remove_all_button_; 160 views::NativeButton remove_all_button_;
160 views::Label password_label_; 161 views::Label password_label_;
161 162
162 DISALLOW_EVIL_CONSTRUCTORS(PasswordManagerView); 163 DISALLOW_EVIL_CONSTRUCTORS(PasswordManagerView);
163 }; 164 };
164 #endif // CHROME_BROWSER_PASSWORD_MANAGER_VIEW_H__ 165 #endif // CHROME_BROWSER_PASSWORD_MANAGER_VIEW_H__
165 166
OLDNEW
« no previous file with comments | « AUTHORS ('k') | chrome/browser/views/password_manager_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698