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

Side by Side Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 1830513003: Move AcceleratedSurfaceBuffersSwappedParams to content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed piman's comment Created 4 years, 9 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
« no previous file with comments | « no previous file | content/common/accelerated_surface_buffers_swapped_params_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/gpu/gpu_process_host_ui_shim.h" 5 #include "content/browser/gpu/gpu_process_host_ui_shim.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 10 matching lines...) Expand all
21 #include "content/browser/renderer_host/render_process_host_impl.h" 21 #include "content/browser/renderer_host/render_process_host_impl.h"
22 #include "content/browser/renderer_host/render_view_host_impl.h" 22 #include "content/browser/renderer_host/render_view_host_impl.h"
23 #include "content/browser/renderer_host/render_widget_helper.h" 23 #include "content/browser/renderer_host/render_widget_helper.h"
24 #include "content/browser/renderer_host/render_widget_host_view_base.h" 24 #include "content/browser/renderer_host/render_widget_host_view_base.h"
25 #include "content/common/gpu_host_messages.h" 25 #include "content/common/gpu_host_messages.h"
26 #include "content/public/browser/browser_thread.h" 26 #include "content/public/browser/browser_thread.h"
27 #include "gpu/ipc/common/memory_stats.h" 27 #include "gpu/ipc/common/memory_stats.h"
28 #include "ui/gfx/swap_result.h" 28 #include "ui/gfx/swap_result.h"
29 29
30 #if defined(OS_MACOSX) 30 #if defined(OS_MACOSX)
31 #include "content/common/gpu/accelerated_surface_buffers_swapped_params_mac.h" 31 #include "content/common/accelerated_surface_buffers_swapped_params_mac.h"
32 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h" 32 #include "ui/accelerated_widget_mac/accelerated_widget_mac.h"
33 #endif 33 #endif
34 34
35 #if defined(USE_OZONE) 35 #if defined(USE_OZONE)
36 #include "ui/ozone/public/gpu_platform_support_host.h" 36 #include "ui/ozone/public/gpu_platform_support_host.h"
37 #include "ui/ozone/public/ozone_platform.h" 37 #include "ui/ozone/public/ozone_platform.h"
38 #endif 38 #endif
39 39
40 namespace content { 40 namespace content {
41 41
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 288
289 void GpuProcessHostUIShim::OnRemoveSubscription(int32_t process_id, 289 void GpuProcessHostUIShim::OnRemoveSubscription(int32_t process_id,
290 unsigned int target) { 290 unsigned int target) {
291 RenderProcessHost* rph = RenderProcessHost::FromID(process_id); 291 RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
292 if (rph) { 292 if (rph) {
293 rph->OnRemoveSubscription(target); 293 rph->OnRemoveSubscription(target);
294 } 294 }
295 } 295 }
296 296
297 } // namespace content 297 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/accelerated_surface_buffers_swapped_params_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698