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 COMPONENTS_INFOBARS_CORE_INFOBAR_H_ | 5 #ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_H_ |
6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_H_ | 6 #define COMPONENTS_INFOBARS_CORE_INFOBAR_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "components/infobars/core/infobar_delegate.h" | 12 #include "components/infobars/core/infobar_delegate.h" |
12 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
13 #include "ui/gfx/animation/animation_delegate.h" | 14 #include "ui/gfx/animation/animation_delegate.h" |
14 #include "ui/gfx/animation/slide_animation.h" | 15 #include "ui/gfx/animation/slide_animation.h" |
15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
16 | 17 |
17 namespace infobars { | 18 namespace infobars { |
18 | 19 |
19 class InfoBarContainer; | 20 class InfoBarContainer; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int arrow_half_width_; // Includes only fill. | 134 int arrow_half_width_; // Includes only fill. |
134 int bar_height_; // Includes both fill and bottom separator. | 135 int bar_height_; // Includes both fill and bottom separator. |
135 int bar_target_height_; // May be left as -1, meaning "use default". | 136 int bar_target_height_; // May be left as -1, meaning "use default". |
136 | 137 |
137 DISALLOW_COPY_AND_ASSIGN(InfoBar); | 138 DISALLOW_COPY_AND_ASSIGN(InfoBar); |
138 }; | 139 }; |
139 | 140 |
140 } // namespace infobars | 141 } // namespace infobars |
141 | 142 |
142 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_H_ | 143 #endif // COMPONENTS_INFOBARS_CORE_INFOBAR_H_ |
OLD | NEW |