1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/first_run/steps/greeting_step.h"
7 #include "ash/first_run/first_run_helper.h"
8 #include "chrome/browser/chromeos/first_run/step_names.h"
9 #include "chrome/browser/ui/webui/chromeos/first_run/first_run_actor.h"
10 #include "ui/gfx/rect.h"
15 GreetingStep::GreetingStep(ash::FirstRunHelper
* shell_helper
,
17 : Step(kGreetingStep
, shell_helper
, actor
) {
20 void GreetingStep::Show() {
21 actor()->ShowStepPositioned(name(), FirstRunActor::StepPosition());
24 void GreetingStep::OnBeforeHide() {
25 actor()->SetBackgroundVisible(true);
28 } // namespace first_run
29 } // namespace chromeos