OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_WIDGET_GTK_H_ | 5 #ifndef VIEWS_WIDGET_WIDGET_GTK_H_ |
6 #define VIEWS_WIDGET_WIDGET_GTK_H_ | 6 #define VIEWS_WIDGET_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 "app/active_window_watcher_x.h" | 11 #include "app/active_window_watcher_x.h" |
12 #include "app/gtk_signal.h" | 12 #include "app/gtk_signal.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "gfx/size.h" | 14 #include "gfx/size.h" |
15 #include "views/focus/focus_manager.h" | 15 #include "views/focus/focus_manager.h" |
16 #include "views/widget/widget.h" | 16 #include "views/widget/widget.h" |
17 | 17 |
18 class OSExchangeData; | |
19 class OSExchangeDataProviderGtk; | |
20 | |
21 namespace gfx { | 18 namespace gfx { |
22 class Rect; | 19 class Rect; |
23 } | 20 } |
24 | 21 |
| 22 namespace ui { |
| 23 class OSExchangeData; |
| 24 class OSExchangeDataProviderGtk; |
| 25 } |
| 26 using ui::OSExchangeData; |
| 27 using ui::OSExchangeDataProviderGtk; |
| 28 |
25 namespace views { | 29 namespace views { |
26 | 30 |
27 class DefaultThemeProvider; | 31 class DefaultThemeProvider; |
28 class DropTargetGtk; | 32 class DropTargetGtk; |
29 class FocusSearch; | 33 class FocusSearch; |
30 class TooltipManagerGtk; | 34 class TooltipManagerGtk; |
31 class View; | 35 class View; |
32 class WindowGtk; | 36 class WindowGtk; |
33 | 37 |
34 // Widget implementation for GTK. | 38 // Widget implementation for GTK. |
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 | 450 |
447 // Indicates if we should handle the upcoming Alt key release event. | 451 // Indicates if we should handle the upcoming Alt key release event. |
448 bool should_handle_menu_key_release_; | 452 bool should_handle_menu_key_release_; |
449 | 453 |
450 DISALLOW_COPY_AND_ASSIGN(WidgetGtk); | 454 DISALLOW_COPY_AND_ASSIGN(WidgetGtk); |
451 }; | 455 }; |
452 | 456 |
453 } // namespace views | 457 } // namespace views |
454 | 458 |
455 #endif // VIEWS_WIDGET_WIDGET_GTK_H_ | 459 #endif // VIEWS_WIDGET_WIDGET_GTK_H_ |
OLD | NEW |