| 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 UI_WM_CORE_IMAGE_GRID_H_ | 5 #ifndef UI_WM_CORE_IMAGE_GRID_H_ |
| 6 #define UI_WM_CORE_IMAGE_GRID_H_ | 6 #define UI_WM_CORE_IMAGE_GRID_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "ui/compositor/layer.h" | 11 #include "ui/compositor/layer.h" |
| 12 #include "ui/compositor/layer_delegate.h" | 12 #include "ui/compositor/layer_delegate.h" |
| 13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/geometry/size.h" |
| 14 #include "ui/gfx/image/image_skia.h" | 15 #include "ui/gfx/image/image_skia.h" |
| 15 #include "ui/gfx/size.h" | |
| 16 #include "ui/wm/wm_export.h" | 16 #include "ui/wm/wm_export.h" |
| 17 | 17 |
| 18 namespace gfx { | 18 namespace gfx { |
| 19 class Image; | 19 class Image; |
| 20 } // namespace gfx | 20 } // namespace gfx |
| 21 | 21 |
| 22 namespace wm { | 22 namespace wm { |
| 23 | 23 |
| 24 // An ImageGrid is a 3x3 array of ui::Layers, each containing an image. | 24 // An ImageGrid is a 3x3 array of ui::Layers, each containing an image. |
| 25 // | 25 // |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 scoped_ptr<ImagePainter> bottom_left_painter_; | 213 scoped_ptr<ImagePainter> bottom_left_painter_; |
| 214 scoped_ptr<ImagePainter> bottom_painter_; | 214 scoped_ptr<ImagePainter> bottom_painter_; |
| 215 scoped_ptr<ImagePainter> bottom_right_painter_; | 215 scoped_ptr<ImagePainter> bottom_right_painter_; |
| 216 | 216 |
| 217 DISALLOW_COPY_AND_ASSIGN(ImageGrid); | 217 DISALLOW_COPY_AND_ASSIGN(ImageGrid); |
| 218 }; | 218 }; |
| 219 | 219 |
| 220 } // namespace wm | 220 } // namespace wm |
| 221 | 221 |
| 222 #endif // UI_WM_CORE_IMAGE_GRID_H_ | 222 #endif // UI_WM_CORE_IMAGE_GRID_H_ |
| OLD | NEW |