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_WIDGET_NATIVE_WIDGET_GTK_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_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/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "ui/base/gtk/gtk_signal.h" | 14 #include "ui/base/gtk/gtk_signal.h" |
15 #include "ui/base/x/active_window_watcher_x.h" | 15 #include "ui/base/x/active_window_watcher_x.h" |
16 #include "ui/gfx/compositor/compositor.h" | 16 #include "ui/gfx/compositor/compositor.h" |
17 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
18 #include "ui/views/focus/focus_manager.h" | 18 #include "ui/views/focus/focus_manager.h" |
19 #include "views/widget/native_widget_private.h" | 19 #include "ui/views/widget/native_widget_private.h" |
20 #include "views/widget/widget.h" | 20 #include "ui/views/widget/widget.h" |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
23 class Rect; | 23 class Rect; |
24 } | 24 } |
25 | 25 |
26 namespace ui { | 26 namespace ui { |
27 class OSExchangeData; | 27 class OSExchangeData; |
28 class OSExchangeDataProviderGtk; | 28 class OSExchangeDataProviderGtk; |
29 class GtkSignalRegistrar; | 29 class GtkSignalRegistrar; |
30 } | 30 } |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 // If we were created for a menu. | 465 // If we were created for a menu. |
466 bool is_menu_; | 466 bool is_menu_; |
467 | 467 |
468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; | 468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; |
469 | 469 |
470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
471 }; | 471 }; |
472 | 472 |
473 } // namespace views | 473 } // namespace views |
474 | 474 |
475 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 475 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
OLD | NEW |