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

Unified Diff: content/browser/browser_main_loop.h

Issue 2932893002: BrowserMainLoop owns FrameSinkManagerHost (Closed)
Patch Set: Hang FrameSinkManagerHost off CompositorImpl on Android Created 3 years, 6 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/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index be9196b5241b01ecc8ac7e724b65c9ff7a5effc3..2731fa7b79b80433928eb7240a5c45f836eff9b2 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -76,6 +76,10 @@ class ClientNativePixmapFactory;
} // namespace gfx
#endif
+namespace viz {
+class FrameSinkManagerHost;
+}
+
namespace content {
class BrowserMainParts;
class BrowserOnlineStateObserver;
@@ -161,6 +165,12 @@ class CONTENT_EXPORT BrowserMainLoop {
return startup_trace_file_;
}
+#if !defined(OS_ANDROID)
piman 2017/06/12 19:14:41 nit: Could you file a bug with the breadcrumbs you
Fady Samuel 2017/06/12 19:54:21 https://bugs.chromium.org/p/chromium/issues/detail
+ viz::FrameSinkManagerHost* frame_sink_manager_host() const {
+ return frame_sink_manager_host_.get();
+ }
+#endif
+
void StopStartupTracingTimer();
#if defined(OS_MACOSX) && !defined(OS_IOS)
@@ -317,6 +327,9 @@ class CONTENT_EXPORT BrowserMainLoop {
scoped_refptr<SaveFileManager> save_file_manager_;
std::unique_ptr<memory_instrumentation::CoordinatorImpl>
memory_instrumentation_coordinator_;
+#if !defined(OS_ANDROID)
+ std::unique_ptr<viz::FrameSinkManagerHost> frame_sink_manager_host_;
+#endif
// DO NOT add members here. Add them to the right categories above.
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698