| Index: chrome/browser/first_run/try_chrome_dialog_view.h
|
| diff --git a/chrome/browser/first_run/try_chrome_dialog_view.h b/chrome/browser/first_run/try_chrome_dialog_view.h
|
| index 1daa77f5b09642561913ac3deb94e20f551cc192..eb85b3ef09d44d2446fd0868dd7a8f58b8559033 100644
|
| --- a/chrome/browser/first_run/try_chrome_dialog_view.h
|
| +++ b/chrome/browser/first_run/try_chrome_dialog_view.h
|
| @@ -10,7 +10,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| -#include "ui/views/controls/button/button.h"
|
| +#include "ui/views/controls/button/image_button.h"
|
| #include "ui/views/controls/link_listener.h"
|
|
|
| namespace gfx {
|
| @@ -55,7 +55,7 @@ class Widget;
|
| // | [x] Make it the default browser [ OK ] |
|
| // +-----------------------------------------------+
|
|
|
| -class TryChromeDialogView : public views::ButtonListener,
|
| +class TryChromeDialogView : public views::ImageButtonDelegate,
|
| public views::LinkListener {
|
| public:
|
| // Receives a handle to the active modal dialog, or NULL when the active
|
| @@ -100,7 +100,7 @@ class TryChromeDialogView : public views::ButtonListener,
|
| // |h|. This is best effort, so we don't care much if the operation fails.
|
| void SetToastRegion(HWND window, int w, int h);
|
|
|
| - // views::ButtonListener:
|
| + // views::ImageButtonDelegate:
|
| // We have two buttons and according to what the user clicked we set |result_|
|
| // and we should always close and end the modal loop.
|
| void ButtonPressed(views::Button* sender, const ui::Event& event) override;
|
|
|