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

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h

Issue 589043004: Restrict the number of cases where we force the compositor to do a synchronous paint to resizing an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2125
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
index 933ecadec99e0192eb3fe65f73e4031f797de3f4..2929cebd627702d5329c64f8c376092887ee5a08 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
@@ -264,6 +264,14 @@ class VIEWS_EXPORT DesktopWindowTreeHostWin
scoped_ptr<aura::client::ScopedTooltipDisabler> tooltip_disabler_;
+ // This flag is set to true in cases where we need to force a synchronous
+ // paint via the compositor. Cases include restoring/resizing/maximizing the
+ // window. Defaults to false.
+ bool need_synchronous_paint_;
+
+ // Set to true if we are about to enter a sizing loop.
+ bool in_sizing_loop_;
+
DISALLOW_COPY_AND_ASSIGN(DesktopWindowTreeHostWin);
};
« no previous file with comments | « no previous file | ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698