Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chrome/browser/chromeos/first_run/goodies_displayer.h

Issue 1308833004: Show Goodies page to new Chromebook users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer comments: Round 3 Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698