summaryrefslogtreecommitdiffstats
path: root/chrome/views/window/dialog_client_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-23 21:55:52 +0000
commita8111ce7343d3d6458eff4a5f370cf611f6753b4 (patch)
tree30dfb0171c2e450f0271d3c787ac0cfbc06e663b /chrome/views/window/dialog_client_view.h
parente48211e18675bec9056fb0762ec1c6644b0ff32e (diff)
downloadchromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.zip
chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.gz
chromium_src-a8111ce7343d3d6458eff4a5f370cf611f6753b4.tar.bz2
The death knell for the old native buttons, checkboxes and radio buttons.
Replace with renamed NativeButton2, Checkbox2, RadioButton2. Review URL: http://codereview.chromium.org/50083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12317 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/window/dialog_client_view.h')
-rw-r--r--chrome/views/window/dialog_client_view.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/views/window/dialog_client_view.h b/chrome/views/window/dialog_client_view.h
index 5f1417c..bfea8e0 100644
--- a/chrome/views/window/dialog_client_view.h
+++ b/chrome/views/window/dialog_client_view.h
@@ -7,12 +7,13 @@
#include "chrome/common/gfx/chrome_font.h"
#include "chrome/views/focus/focus_manager.h"
-#include "chrome/views/controls/button/native_button.h"
+#include "chrome/views/controls/button/button.h"
#include "chrome/views/window/client_view.h"
namespace views {
class DialogDelegate;
+class NativeButton;
class Window;
///////////////////////////////////////////////////////////////////////////////
@@ -25,7 +26,7 @@ class Window;
// buttons.
//
class DialogClientView : public ClientView,
- public NativeButton::Listener,
+ public ButtonListener,
public FocusChangeListener {
public:
DialogClientView(Window* window, View* contents_view);
@@ -67,8 +68,8 @@ class DialogClientView : public ClientView,
virtual gfx::Size GetPreferredSize();
virtual bool AcceleratorPressed(const Accelerator& accelerator);
- // NativeButton::Listener implementation:
- virtual void ButtonPressed(NativeButton* sender);
+ // ButtonListener implementation:
+ virtual void ButtonPressed(Button* sender);
private:
// Paint the size box in the bottom right corner of the window if it is
@@ -114,7 +115,7 @@ class DialogClientView : public ClientView,
static void InitClass();
static ChromeFont dialog_button_font_;
- DISALLOW_EVIL_CONSTRUCTORS(DialogClientView);
+ DISALLOW_COPY_AND_ASSIGN(DialogClientView);
};
} // namespace views