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

Unified Diff: ui/aura/window_observer.h

Issue 464643003: Stop painting when receiving delegated frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crashes Created 6 years, 4 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: ui/aura/window_observer.h
diff --git a/ui/aura/window_observer.h b/ui/aura/window_observer.h
index b88e2d41077b651e9ae68c384c6e483e292940bd..9aaeca8f9578f5ef79ee651c7d256676ebf1a692 100644
--- a/ui/aura/window_observer.h
+++ b/ui/aura/window_observer.h
@@ -86,9 +86,9 @@ class AURA_EXPORT WindowObserver {
// has changed.
virtual void OnWindowStackingChanged(Window* window) {}
- // Invoked when a region of |window| is scheduled to be redrawn.
- virtual void OnWindowPaintScheduled(Window* window,
- const gfx::Rect& region) {}
+ // Invoked when a region of |window| has damage from a new delegated frame.
+ virtual void OnDelegatedFrameDamage(Window* window,
+ const gfx::Rect& damage_rect_in_dip) {}
// Invoked when the Window is being destroyed (i.e. from the start of its
// destructor). This is called before the window is removed from its parent.

Powered by Google App Engine
This is Rietveld 408576698