| 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 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "chrome/browser/tab_contents/infobar_container.h" | 13 #include "chrome/browser/tab_contents/infobar_container.h" |
| 14 #include "chrome/browser/ui/gtk/owned_widget_gtk.h" | 14 #include "ui/base/gtk/owned_widget_gtk.h" |
| 15 | 15 |
| 16 class InfoBar; | 16 class InfoBar; |
| 17 class InfoBarGtk; | 17 class InfoBarGtk; |
| 18 class InfoBarDelegate; | 18 class InfoBarDelegate; |
| 19 class Profile; | 19 class Profile; |
| 20 | 20 |
| 21 namespace gfx { | 21 namespace gfx { |
| 22 class Rect; | 22 class Rect; |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 InfoBarGtk* source); | 79 InfoBarGtk* source); |
| 80 | 80 |
| 81 // The profile for the browser that hosts this InfoBarContainer. | 81 // The profile for the browser that hosts this InfoBarContainer. |
| 82 Profile* profile_; | 82 Profile* profile_; |
| 83 | 83 |
| 84 // A list of the InfoBarGtk* instances. Used during drawing to determine | 84 // A list of the InfoBarGtk* instances. Used during drawing to determine |
| 85 // which InfoBarGtk supplies information about drawing the arrows. | 85 // which InfoBarGtk supplies information about drawing the arrows. |
| 86 std::vector<InfoBarGtk*> infobars_gtk_; | 86 std::vector<InfoBarGtk*> infobars_gtk_; |
| 87 | 87 |
| 88 // VBox that holds the info bars. | 88 // VBox that holds the info bars. |
| 89 OwnedWidgetGtk container_; | 89 ui::OwnedWidgetGtk container_; |
| 90 | 90 |
| 91 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerGtk); | 91 DISALLOW_COPY_AND_ASSIGN(InfoBarContainerGtk); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ | 94 #endif // CHROME_BROWSER_UI_GTK_INFOBARS_INFOBAR_CONTAINER_GTK_H_ |
| OLD | NEW |