OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 ATHENA_SCREEN_BACKGROUND_CONTROLLER_H_ |
| 6 #define ATHENA_SCREEN_BACKGROUND_CONTROLLER_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 namespace aura { |
| 11 class Window; |
| 12 } |
| 13 |
| 14 namespace gfx { |
| 15 class ImageSkia; |
| 16 } |
| 17 |
| 18 namespace views { |
| 19 class Widget; |
| 20 } |
| 21 |
| 22 namespace athena { |
| 23 class BackgroundView; |
| 24 |
| 25 class BackgroundController { |
| 26 public: |
| 27 explicit BackgroundController(aura::Window* container); |
| 28 |
| 29 void SetImage(const gfx::ImageSkia& image); |
| 30 |
| 31 private: |
| 32 BackgroundView* background_view_; |
| 33 |
| 34 DISALLOW_COPY_AND_ASSIGN(BackgroundController); |
| 35 }; |
| 36 } |
| 37 |
| 38 #endif // ATHENA_SCREEN_BACKGROUND_CONTROLLER_H_ |
OLD | NEW |