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

Side by Side Diff: chrome/browser/renderer_host/gpu_view_host.h

Issue 1546001: Split GpuProcessHost into GpuProcessHostUIShim, which runs on the UI... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 8 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
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_RENDERER_HOST_GPU_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/common/gpu_native_window_handle.h" 9 #include "chrome/common/gpu_native_window_handle.h"
10 10
11 class BackingStore; 11 class BackingStore;
12 class GpuProcessHost; 12 class GpuProcessHostUIShim;
13 class RenderWidgetHost; 13 class RenderWidgetHost;
14 class VideoLayer; 14 class VideoLayer;
15 15
16 namespace gfx { 16 namespace gfx {
17 class Size; 17 class Size;
18 } 18 }
19 19
20 // A proxy for the GPU process' window for rendering pages. 20 // A proxy for the GPU process' window for rendering pages.
21 class GpuViewHost { 21 class GpuViewHost {
22 public: 22 public:
(...skipping 10 matching lines...) Expand all
33 33
34 // Notification that the RenderWidgetHost has been asked to paint the window. 34 // Notification that the RenderWidgetHost has been asked to paint the window.
35 // Depending on the backing store, the GPU backing store may have to repaint 35 // Depending on the backing store, the GPU backing store may have to repaint
36 // at this time. On Linux this is needed because the GPU process paints 36 // at this time. On Linux this is needed because the GPU process paints
37 // directly into the RWH's X window. 37 // directly into the RWH's X window.
38 void OnWindowPainted(); 38 void OnWindowPainted();
39 39
40 private: 40 private:
41 RenderWidgetHost* widget_; 41 RenderWidgetHost* widget_;
42 42
43 GpuProcessHost* process_; 43 GpuProcessHostUIShim* process_shim_;
44 int32 routing_id_; 44 int32 routing_id_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(GpuViewHost); 46 DISALLOW_COPY_AND_ASSIGN(GpuViewHost);
47 }; 47 };
48 48
49 #endif // CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_ 49 #endif // CHROME_BROWSER_RENDERER_HOST_GPU_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/browser_render_process_host.cc ('k') | chrome/browser/renderer_host/gpu_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698