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 #include "chrome/browser/gtk/gtk_expanded_container.h" | 5 #include "chrome/browser/ui/gtk/gtk_expanded_container.h" |
6 | 6 |
7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 |
8 #include <algorithm> | 9 #include <algorithm> |
9 | 10 |
10 namespace { | 11 namespace { |
11 | 12 |
12 enum { | 13 enum { |
13 CHILD_SIZE_REQUEST, | 14 CHILD_SIZE_REQUEST, |
14 LAST_SIGNAL | 15 LAST_SIGNAL |
15 }; | 16 }; |
16 | 17 |
17 guint expanded_container_signals[LAST_SIGNAL] = { 0 }; | 18 guint expanded_container_signals[LAST_SIGNAL] = { 0 }; |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 gtk_fixed_set_has_window(GTK_FIXED(container), has_window); | 184 gtk_fixed_set_has_window(GTK_FIXED(container), has_window); |
184 } | 185 } |
185 | 186 |
186 gboolean gtk_expanded_container_get_has_window( | 187 gboolean gtk_expanded_container_get_has_window( |
187 GtkExpandedContainer* container) { | 188 GtkExpandedContainer* container) { |
188 g_return_val_if_fail(GTK_IS_EXPANDED_CONTAINER(container), FALSE); | 189 g_return_val_if_fail(GTK_IS_EXPANDED_CONTAINER(container), FALSE); |
189 return gtk_fixed_get_has_window(GTK_FIXED(container)); | 190 return gtk_fixed_get_has_window(GTK_FIXED(container)); |
190 } | 191 } |
191 | 192 |
192 G_END_DECLS | 193 G_END_DECLS |
OLD | NEW |