OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
| 7 |
| 8 #include "chrome/browser/ui/browser_list.h" |
| 9 #include "chrome/browser/ui/browser_list_observer.h" |
| 10 |
| 11 namespace chromeos { |
| 12 namespace first_run { |
| 13 |
| 14 // Handles display of OOBE Goodies page on first display of browser window on |
| 15 // new Chromebooks. |
| 16 class GoodiesDisplayer : public chrome::BrowserListObserver { |
| 17 public: |
| 18 GoodiesDisplayer(); |
| 19 ~GoodiesDisplayer() override {} |
| 20 |
| 21 static void Init(); |
| 22 |
| 23 private: |
| 24 // Overridden from chrome::BrowserListObserver. |
| 25 void OnBrowserSetLastActive(Browser* browser) override; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(GoodiesDisplayer); |
| 28 }; |
| 29 |
| 30 } // namespace first_run |
| 31 } // namespace chromeos |
| 32 |
| 33 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
OLD | NEW |