| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |