| 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_CHROME_GTK_FRAME_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_CHROME_GTK_FRAME_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_CHROME_GTK_FRAME_H_ | 6 #define CHROME_BROWSER_UI_GTK_CHROME_GTK_FRAME_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gdk/gdk.h> | 9 #include <gtk/gtk.h> |
| 10 #include <gtk/gtkwindow.h> | |
| 11 | 10 |
| 12 G_BEGIN_DECLS | 11 G_BEGIN_DECLS |
| 13 | 12 |
| 14 // This file declares two subclasses of GtkWindow for easier gtk+ theme | 13 // This file declares two subclasses of GtkWindow for easier gtk+ theme |
| 15 // integration. | 14 // integration. |
| 16 // | 15 // |
| 17 // The first is "MetaFrames," which is (was?) the name of a gobject class in | 16 // The first is "MetaFrames," which is (was?) the name of a gobject class in |
| 18 // the metacity window manager. To actually get at those values, we need to | 17 // the metacity window manager. To actually get at those values, we need to |
| 19 // have an object whose gobject class name string matches the definitions in | 18 // have an object whose gobject class name string matches the definitions in |
| 20 // the gtkrc file. MetaFrames derives from GtkWindow. | 19 // the gtkrc file. MetaFrames derives from GtkWindow. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 struct _ChromeGtkFrameClass { | 46 struct _ChromeGtkFrameClass { |
| 48 MetaFramesClass frames_class; | 47 MetaFramesClass frames_class; |
| 49 }; | 48 }; |
| 50 | 49 |
| 51 // Creates a GtkWindow object the the class name "ChromeGtkFrame". | 50 // Creates a GtkWindow object the the class name "ChromeGtkFrame". |
| 52 GtkWidget* chrome_gtk_frame_new(); | 51 GtkWidget* chrome_gtk_frame_new(); |
| 53 | 52 |
| 54 G_END_DECLS | 53 G_END_DECLS |
| 55 | 54 |
| 56 #endif // CHROME_BROWSER_UI_GTK_CHROME_GTK_FRAME_H_ | 55 #endif // CHROME_BROWSER_UI_GTK_CHROME_GTK_FRAME_H_ |
| OLD | NEW |