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

Side by Side Diff: content/renderer/gpu_surface_proxy.cc

Issue 7066035: Moved GPU related files in content/renderer into gpu subdirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "content/renderer/gpu_surface_proxy.h"
6 #include "ui/gfx/size.h"
7
8 GpuSurfaceProxy::GpuSurfaceProxy(
9 IPC::Channel::Sender* channel,
10 int route_id)
11 : channel_(channel),
12 route_id_(route_id) {
13 }
14
15 GpuSurfaceProxy::~GpuSurfaceProxy() {
16 }
17
18 bool GpuSurfaceProxy::OnMessageReceived(const IPC::Message& message) {
19 bool handled = true;
20 //IPC_BEGIN_MESSAGE_MAP(GpuSurfaceProxy, message)
21 // IPC_MESSAGE_UNHANDLED(handled = false)
22 //IPC_END_MESSAGE_MAP()
23 DCHECK(handled);
24 return handled;
25 }
26
27 void GpuSurfaceProxy::OnChannelError() {
28 // Prevent any further messages from being sent.
29 channel_ = NULL;
30 }
OLDNEW
« no previous file with comments | « content/renderer/gpu_surface_proxy.h ('k') | content/renderer/gpu_video_decode_accelerator_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698