| OLD | NEW | 
|   1 // Copyright (c) 2009 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_FLOATING_CONTAINER_H_ |   5 #ifndef CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_H_ | 
|   6 #define CHROME_BROWSER_GTK_GTK_FLOATING_CONTAINER_H_ |   6 #define CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_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, which is a cross between a GtkBin and a |  12 // A specialized container, which is a cross between a GtkBin and a | 
|  13 // GtkFixed. This container dervies from GtkBin and the implementation of |  13 // GtkFixed. This container dervies from GtkBin and the implementation of | 
|  14 // gtk_container_add() is the same: only one GtkWidget can be added through |  14 // gtk_container_add() is the same: only one GtkWidget can be added through | 
|  15 // that interface. The GtkBin portion contains normal content and is given the |  15 // that interface. The GtkBin portion contains normal content and is given the | 
|  16 // same allocation that this container has. |  16 // same allocation that this container has. | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  77  |  77  | 
|  78 GType      gtk_floating_container_get_type() G_GNUC_CONST; |  78 GType      gtk_floating_container_get_type() G_GNUC_CONST; | 
|  79 GtkWidget* gtk_floating_container_new(); |  79 GtkWidget* gtk_floating_container_new(); | 
|  80 void       gtk_floating_container_add_floating(GtkFloatingContainer* container, |  80 void       gtk_floating_container_add_floating(GtkFloatingContainer* container, | 
|  81                                                GtkWidget* widget); |  81                                                GtkWidget* widget); | 
|  82 // Use gtk_container_remove to remove all widgets; both widgets added with |  82 // Use gtk_container_remove to remove all widgets; both widgets added with | 
|  83 // gtk_container_add() and gtk_floating_container_add_floating(). |  83 // gtk_container_add() and gtk_floating_container_add_floating(). | 
|  84  |  84  | 
|  85 G_END_DECLS |  85 G_END_DECLS | 
|  86  |  86  | 
|  87 #endif  // CHROME_BROWSER_GTK_GTK_FLOATING_CONTAINER_H_ |  87 #endif  // CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_H_ | 
| OLD | NEW |