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 CHROME_BROWSER_INFOBARS_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_INFOBARS_INFOBAR_H_ |
6 #define CHROME_BROWSER_INFOBARS_INFOBAR_H_ | 6 #define CHROME_BROWSER_INFOBARS_INFOBAR_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/browser/infobars/infobar_delegate.h" | 13 #include "chrome/browser/api/infobars/infobar_delegate.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
15 #include "ui/base/animation/animation_delegate.h" | 15 #include "ui/base/animation/animation_delegate.h" |
16 #include "ui/base/animation/slide_animation.h" | 16 #include "ui/base/animation/slide_animation.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 | 18 |
19 // TODO(sail): These functions should be static methods in the InfoBar class | 19 // TODO(sail): These functions should be static methods in the InfoBar class |
20 // below once all platforms use that class. | 20 // below once all platforms use that class. |
21 SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type); | 21 SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type); |
22 SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type); | 22 SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type); |
23 | 23 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 int bar_target_height_; | 133 int bar_target_height_; |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(InfoBar); | 135 DISALLOW_COPY_AND_ASSIGN(InfoBar); |
136 }; | 136 }; |
137 | 137 |
138 #elif defined(OS_MACOSX) | 138 #elif defined(OS_MACOSX) |
139 #include "chrome/browser/ui/cocoa/infobars/infobar.h" | 139 #include "chrome/browser/ui/cocoa/infobars/infobar.h" |
140 #endif | 140 #endif |
141 | 141 |
142 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_H_ | 142 #endif // CHROME_BROWSER_INFOBARS_INFOBAR_H_ |
OLD | NEW |