summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/first_run_customize_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/first_run_customize_view.h')
-rw-r--r--chrome/browser/views/first_run_customize_view.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/chrome/browser/views/first_run_customize_view.h b/chrome/browser/views/first_run_customize_view.h
index 4a22cb6..69cf46e 100644
--- a/chrome/browser/views/first_run_customize_view.h
+++ b/chrome/browser/views/first_run_customize_view.h
@@ -63,16 +63,11 @@ class FirstRunCustomizeView : public FirstRunViewBase,
virtual void CustomizeCanceled() = 0;
};
- FirstRunCustomizeView(Profile* profile, ImporterHost* importer_host);
+ FirstRunCustomizeView(Profile* profile,
+ ImporterHost* importer_host,
+ CustomizeViewObserver* observer);
virtual ~FirstRunCustomizeView();
- void set_dialog(ChromeViews::Window* dialog) { dialog_ = dialog; }
-
- // Sets the object that receives UserAccept and UserCancel notifications.
- void set_observer(CustomizeViewObserver* observer) {
- customize_observer_ = observer;
- };
-
// Overridden from ChromeViews::View.
virtual void GetPreferredSize(CSize *out);
virtual void Layout();
@@ -90,13 +85,11 @@ class FirstRunCustomizeView : public FirstRunViewBase,
// Overridden from ChromeViews::WindowDelegate.
virtual std::wstring GetWindowTitle() const;
-
+ virtual ChromeViews::View* GetContentsView();
// Yes, we're modal.
// NOTE: if you change this you'll need to make sure it isn't possible to
// close the window while importing.
- virtual bool IsModal() const {
- return true;
- }
+ virtual bool IsModal() const { return true; }
private:
// Initializes the controls on the dialog.