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

Side by Side Diff: chrome/browser/views/first_run_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_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FIRST_RUN_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/browser/views/first_run_customize_view.h" 9 #include "chrome/browser/views/first_run_customize_view.h"
10 #include "chrome/views/dialog_delegate.h" 10 #include "chrome/views/dialog_delegate.h"
(...skipping 11 matching lines...) Expand all
22 // FirstRunView implements the dialog that welcomes to user to Chrome after 22 // FirstRunView implements the dialog that welcomes to user to Chrome after
23 // a fresh install. 23 // a fresh install.
24 class FirstRunView : public FirstRunViewBase, 24 class FirstRunView : public FirstRunViewBase,
25 public ChromeViews::LinkController, 25 public ChromeViews::LinkController,
26 public FirstRunCustomizeView::CustomizeViewObserver { 26 public FirstRunCustomizeView::CustomizeViewObserver {
27 public: 27 public:
28 explicit FirstRunView(Profile* profile); 28 explicit FirstRunView(Profile* profile);
29 virtual ~FirstRunView(); 29 virtual ~FirstRunView();
30 30
31 // Overridden from ChromeViews::View: 31 // Overridden from ChromeViews::View:
32 virtual void GetPreferredSize(CSize *out); 32 virtual gfx::Size GetPreferredSize();
33 virtual void Layout(); 33 virtual void Layout();
34 34
35 // Overridden from ChromeViews::DialogDelegate: 35 // Overridden from ChromeViews::DialogDelegate:
36 virtual bool Accept(); 36 virtual bool Accept();
37 virtual bool Cancel(); 37 virtual bool Cancel();
38 38
39 // Overridden from ChromeViews::WindowDelegate: 39 // Overridden from ChromeViews::WindowDelegate:
40 virtual std::wstring GetWindowTitle() const; 40 virtual std::wstring GetWindowTitle() const;
41 virtual ChromeViews::View* GetContentsView(); 41 virtual ChromeViews::View* GetContentsView();
42 42
(...skipping 15 matching lines...) Expand all
58 ChromeViews::Label* actions_label_; 58 ChromeViews::Label* actions_label_;
59 ChromeViews::Label* actions_import_; 59 ChromeViews::Label* actions_import_;
60 ChromeViews::Label* actions_shorcuts_; 60 ChromeViews::Label* actions_shorcuts_;
61 ChromeViews::Link* customize_link_; 61 ChromeViews::Link* customize_link_;
62 bool customize_selected_; 62 bool customize_selected_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(FirstRunView); 64 DISALLOW_COPY_AND_ASSIGN(FirstRunView);
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_ 67 #endif // CHROME_BROWSER_VIEWS_FIRST_RUN_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698