OLD | NEW |
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 #pragma once | |
8 | 7 |
9 // 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 |
10 // BackingStoreProxy, which must live on the UI thread. The IO thread | 9 // BackingStoreProxy, which must live on the UI thread. The IO thread |
11 // portion of this class, the GpuProcessHost, is responsible for | 10 // portion of this class, the GpuProcessHost, is responsible for |
12 // shuttling messages between the browser and GPU processes. | 11 // shuttling messages between the browser and GPU processes. |
13 | 12 |
14 #include <string> | 13 #include <string> |
15 | 14 |
16 #include "base/callback_forward.h" | 15 #include "base/callback_forward.h" |
17 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #if defined(USE_AURA) | 105 #if defined(USE_AURA) |
107 void OnAcceleratedSurfaceRelease( | 106 void OnAcceleratedSurfaceRelease( |
108 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params); | 107 const GpuHostMsg_AcceleratedSurfaceRelease_Params& params); |
109 #endif | 108 #endif |
110 | 109 |
111 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. | 110 // The serial number of the GpuProcessHost / GpuProcessHostUIShim pair. |
112 int host_id_; | 111 int host_id_; |
113 }; | 112 }; |
114 | 113 |
115 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ | 114 #endif // CONTENT_BROWSER_GPU_GPU_PROCESS_HOST_UI_SHIM_H_ |
OLD | NEW |