| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this. |
| 6 |
| 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ | 7 #ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ | 8 #define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ |
| 7 #pragma once | 9 #pragma once |
| 8 | 10 |
| 9 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 10 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 11 #include "ui/base/animation/animation_delegate.h" | 13 #include "ui/base/animation/animation_delegate.h" |
| 12 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
| 13 | 15 |
| 14 class InfoBarContainer; | 16 class InfoBarContainer; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 int arrow_height_; // Includes both fill and top stroke. | 110 int arrow_height_; // Includes both fill and top stroke. |
| 109 int arrow_target_height_; | 111 int arrow_target_height_; |
| 110 int arrow_half_width_; // Includes only fill. | 112 int arrow_half_width_; // Includes only fill. |
| 111 int bar_height_; // Includes both fill and bottom separator. | 113 int bar_height_; // Includes both fill and bottom separator. |
| 112 int bar_target_height_; | 114 int bar_target_height_; |
| 113 | 115 |
| 114 DISALLOW_COPY_AND_ASSIGN(InfoBar); | 116 DISALLOW_COPY_AND_ASSIGN(InfoBar); |
| 115 }; | 117 }; |
| 116 | 118 |
| 117 #endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ | 119 #endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_ |
| 120 |
| 121 #elif defined(TOOLKIT_USES_GTK) |
| 122 #include "chrome/browser/ui/gtk/infobars/infobar_gtk.h" |
| 123 #elif defined(OS_MACOSX) |
| 124 #include "chrome/browser/ui/cocoa/infobars/infobar.h" |
| 125 #endif |
| OLD | NEW |