| Index: views/widget/native_widget_gtk.h
|
| diff --git a/views/widget/native_widget_gtk.h b/views/widget/native_widget_gtk.h
|
| index e6a9951414e390de5dfe7ea4a96b6f3d4a37fea5..4abe0d4e5e6144c87f341f74ca9139606c45ea69 100644
|
| --- a/views/widget/native_widget_gtk.h
|
| +++ b/views/widget/native_widget_gtk.h
|
| @@ -108,15 +108,22 @@ class NativeWidgetGtk : public NativeWidget,
|
| void GetRequestedSize(gfx::Size* out) const;
|
|
|
| // Overridden from ui::ActiveWindowWatcherX::Observer.
|
| - virtual void ActiveWindowChanged(GdkWindow* active_window);
|
| + virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE;
|
|
|
| // Clears the focus on the native widget having the focus.
|
| - virtual void ClearNativeFocus();
|
| + void ClearNativeFocus();
|
|
|
| // Handles a keyboard event by sending it to our focus manager.
|
| // Returns true if it's handled by the focus manager.
|
| bool HandleKeyboardEvent(const KeyEvent& key);
|
|
|
| + // Tells widget not to remove FREEZE_UPDATES property when the
|
| + // widget is painted. This is used if painting the gtk widget
|
| + // is not enough to show the window and has to wait further like
|
| + // keyboard overlay. Returns true if this is called before
|
| + // FREEZE_UPDATES property is removed, or false otherwise.
|
| + bool SuppressFreezeUpdates();
|
| +
|
| // Enables debug painting. See |debug_paint_enabled_| for details.
|
| static void EnableDebugPaint();
|
|
|
|
|