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

Side by Side Diff: content/browser/renderer_host/gpu_message_filter.h

Issue 6840060: Progress towards fixing 77536 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "" Created 9 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/test/render_view_test.cc ('k') | content/browser/renderer_host/gpu_message_filter.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/browser_message_filter.h" 9 #include "content/browser/browser_message_filter.h"
10 #include "content/common/gpu_process_launch_causes.h" 10 #include "content/common/gpu_process_launch_causes.h"
11 #include "ui/gfx/native_widget_types.h"
11 12
12 class GpuProcessHost; 13 class GpuProcessHost;
13 class GpuProcessHostUIShim; 14 class GpuProcessHostUIShim;
14 struct GPUCreateCommandBufferConfig; 15 struct GPUCreateCommandBufferConfig;
15 struct GPUInfo; 16 struct GPUInfo;
16 17
17 namespace IPC { 18 namespace IPC {
18 struct ChannelHandle; 19 struct ChannelHandle;
19 } 20 }
20 21
(...skipping 14 matching lines...) Expand all
35 36
36 private: 37 private:
37 friend class BrowserThread; 38 friend class BrowserThread;
38 friend class DeleteTask<GpuMessageFilter>; 39 friend class DeleteTask<GpuMessageFilter>;
39 virtual ~GpuMessageFilter(); 40 virtual ~GpuMessageFilter();
40 41
41 // Message handlers called on the browser IO thread: 42 // Message handlers called on the browser IO thread:
42 void OnEstablishGpuChannel(content::CauseForGpuLaunch); 43 void OnEstablishGpuChannel(content::CauseForGpuLaunch);
43 void OnSynchronizeGpu(IPC::Message* reply); 44 void OnSynchronizeGpu(IPC::Message* reply);
44 void OnCreateViewCommandBuffer( 45 void OnCreateViewCommandBuffer(
46 gfx::PluginWindowHandle compositing_surface,
45 int32 render_view_id, 47 int32 render_view_id,
46 const GPUCreateCommandBufferConfig& init_params, 48 const GPUCreateCommandBufferConfig& init_params,
47 IPC::Message* reply); 49 IPC::Message* reply);
48 50
49 int gpu_host_id_; 51 int gpu_host_id_;
50 int render_process_id_; 52 int render_process_id_;
51 53
52 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter); 54 DISALLOW_COPY_AND_ASSIGN(GpuMessageFilter);
53 }; 55 };
54 56
55 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_ 57 #endif // CONTENT_BROWSER_RENDERER_HOST_GPU_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/test/render_view_test.cc ('k') | content/browser/renderer_host/gpu_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698