| 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_FRAME_DEFAULT_HEADER_PAINTER_H_ | 5 #ifndef ASH_FRAME_DEFAULT_HEADER_PAINTER_H_ |
| 6 #define ASH_COMMON_FRAME_DEFAULT_HEADER_PAINTER_H_ | 6 #define ASH_FRAME_DEFAULT_HEADER_PAINTER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/frame/header_painter.h" | 11 #include "ash/frame/header_painter.h" |
| 12 #include "base/compiler_specific.h" // override | 12 #include "base/compiler_specific.h" // override |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 16 #include "ui/gfx/animation/animation_delegate.h" | 16 #include "ui/gfx/animation/animation_delegate.h" |
| 17 | 17 |
| 18 namespace gfx { | 18 namespace gfx { |
| 19 class Rect; | 19 class Rect; |
| 20 class SlideAnimation; | 20 class SlideAnimation; |
| 21 } | 21 } |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 // Whether the header is painted for the first time. | 111 // Whether the header is painted for the first time. |
| 112 bool initial_paint_; | 112 bool initial_paint_; |
| 113 | 113 |
| 114 std::unique_ptr<gfx::SlideAnimation> activation_animation_; | 114 std::unique_ptr<gfx::SlideAnimation> activation_animation_; |
| 115 | 115 |
| 116 DISALLOW_COPY_AND_ASSIGN(DefaultHeaderPainter); | 116 DISALLOW_COPY_AND_ASSIGN(DefaultHeaderPainter); |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 } // namespace ash | 119 } // namespace ash |
| 120 | 120 |
| 121 #endif // ASH_COMMON_FRAME_DEFAULT_HEADER_PAINTER_H_ | 121 #endif // ASH_FRAME_DEFAULT_HEADER_PAINTER_H_ |
| OLD | NEW |