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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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 | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/host_zoom_level_context.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 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_
6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ 6 #define CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_
7 7
8 // This class lives on the UI thread and supports classes like the 8 // This class lives on the UI thread and supports classes like the
9 // BackingStoreProxy, which must live on the UI thread. The IO thread 9 // BackingStoreProxy, which must live on the UI thread. The IO thread
10 // portion of this class, the GpuProcessHost, is responsible for 10 // portion of this class, the GpuProcessHost, is responsible for
11 // shuttling messages between the browser and GPU processes. 11 // shuttling messages between the browser and GPU processes.
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 14
15 #include <string> 15 #include <string>
16 16
17 #include "base/callback.h" 17 #include "base/callback.h"
18 #include "base/compiler_specific.h" 18 #include "base/compiler_specific.h"
19 #include "base/memory/linked_ptr.h" 19 #include "base/memory/linked_ptr.h"
20 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
21 #include "base/threading/non_thread_safe.h" 21 #include "base/threading/non_thread_safe.h"
22 #include "build/build_config.h" 22 #include "build/build_config.h"
23 #include "content/common/content_export.h" 23 #include "content/common/content_export.h"
24 #include "gpu/config/gpu_info.h" 24 #include "gpu/config/gpu_info.h"
25 #include "gpu/ipc/common/memory_stats.h" 25 #include "gpu/ipc/common/memory_stats.h"
26 #include "ipc/ipc_listener.h" 26 #include "ipc/ipc_listener.h"
27 #include "ipc/ipc_sender.h" 27 #include "ipc/ipc_sender.h"
28 #include "ipc/message_router.h" 28 #include "ipc/message_router.h"
29 29
30 namespace ui {
31 class LatencyInfo;
32 }
33
34 namespace gfx {
35 class Size;
36 }
37
38 namespace IPC { 30 namespace IPC {
39 class Message; 31 class Message;
40 } 32 }
41 33
42 namespace gpu { 34 namespace gpu {
43 struct VideoMemoryUsageStats; 35 struct VideoMemoryUsageStats;
44 } 36 }
45 37
46 namespace content { 38 namespace content {
47 void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg); 39 void RouteToGpuProcessHostUIShimTask(int host_id, const IPC::Message& msg);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const gpu::VideoMemoryUsageStats& video_memory_usage_stats); 89 const gpu::VideoMemoryUsageStats& video_memory_usage_stats);
98 90
99 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. 91 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair.
100 int host_id_; 92 int host_id_;
101 base::Closure close_callback_; 93 base::Closure close_callback_;
102 }; 94 };
103 95
104 } // namespace content 96 } // namespace content
105 97
106 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ 98 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.h ('k') | content/browser/host_zoom_level_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698