| 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 VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| 6 #define VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 6 #define 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 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 class OSExchangeDataProviderGtk; | 28 class OSExchangeDataProviderGtk; |
| 29 class GtkSignalRegistrar; | 29 class GtkSignalRegistrar; |
| 30 } | 30 } |
| 31 using ui::OSExchangeData; | 31 using ui::OSExchangeData; |
| 32 using ui::OSExchangeDataProviderGtk; | 32 using ui::OSExchangeDataProviderGtk; |
| 33 | 33 |
| 34 namespace views { | 34 namespace views { |
| 35 | 35 |
| 36 class DropTargetGtk; | 36 class DropTargetGtk; |
| 37 class InputMethod; | 37 class InputMethod; |
| 38 class TooltipManagerGtk; | |
| 39 class View; | 38 class View; |
| 40 | 39 |
| 41 namespace internal { | 40 namespace internal { |
| 42 class NativeWidgetDelegate; | 41 class NativeWidgetDelegate; |
| 43 } | 42 } |
| 44 | 43 |
| 45 // Widget implementation for GTK. | 44 // Widget implementation for GTK. |
| 46 class VIEWS_EXPORT NativeWidgetGtk : public internal::NativeWidgetPrivate, | 45 class VIEWS_EXPORT NativeWidgetGtk : public internal::NativeWidgetPrivate, |
| 47 public ui::CompositorDelegate, | 46 public ui::CompositorDelegate, |
| 48 public ui::ActiveWindowWatcherX::Observer { | 47 public ui::ActiveWindowWatcherX::Observer { |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 bool is_menu_; | 466 bool is_menu_; |
| 468 | 467 |
| 469 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; | 468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; |
| 470 | 469 |
| 471 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); | 470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); |
| 472 }; | 471 }; |
| 473 | 472 |
| 474 } // namespace views | 473 } // namespace views |
| 475 | 474 |
| 476 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ | 475 #endif // VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ |
| OLD | NEW |