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

Side by Side Diff: chrome/gpu/gpu_thread.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
« no previous file with comments | « chrome/gpu/gpu_channel.cc ('k') | chrome/gpu/gpu_thread.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_GPU_GPU_THREAD_H_ 5 #ifndef CHROME_GPU_GPU_THREAD_H_
6 #define CHROME_GPU_GPU_THREAD_H_ 6 #define CHROME_GPU_GPU_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 18 matching lines...) Expand all
29 29
30 Display* display() const { return display_; } 30 Display* display() const { return display_; }
31 #endif 31 #endif
32 32
33 private: 33 private:
34 // ChildThread overrides. 34 // ChildThread overrides.
35 virtual void OnControlMessageReceived(const IPC::Message& msg); 35 virtual void OnControlMessageReceived(const IPC::Message& msg);
36 36
37 // Message handlers. 37 // Message handlers.
38 void OnEstablishChannel(int renderer_id); 38 void OnEstablishChannel(int renderer_id);
39 void OnSynchronize(int renderer_id); 39 void OnSynchronize();
40 void OnNewRenderWidgetHostView(GpuNativeWindowHandle parent_window, 40 void OnNewRenderWidgetHostView(GpuNativeWindowHandle parent_window,
41 int32 routing_id); 41 int32 routing_id);
42 42
43 typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap; 43 typedef base::hash_map<int, scoped_refptr<GpuChannel> > GpuChannelMap;
44 GpuChannelMap gpu_channels_; 44 GpuChannelMap gpu_channels_;
45 45
46 #if defined(GPU_USE_GLX) 46 #if defined(GPU_USE_GLX)
47 Display* display_; 47 Display* display_;
48 scoped_ptr<GpuBackingStoreGLXContext> glx_context_; 48 scoped_ptr<GpuBackingStoreGLXContext> glx_context_;
49 #endif 49 #endif
50 50
51 DISALLOW_COPY_AND_ASSIGN(GpuThread); 51 DISALLOW_COPY_AND_ASSIGN(GpuThread);
52 }; 52 };
53 53
54 #endif // CHROME_GPU_GPU_THREAD_H_ 54 #endif // CHROME_GPU_GPU_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_channel.cc ('k') | chrome/gpu/gpu_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698