| 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 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 5 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "chrome/browser/chromeos/login/helper.h" | 8 #include "chrome/browser/chromeos/login/helper.h" |
| 9 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" | 9 #include "third_party/skia/include/effects/SkBlurMaskFilter.h" |
| 10 #include "third_party/skia/include/effects/SkGradientShader.h" | 10 #include "third_party/skia/include/effects/SkGradientShader.h" |
| 11 #include "ui/gfx/canvas_skia.h" | 11 #include "ui/gfx/canvas.h" |
| 12 #include "ui/gfx/skia_util.h" | 12 #include "ui/gfx/skia_util.h" |
| 13 #include "ui/views/border.h" | 13 #include "ui/views/border.h" |
| 14 #include "ui/views/painter.h" | 14 #include "ui/views/painter.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| 20 const SkColor kScreenTopColor = SkColorSetRGB(250, 251, 251); | 20 const SkColor kScreenTopColor = SkColorSetRGB(250, 251, 251); |
| 21 const SkColor kScreenBottomColor = SkColorSetRGB(204, 209, 212); | 21 const SkColor kScreenBottomColor = SkColorSetRGB(204, 209, 212); |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 views::Background* CreateRoundedBackground(int corner_radius, | 213 views::Background* CreateRoundedBackground(int corner_radius, |
| 214 int stroke_width, | 214 int stroke_width, |
| 215 SkColor background_color, | 215 SkColor background_color, |
| 216 SkColor stroke_color) { | 216 SkColor stroke_color) { |
| 217 return new RoundedBackground( | 217 return new RoundedBackground( |
| 218 corner_radius, stroke_width, background_color, stroke_color); | 218 corner_radius, stroke_width, background_color, stroke_color); |
| 219 } | 219 } |
| 220 | 220 |
| 221 } // namespace chromeos | 221 } // namespace chromeos |
| OLD | NEW |