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

Unified Diff: chrome/browser/views/options/passwords_page_view.h

Issue 243054: Change ConfirmMessageBoxDialog to just be a native view (it was only windows ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/views/options/passwords_page_view.h
===================================================================
--- chrome/browser/views/options/passwords_page_view.h (revision 27503)
+++ chrome/browser/views/options/passwords_page_view.h (working copy)
@@ -11,8 +11,9 @@
#include "app/table_model.h"
#include "base/scoped_ptr.h"
#include "base/stl_util-inl.h"
+#include "chrome/browser/password_manager/password_store.h"
+#include "chrome/browser/views/confirm_message_box_dialog.h"
#include "chrome/browser/views/options/options_page_view.h"
-#include "chrome/browser/password_manager/password_store.h"
#include "views/controls/button/native_button.h"
#include "views/controls/label.h"
#include "views/controls/table/table_view.h"
@@ -145,7 +146,8 @@
class PasswordsPageView : public OptionsPageView,
public views::TableViewObserver,
public views::ButtonListener,
- public PasswordsTableModelObserver {
+ public PasswordsTableModelObserver,
+ public ConfirmMessageBoxObserver {
public:
explicit PasswordsPageView(Profile* profile);
@@ -158,6 +160,9 @@
// PasswordsTableModelObserver implementation.
virtual void OnRowCountChanged(size_t rows);
+ // ConfirmMessageBoxObserver implementation.
+ virtual void OnConfirmMessageAccept();
+
protected:
virtual void InitControlLayout();
« no previous file with comments | « chrome/browser/views/confirm_message_box_dialog.cc ('k') | chrome/browser/views/options/passwords_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698