OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 private: | 50 private: |
51 friend class FirstRunUIBrowserTest; | 51 friend class FirstRunUIBrowserTest; |
52 | 52 |
53 FirstRunController(); | 53 FirstRunController(); |
54 void Init(); | 54 void Init(); |
55 void Finalize(); | 55 void Finalize(); |
56 | 56 |
57 static FirstRunController* GetInstanceForTest(); | 57 static FirstRunController* GetInstanceForTest(); |
58 | 58 |
59 // Overriden from FirstRunActor::Delegate. | 59 // Overriden from FirstRunActor::Delegate. |
60 virtual void OnActorInitialized() OVERRIDE; | 60 virtual void OnActorInitialized() override; |
61 virtual void OnNextButtonClicked(const std::string& step_name) OVERRIDE; | 61 virtual void OnNextButtonClicked(const std::string& step_name) override; |
62 virtual void OnHelpButtonClicked() OVERRIDE; | 62 virtual void OnHelpButtonClicked() override; |
63 virtual void OnStepShown(const std::string& step_name) OVERRIDE; | 63 virtual void OnStepShown(const std::string& step_name) override; |
64 virtual void OnStepHidden(const std::string& step_name) OVERRIDE; | 64 virtual void OnStepHidden(const std::string& step_name) override; |
65 virtual void OnActorFinalized() OVERRIDE; | 65 virtual void OnActorFinalized() override; |
66 virtual void OnActorDestroyed() OVERRIDE; | 66 virtual void OnActorDestroyed() override; |
67 | 67 |
68 // Overriden from ash::FirstRunHelper::Observer. | 68 // Overriden from ash::FirstRunHelper::Observer. |
69 virtual void OnCancelled() OVERRIDE; | 69 virtual void OnCancelled() override; |
70 | 70 |
71 void RegisterSteps(); | 71 void RegisterSteps(); |
72 void ShowNextStep(); | 72 void ShowNextStep(); |
73 void AdvanceStep(); | 73 void AdvanceStep(); |
74 first_run::Step* GetCurrentStep() const; | 74 first_run::Step* GetCurrentStep() const; |
75 | 75 |
76 // The object providing interface to UI layer. It's not directly owned by | 76 // The object providing interface to UI layer. It's not directly owned by |
77 // FirstRunController. | 77 // FirstRunController. |
78 FirstRunActor* actor_; | 78 FirstRunActor* actor_; |
79 | 79 |
(...skipping 18 matching lines...) Expand all Loading... |
98 // Time when tutorial was started. | 98 // Time when tutorial was started. |
99 base::Time start_time_; | 99 base::Time start_time_; |
100 | 100 |
101 DISALLOW_COPY_AND_ASSIGN(FirstRunController); | 101 DISALLOW_COPY_AND_ASSIGN(FirstRunController); |
102 }; | 102 }; |
103 | 103 |
104 } // namespace chromeos | 104 } // namespace chromeos |
105 | 105 |
106 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ | 106 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_FIRST_RUN_CONTROLLER_H_ |
107 | 107 |
OLD | NEW |