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

Unified Diff: blimp/client/app/compositor/browser_compositor.h

Issue 2286273003: Make cc::Display not own its BeginFrameSource (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | blimp/client/app/compositor/browser_compositor.cc » ('j') | cc/surfaces/display.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/compositor/browser_compositor.h
diff --git a/blimp/client/app/compositor/browser_compositor.h b/blimp/client/app/compositor/browser_compositor.h
index 707d062ba575d8051b2a3400e7b5de8ab90d2612..573c03b6124f0ced7d570c6f4a4f9f420f92fc0f 100644
--- a/blimp/client/app/compositor/browser_compositor.h
+++ b/blimp/client/app/compositor/browser_compositor.h
@@ -7,6 +7,7 @@
#include "base/macros.h"
#include "base/callback.h"
+#include "cc/scheduler/begin_frame_source.h"
#include "cc/trees/layer_tree_host_client.h"
#include "cc/trees/layer_tree_host_single_thread_client.h"
#include "ui/gfx/geometry/size.h"
@@ -86,6 +87,7 @@ class BrowserCompositor : public cc::LayerTreeHostClient,
gfx::AcceleratedWidget widget_;
bool output_surface_request_pending_;
std::unique_ptr<cc::Display> display_;
+ std::unique_ptr<cc::SyntheticBeginFrameSource> begin_frame_source_;
gfx::Size viewport_size_in_px_;
« no previous file with comments | « no previous file | blimp/client/app/compositor/browser_compositor.cc » ('j') | cc/surfaces/display.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698