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

Side by Side Diff: chrome/browser/views/first_run_customize_view.h

Issue 7344: Convert GetPreferredSize from:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_
7 7
8 #include "chrome/browser/views/first_run_view_base.h" 8 #include "chrome/browser/views/first_run_view_base.h"
9 #include "chrome/views/combo_box.h" 9 #include "chrome/views/combo_box.h"
10 #include "chrome/views/dialog_delegate.h" 10 #include "chrome/views/dialog_delegate.h"
(...skipping 24 matching lines...) Expand all
35 virtual void CustomizeCanceled() = 0; 35 virtual void CustomizeCanceled() = 0;
36 }; 36 };
37 37
38 FirstRunCustomizeView(Profile* profile, 38 FirstRunCustomizeView(Profile* profile,
39 ImporterHost* importer_host, 39 ImporterHost* importer_host,
40 CustomizeViewObserver* observer, 40 CustomizeViewObserver* observer,
41 bool default_browser_checked); 41 bool default_browser_checked);
42 virtual ~FirstRunCustomizeView(); 42 virtual ~FirstRunCustomizeView();
43 43
44 // Overridden from ChromeViews::View. 44 // Overridden from ChromeViews::View.
45 virtual void GetPreferredSize(CSize *out); 45 virtual gfx::Size GetPreferredSize();
46 virtual void Layout(); 46 virtual void Layout();
47 47
48 // Overridden from ChromeViews::DialogDelegate. 48 // Overridden from ChromeViews::DialogDelegate.
49 virtual bool Accept(); 49 virtual bool Accept();
50 virtual bool Cancel(); 50 virtual bool Cancel();
51 51
52 // Overridden form ChromeViews::NativeButton::Listener. 52 // Overridden form ChromeViews::NativeButton::Listener.
53 virtual void ButtonPressed(ChromeViews::NativeButton* sender); 53 virtual void ButtonPressed(ChromeViews::NativeButton* sender);
54 54
55 // Overridden form ChromeViews::ComboBox::Model. 55 // Overridden form ChromeViews::ComboBox::Model.
(...skipping 21 matching lines...) Expand all
77 ChromeViews::CheckBox* desktop_shortcut_cbox_; 77 ChromeViews::CheckBox* desktop_shortcut_cbox_;
78 ChromeViews::CheckBox* quick_shortcut_cbox_; 78 ChromeViews::CheckBox* quick_shortcut_cbox_;
79 79
80 CustomizeViewObserver* customize_observer_; 80 CustomizeViewObserver* customize_observer_;
81 81
82 DISALLOW_COPY_AND_ASSIGN(FirstRunCustomizeView); 82 DISALLOW_COPY_AND_ASSIGN(FirstRunCustomizeView);
83 }; 83 };
84 84
85 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_ 85 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_CUSTOMIZE_VIEW_H_
86 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698