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

Unified Diff: content/browser/compositor/browser_compositor_output_surface.h

Issue 1097223002: Mac: Fix black flashing during tab switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wait for swap to draw frames Created 5 years, 8 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 | content/browser/compositor/browser_compositor_view_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/browser_compositor_output_surface.h
diff --git a/content/browser/compositor/browser_compositor_output_surface.h b/content/browser/compositor/browser_compositor_output_surface.h
index fd15e03d94da4a10c1e55dc4cbf358888814e35f..615a54e30c5ab928021fa3017529fdaf413ff82e 100644
--- a/content/browser/compositor/browser_compositor_output_surface.h
+++ b/content/browser/compositor/browser_compositor_output_surface.h
@@ -41,8 +41,8 @@ class CONTENT_EXPORT BrowserCompositorOutputSurface
#if defined(OS_MACOSX)
virtual void OnSurfaceDisplayed() = 0;
- virtual void OnSurfaceRecycled() = 0;
- virtual bool ShouldNotShowFramesAfterRecycle() const = 0;
+ virtual void SetSurfaceSuspendedForRecycle(bool suspended) = 0;
+ virtual bool SurfaceShouldNotShowFramesAfterSuspendForRecycle() const = 0;
#endif
protected:
« no previous file with comments | « no previous file | content/browser/compositor/browser_compositor_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698