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