| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ | 5 #ifndef ASH_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ |
| 6 #define ASH_COMMON_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ | 6 #define ASH_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/gfx/geometry/size.h" | 9 #include "ui/gfx/geometry/size.h" |
| 10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
| 11 #include "ui/views/view.h" | 11 #include "ui/views/view.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 namespace tray { | 14 namespace tray { |
| 15 | 15 |
| 16 // A custom image view with rounded edges. | 16 // A custom image view with rounded edges. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 gfx::ImageSkia resized_; | 40 gfx::ImageSkia resized_; |
| 41 gfx::Size image_size_; | 41 gfx::Size image_size_; |
| 42 int corner_radius_[4]; | 42 int corner_radius_[4]; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(RoundedImageView); | 44 DISALLOW_COPY_AND_ASSIGN(RoundedImageView); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace tray | 47 } // namespace tray |
| 48 } // namespace ash | 48 } // namespace ash |
| 49 | 49 |
| 50 #endif // ASH_COMMON_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ | 50 #endif // ASH_SYSTEM_USER_ROUNDED_IMAGE_VIEW_H_ |
| OLD | NEW |