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

Side by Side Diff: ash/wm/boot_splash_screen_chromeos.h

Issue 2526333002: ash: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase Created 4 years 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
« no previous file with comments | « ash/touch/touch_uma.h ('k') | ash/wm/gestures/overview_gesture_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_ 5 #ifndef ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_
6 #define ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_ 6 #define ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 13
14 namespace aura { 14 namespace aura {
15 class WindowTreeHost; 15 class WindowTreeHost;
16 } 16 }
17 17
18 namespace ui { 18 namespace ui {
19 class Layer; 19 class Layer;
20 class LayerDelegate;
21 } 20 }
22 21
23 namespace ash { 22 namespace ash {
24 23
25 // BootSplashScreen manages a ui::Layer, stacked at the top of the root layer's 24 // BootSplashScreen manages a ui::Layer, stacked at the top of the root layer's
26 // children, that displays a copy of the initial contents of the host window. 25 // children, that displays a copy of the initial contents of the host window.
27 // This allows us to continue displaying the Chrome OS boot splash screen (which 26 // This allows us to continue displaying the Chrome OS boot splash screen (which
28 // is displayed before Ash starts) after the compositor has taken over so we can 27 // is displayed before Ash starts) after the compositor has taken over so we can
29 // animate the transition between the splash screen and the login screen. 28 // animate the transition between the splash screen and the login screen.
30 class BootSplashScreen { 29 class BootSplashScreen {
(...skipping 11 matching lines...) Expand all
42 std::unique_ptr<CopyHostContentLayerDelegate> layer_delegate_; 41 std::unique_ptr<CopyHostContentLayerDelegate> layer_delegate_;
43 42
44 std::unique_ptr<ui::Layer> layer_; 43 std::unique_ptr<ui::Layer> layer_;
45 44
46 DISALLOW_COPY_AND_ASSIGN(BootSplashScreen); 45 DISALLOW_COPY_AND_ASSIGN(BootSplashScreen);
47 }; 46 };
48 47
49 } // namespace ash 48 } // namespace ash
50 49
51 #endif // ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_ 50 #endif // ASH_WM_BOOT_SPLASH_SCREEN_CHROMEOS_H_
OLDNEW
« no previous file with comments | « ash/touch/touch_uma.h ('k') | ash/wm/gestures/overview_gesture_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698