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

Unified Diff: content/browser/renderer_host/compositor_impl_android.h

Issue 738983002: Move output surface fallback from cc to embedders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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 | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/compositor_impl_android.h
diff --git a/content/browser/renderer_host/compositor_impl_android.h b/content/browser/renderer_host/compositor_impl_android.h
index 3cd223f2bdfdac121ccdf35c6bbe110985ba2a02..fdfed5d620985335b9a0b2cb41a48d103308fd2e 100644
--- a/content/browser/renderer_host/compositor_impl_android.h
+++ b/content/browser/renderer_host/compositor_impl_android.h
@@ -79,8 +79,9 @@ class CONTENT_EXPORT CompositorImpl
const gfx::Vector2d& scroll_delta,
float page_scale,
float top_controls_delta) override {}
- virtual void RequestNewOutputSurface(bool fallback) override;
+ virtual void RequestNewOutputSurface() override;
virtual void DidInitializeOutputSurface() override {}
+ virtual void DidFailToInitializeOutputSurface() override;
virtual void WillCommit() override {}
virtual void DidCommit() override;
virtual void DidCommitAndDrawFrame() override {}
@@ -110,7 +111,7 @@ class CONTENT_EXPORT CompositorImpl
};
void PostComposite(CompositingTrigger trigger);
void Composite(CompositingTrigger trigger);
- void CreateOutputSurface(bool fallback);
+ void CreateOutputSurface();
bool WillCompositeThisFrame() const {
return current_composite_task_ &&
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/browser/renderer_host/compositor_impl_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698