Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: views/widget/native_widget_gtk.h

Issue 7024032: Wait showing html dialog until renderer finish painting after page is loaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698