| 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 VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ | 5 #ifndef UI_VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ |
| 6 #define VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ | 6 #define UI_VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "ui/views/controls/native/native_view_host.h" | 12 #include "ui/views/controls/native/native_view_host.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 | 15 |
| 16 // A View that hosts a native control. | 16 // A View that hosts a native control. |
| (...skipping 25 matching lines...) Expand all Loading... |
| 42 private: | 42 private: |
| 43 static gboolean CallFocusIn(GtkWidget* gtk_widget, | 43 static gboolean CallFocusIn(GtkWidget* gtk_widget, |
| 44 GdkEventFocus* event, | 44 GdkEventFocus* event, |
| 45 NativeControlGtk* button); | 45 NativeControlGtk* button); |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(NativeControlGtk); | 47 DISALLOW_COPY_AND_ASSIGN(NativeControlGtk); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace views | 50 } // namespace views |
| 51 | 51 |
| 52 #endif // #ifndef VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ | 52 #endif // UI_VIEWS_CONTROLS_NATIVE_CONTROL_GTK_H_ |
| OLD | NEW |