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 #if defined(OS_CHROMEOS) |
| 15 |
| 16 // Handles display of OOBE Goodies page on first display of browser window on |
| 17 // new Chromebooks. |
| 18 class GoodiesDisplayer : public chrome::BrowserListObserver { |
| 19 public: |
| 20 GoodiesDisplayer(); |
| 21 |
| 22 ~GoodiesDisplayer() override {} |
| 23 |
| 24 void OnBrowserSetLastActive(Browser* browser) override; |
| 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(GoodiesDisplayer); |
| 27 }; |
| 28 |
| 29 #endif // defined(OS_CHROMEOS) |
| 30 |
| 31 void InitializeGoodiesDisplayer(); |
| 32 |
| 33 } // namespace first_run |
| 34 } // namespace chromeos |
| 35 |
| 36 #endif // CHROME_BROWSER_CHROMEOS_FIRST_RUN_GOODIES_DISPLAYER_H_ |
OLD | NEW |