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..688fef898a89b9980a4ad17deac565f824f64c00 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 the painting the gtk widget |
sky
2011/06/07 15:41:17
'if the painting' -> 'if painting'
oshima
2011/06/07 19:08:58
Done.
|
+ // 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(); |