| OLD | NEW |
| 1 // Copyright (c) 2010 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_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ |
| 6 #define CHROME_BROWSER_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ | 6 #define CHROME_BROWSER_UI_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
| 10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
| 11 | 11 |
| 12 // A specialized container derived from GtkHBox, which can shrink or hide its | 12 // A specialized container derived from GtkHBox, which can shrink or hide its |
| 13 // children one by one to fit into its width. | 13 // children one by one to fit into its width. |
| 14 // | 14 // |
| 15 // Limitations of this container: | 15 // Limitations of this container: |
| 16 // - All children should have the same pack type, otherwise they may be | 16 // - All children should have the same pack type, otherwise they may be |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 void gtk_chrome_shrinkable_hbox_pack_end(GtkChromeShrinkableHBox* box, | 78 void gtk_chrome_shrinkable_hbox_pack_end(GtkChromeShrinkableHBox* box, |
| 79 GtkWidget* child, | 79 GtkWidget* child, |
| 80 guint padding); | 80 guint padding); |
| 81 | 81 |
| 82 gint gtk_chrome_shrinkable_hbox_get_visible_child_count( | 82 gint gtk_chrome_shrinkable_hbox_get_visible_child_count( |
| 83 GtkChromeShrinkableHBox* box); | 83 GtkChromeShrinkableHBox* box); |
| 84 | 84 |
| 85 G_END_DECLS | 85 G_END_DECLS |
| 86 | 86 |
| 87 #endif // CHROME_BROWSER_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ | 87 #endif // CHROME_BROWSER_UI_GTK_GTK_CHROME_SHRINKABLE_HBOX_H_ |
| OLD | NEW |