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

Unified Diff: chrome/browser/views/password_manager_exceptions_view.h

Issue 43147: Merge 11279 - Added a PasswordManagerTableModelObserver to listen for row cou... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/169/src/
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/password_manager_exceptions_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/password_manager_exceptions_view.h
===================================================================
--- chrome/browser/views/password_manager_exceptions_view.h (revision 11543)
+++ chrome/browser/views/password_manager_exceptions_view.h (working copy)
@@ -38,7 +38,8 @@
class PasswordManagerExceptionsView : public views::View,
public views::DialogDelegate,
public views::TableViewObserver,
- public views::NativeButton::Listener {
+ public views::NativeButton::Listener,
+ public PasswordManagerTableModelObserver {
public:
explicit PasswordManagerExceptionsView(Profile* profile);
virtual ~PasswordManagerExceptionsView();
@@ -68,6 +69,9 @@
virtual void WindowClosing();
virtual views::View* GetContentsView();
+ // PasswordManagerTableModelObserver implementation.
+ virtual void OnRowCountChanged(size_t rows);
+
private:
// Wire up buttons, the model, and the table view, and query the DB for
// exception data tied to the given profile.
@@ -87,6 +91,8 @@
views::NativeButton remove_button_;
views::NativeButton remove_all_button_;
+ static PasswordManagerExceptionsView* instance_;
+
DISALLOW_EVIL_CONSTRUCTORS(PasswordManagerExceptionsView);
};
#endif // CHROME_BROWSER_PASSWORD_MANAGER_EXCEPTIONS_VIEW_H__
« no previous file with comments | « no previous file | chrome/browser/views/password_manager_exceptions_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698