OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SHELL_FACTORY_H_ | 5 #ifndef ASH_SHELL_FACTORY_H_ |
6 #define ASH_SHELL_FACTORY_H_ | 6 #define ASH_SHELL_FACTORY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 #include "ash/desktop_background/desktop_background_resources.h" | 10 #include "ash/desktop_background/desktop_background_resources.h" |
11 | 11 |
12 class SkBitmap; | 12 class SkBitmap; |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 class View; | 15 class View; |
16 class Widget; | 16 class Widget; |
17 } | 17 } |
18 | 18 |
19 // Declarations of shell component factory functions. | 19 // Declarations of shell component factory functions. |
20 | 20 |
21 namespace ash { | 21 namespace ash { |
22 | 22 |
23 namespace internal { | 23 namespace internal { |
24 views::Widget* CreateDesktopBackground(const SkBitmap& wallpaper, | 24 void CreateDesktopBackground(const SkBitmap& wallpaper, ImageLayout layout); |
25 ImageLayout layout); | |
26 ASH_EXPORT views::Widget* CreateStatusArea(views::View* contents); | 25 ASH_EXPORT views::Widget* CreateStatusArea(views::View* contents); |
27 } // namespace internal | 26 } // namespace internal |
28 | 27 |
29 } // namespace ash | 28 } // namespace ash |
30 | 29 |
31 | 30 |
32 #endif // ASH_SHELL_FACTORY_H_ | 31 #endif // ASH_SHELL_FACTORY_H_ |
OLD | NEW |