diff options
Diffstat (limited to 'views/controls/menu/menu_host_gtk.h')
-rw-r--r-- | views/controls/menu/menu_host_gtk.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/menu/menu_host_gtk.h b/views/controls/menu/menu_host_gtk.h index ac1e588..e49064e 100644 --- a/views/controls/menu/menu_host_gtk.h +++ b/views/controls/menu/menu_host_gtk.h @@ -8,7 +8,7 @@ #pragma once #include "views/controls/menu/native_menu_host.h" -#include "views/widget/widget_gtk.h" +#include "views/widget/native_widget_gtk.h" namespace views { namespace internal { @@ -16,7 +16,7 @@ class NativeMenuHostDelegate; } // NativeMenuHost implementation for Gtk. -class MenuHostGtk : public WidgetGtk, +class MenuHostGtk : public NativeWidgetGtk, public NativeMenuHost { public: explicit MenuHostGtk(internal::NativeMenuHostDelegate* delegate); @@ -27,7 +27,7 @@ class MenuHostGtk : public WidgetGtk, virtual void StartCapturing() OVERRIDE; virtual NativeWidget* AsNativeWidget() OVERRIDE; - // Overridden from WidgetGtk: + // Overridden from NativeWidgetGtk: virtual void InitNativeWidget(const Widget::InitParams& params) OVERRIDE; virtual void ReleaseMouseCapture() OVERRIDE; virtual void OnDestroy(GtkWidget* object) OVERRIDE; |