| 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 VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ | 5 #ifndef UI_VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ |
| 6 #define VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ | 6 #define UI_VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtkwindow.h> | 9 #include <gtk/gtkwindow.h> |
| 10 | 10 |
| 11 // GtkViewsWindow is a subclass of GtkWindow that overrides its move_focus | 11 // GtkViewsWindow is a subclass of GtkWindow that overrides its move_focus |
| 12 // method so that we can handle focus traversing by ourselves. | 12 // method so that we can handle focus traversing by ourselves. |
| 13 | 13 |
| 14 G_BEGIN_DECLS | 14 G_BEGIN_DECLS |
| 15 | 15 |
| 16 #define GTK_TYPE_VIEWS_WINDOW (gtk_views_window_get_type ()) | 16 #define GTK_TYPE_VIEWS_WINDOW (gtk_views_window_get_type ()) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 struct _GtkViewsWindowClass { | 36 struct _GtkViewsWindowClass { |
| 37 GtkWindowClass parent_class; | 37 GtkWindowClass parent_class; |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 GtkWidget* gtk_views_window_new(GtkWindowType type); | 40 GtkWidget* gtk_views_window_new(GtkWindowType type); |
| 41 | 41 |
| 42 G_END_DECLS | 42 G_END_DECLS |
| 43 | 43 |
| 44 #endif // VIEWS_WIDGET_GTK_VIEWS_WINDOW_H | 44 #endif // UI_VIEWS_WIDGET_GTK_VIEWS_WINDOW_H_ |
| OLD | NEW |