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

Unified Diff: content/browser/android/in_process/synchronous_compositor_impl.cc

Issue 920443003: Android: SetCreateContextCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: g_service Created 5 years, 10 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/deferred_gpu_command_service.cc ('k') | content/public/browser/android/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/in_process/synchronous_compositor_impl.cc
diff --git a/content/browser/android/in_process/synchronous_compositor_impl.cc b/content/browser/android/in_process/synchronous_compositor_impl.cc
index 44d686cb96c9c3435cfb042136a096f9d932376e..e4156753847d9c8b5414a169e88f87be1b03d670 100644
--- a/content/browser/android/in_process/synchronous_compositor_impl.cc
+++ b/content/browser/android/in_process/synchronous_compositor_impl.cc
@@ -45,6 +45,12 @@ base::LazyInstance<SynchronousCompositorFactoryImpl>::Leaky g_factory =
} // namespace
+SynchronousCompositor::ContextHolder::ContextHolder() : context(nullptr) {
+}
+
+SynchronousCompositor::ContextHolder::~ContextHolder() {
+}
+
DEFINE_WEB_CONTENTS_USER_DATA_KEY(SynchronousCompositorImpl);
// static
@@ -97,6 +103,11 @@ void SynchronousCompositorImpl::SetClient(
}
// static
+void SynchronousCompositor::SetCreateContextCallback(
+ CreateContextCallback callback) {
boliu 2015/02/26 01:32:54 Next step is implement this. Put this callback in
tfarina 2015/02/28 18:56:57 Done.
+}
+
+// static
void SynchronousCompositor::SetGpuService(
scoped_refptr<gpu::InProcessCommandBuffer::Service> service) {
g_factory.Get().SetDeferredGpuService(service);
« no previous file with comments | « android_webview/browser/deferred_gpu_command_service.cc ('k') | content/public/browser/android/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698