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

Side by Side Diff: content/browser/compositor/vulkan_browser_compositor_output_surface.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/compositor/vulkan_browser_compositor_output_surface.h" 5 #include "content/browser/compositor/vulkan_browser_compositor_output_surface.h"
6 6
7 #include "base/threading/thread_task_runner_handle.h"
7 #include "cc/output/output_surface_client.h" 8 #include "cc/output/output_surface_client.h"
8 #include "content/browser/renderer_host/render_widget_host_impl.h" 9 #include "content/browser/renderer_host/render_widget_host_impl.h"
9 #include "gpu/vulkan/vulkan_surface.h" 10 #include "gpu/vulkan/vulkan_surface.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 VulkanBrowserCompositorOutputSurface::VulkanBrowserCompositorOutputSurface( 14 VulkanBrowserCompositorOutputSurface::VulkanBrowserCompositorOutputSurface(
14 scoped_refptr<cc::VulkanContextProvider> context, 15 scoped_refptr<cc::VulkanContextProvider> context,
15 const UpdateVSyncParametersCallback& update_vsync_parameters_callback) 16 const UpdateVSyncParametersCallback& update_vsync_parameters_callback)
16 : BrowserCompositorOutputSurface(std::move(context), 17 : BrowserCompositorOutputSurface(std::move(context),
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 base::Bind(&VulkanBrowserCompositorOutputSurface::SwapBuffersAck, 100 base::Bind(&VulkanBrowserCompositorOutputSurface::SwapBuffersAck,
100 weak_ptr_factory_.GetWeakPtr())); 101 weak_ptr_factory_.GetWeakPtr()));
101 } 102 }
102 103
103 void VulkanBrowserCompositorOutputSurface::SwapBuffersAck() { 104 void VulkanBrowserCompositorOutputSurface::SwapBuffersAck() {
104 DCHECK(client_); 105 DCHECK(client_);
105 client_->DidReceiveSwapBuffersAck(); 106 client_->DidReceiveSwapBuffersAck();
106 } 107 }
107 108
108 } // namespace content 109 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/cache_storage/cache_storage_manager.cc ('k') | content/browser/indexed_db/cursor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698