diff options
Diffstat (limited to 'chrome/browser/views/first_run_view.cc')
-rw-r--r-- | chrome/browser/views/first_run_view.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/views/first_run_view.cc b/chrome/browser/views/first_run_view.cc index 72ed29a..ee1c715 100644 --- a/chrome/browser/views/first_run_view.cc +++ b/chrome/browser/views/first_run_view.cc @@ -53,8 +53,8 @@ FirstRunView::~FirstRunView() { } void FirstRunView::SetupControls() { - using ChromeViews::Label; - using ChromeViews::Link; + using views::Label; + using views::Link; default_browser_->SetIsSelected(true); @@ -95,7 +95,7 @@ void FirstRunView::SetupControls() { } gfx::Size FirstRunView::GetPreferredSize() { - return gfx::Size(ChromeViews::Window::GetLocalizedContentsSize( + return gfx::Size(views::Window::GetLocalizedContentsSize( IDS_FIRSTRUN_DIALOG_WIDTH_CHARS, IDS_FIRSTRUN_DIALOG_HEIGHT_LINES)); } @@ -150,7 +150,7 @@ void FirstRunView::Layout() { void FirstRunView::OpenCustomizeDialog() { // The customize dialog now owns the importer host object. - ChromeViews::Window::CreateChromeWindow( + views::Window::CreateChromeWindow( window()->GetHWND(), gfx::Rect(), new FirstRunCustomizeView(profile_, @@ -159,7 +159,7 @@ void FirstRunView::OpenCustomizeDialog() { default_browser_->IsSelected()))->Show(); } -void FirstRunView::LinkActivated(ChromeViews::Link* source, int event_flags) { +void FirstRunView::LinkActivated(views::Link* source, int event_flags) { OpenCustomizeDialog(); } @@ -167,7 +167,7 @@ std::wstring FirstRunView::GetWindowTitle() const { return l10n_util::GetString(IDS_FIRSTRUN_DLG_TITLE); } -ChromeViews::View* FirstRunView::GetContentsView() { +views::View* FirstRunView::GetContentsView() { return this; } |