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

Side by Side Diff: chrome/browser/gpu_process_host_ui_shim.h

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/gpu_process_host_ui_shim.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 5 #ifndef CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 6 #define CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
7 #pragma once 7 #pragma once
8 8
9 // This class lives on the UI thread and supports classes like the 9 // This class lives on the UI thread and supports classes like the
10 // BackingStoreProxy, which must live on the UI thread. The IO thread 10 // BackingStoreProxy, which must live on the UI thread. The IO thread
11 // portion of this class, the GpuProcessHost, is responsible for 11 // portion of this class, the GpuProcessHost, is responsible for
12 // shuttling messages between the browser and GPU processes. 12 // shuttling messages between the browser and GPU processes.
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/scoped_ptr.h" 15 #include "base/scoped_ptr.h"
16 #include "base/singleton.h" 16 #include "base/singleton.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
19 #include "chrome/common/gpu_info.h" 19 #include "chrome/common/gpu_info.h"
20 #include "chrome/common/message_router.h" 20 #include "chrome/common/message_router.h"
21 #include "ipc/ipc_channel.h" 21 #include "ipc/ipc_channel.h"
22 #include "gfx/native_widget_types.h" 22 #include "ui/gfx/native_widget_types.h"
23 23
24 namespace gfx { 24 namespace gfx {
25 class Size; 25 class Size;
26 } 26 }
27 27
28 struct GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params; 28 struct GpuHostMsg_AcceleratedSurfaceSetIOSurface_Params;
29 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; 29 struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params;
30 30
31 class GpuProcessHostUIShim : public IPC::Channel::Sender, 31 class GpuProcessHostUIShim : public IPC::Channel::Sender,
32 public IPC::Channel::Listener, 32 public IPC::Channel::Listener,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 MessageRouter router_; 106 MessageRouter router_;
107 107
108 // Used only in testing. If set, the callback is invoked when the GPU info 108 // Used only in testing. If set, the callback is invoked when the GPU info
109 // has been collected. 109 // has been collected.
110 scoped_ptr<Callback0::Type> gpu_info_collected_callback_; 110 scoped_ptr<Callback0::Type> gpu_info_collected_callback_;
111 }; 111 };
112 112
113 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_ 113 #endif // CHROME_BROWSER_GPU_PROCESS_HOST_UI_SHIM_H_
114 114
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.cc ('k') | chrome/browser/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698