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

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

Issue 2286273003: Make cc::Display not own its BeginFrameSource (Closed)
Patch Set: Fix webview 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 | « android_webview/browser/surfaces_instance.cc ('k') | blimp/client/app/compositor/browser_compositor.cc » ('j') | no next file with comments »
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 cb0828f477ff98058f4c6f82beacf80c02edf28b..05cb73eeaa453537e9cae51164172d18ae19446b 100644
--- a/blimp/client/app/compositor/browser_compositor.h
+++ b/blimp/client/app/compositor/browser_compositor.h
@@ -8,6 +8,7 @@
#include "base/macros.h"
#include "base/callback.h"
#include "base/memory/weak_ptr.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"
@@ -83,6 +84,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 | « android_webview/browser/surfaces_instance.cc ('k') | blimp/client/app/compositor/browser_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698