summaryrefslogtreecommitdiffstats
path: root/views/widget/native_widget_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/widget/native_widget_gtk.h')
-rw-r--r--views/widget/native_widget_gtk.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/views/widget/native_widget_gtk.h b/views/widget/native_widget_gtk.h
index 85426aa..559d98c 100644
--- a/views/widget/native_widget_gtk.h
+++ b/views/widget/native_widget_gtk.h
@@ -163,11 +163,9 @@ class NativeWidgetGtk : public NativeWidget,
virtual const Widget* GetWidget() const OVERRIDE;
virtual gfx::NativeView GetNativeView() const OVERRIDE;
virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
- virtual Window* GetContainingWindow() OVERRIDE;
- virtual const Window* GetContainingWindow() const OVERRIDE;
virtual void ViewRemoved(View* view) OVERRIDE;
virtual void SetNativeWindowProperty(const char* name, void* value) OVERRIDE;
- virtual void* GetNativeWindowProperty(const char* name) OVERRIDE;
+ virtual void* GetNativeWindowProperty(const char* name) const OVERRIDE;
virtual TooltipManager* GetTooltipManager() const OVERRIDE;
virtual bool IsScreenReaderActive() const OVERRIDE;
virtual void SendNativeAccessibilityEvent(
@@ -301,13 +299,6 @@ class NativeWidgetGtk : public NativeWidget,
// when a window holding grab is closed without releasing grab.
virtual void HandleXGrabBroke();
- // Are we a subclass of NativeWindowGtk?
- bool is_window_;
-
- // State of the window, such as fullscreen, hidden...
- // TODO(beng): move to private once NativeWindowGtk no longer refers to it.
- GdkWindowState window_state_;
-
private:
class DropObserver;
friend class DropObserver;
@@ -329,9 +320,6 @@ class NativeWidgetGtk : public NativeWidget,
void OnChildExpose(GtkWidget* child);
static gboolean ChildExposeHandler(GtkWidget* widget, GdkEventExpose* event);
- // Returns the first ancestor of |widget| that is a window.
- static Window* GetWindowImpl(GtkWidget* widget);
-
// Creates the GtkWidget.
void CreateGtkWidget(const Widget::InitParams& params);
@@ -403,6 +391,9 @@ class NativeWidgetGtk : public NativeWidget,
// region to be painted to flash in red.
static bool debug_paint_enabled_;
+ // State of the window, such as fullscreen, hidden...
+ GdkWindowState window_state_;
+
// Are we active?
bool is_active_;