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

Side by Side Diff: ppapi/host/resource_host.cc

Issue 298023004: [PPAPI] Compositor API implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor_api_def_new
Patch Set: Fix link issue Created 6 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
« no previous file with comments | « ppapi/host/resource_host.h ('k') | ppapi/ppapi_internal.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ppapi/host/resource_host.h" 5 #include "ppapi/host/resource_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ppapi/c/pp_errors.h" 8 #include "ppapi/c/pp_errors.h"
9 #include "ppapi/host/ppapi_host.h" 9 #include "ppapi/host/ppapi_host.h"
10 #include "ppapi/host/resource_message_filter.h" 10 #include "ppapi/host/resource_message_filter.h"
(...skipping 30 matching lines...) Expand all
41 DCHECK(!pp_resource_); 41 DCHECK(!pp_resource_);
42 pp_resource_ = pp_resource; 42 pp_resource_ = pp_resource;
43 DidConnectPendingHostToResource(); 43 DidConnectPendingHostToResource();
44 } 44 }
45 45
46 void ResourceHost::SendReply(const ReplyMessageContext& context, 46 void ResourceHost::SendReply(const ReplyMessageContext& context,
47 const IPC::Message& msg) { 47 const IPC::Message& msg) {
48 host_->SendReply(context, msg); 48 host_->SendReply(context, msg);
49 } 49 }
50 50
51 bool ResourceHost::IsCompositorHost() {
52 return false;
53 }
54
51 bool ResourceHost::IsFileRefHost() { 55 bool ResourceHost::IsFileRefHost() {
52 return false; 56 return false;
53 } 57 }
54 58
55 bool ResourceHost::IsFileSystemHost() { 59 bool ResourceHost::IsFileSystemHost() {
56 return false; 60 return false;
57 } 61 }
58 62
59 bool ResourceHost::IsMediaStreamVideoTrackHost() { 63 bool ResourceHost::IsMediaStreamVideoTrackHost() {
60 return false; 64 return false;
61 } 65 }
62 66
63 bool ResourceHost::IsGraphics2DHost() { 67 bool ResourceHost::IsGraphics2DHost() {
64 return false; 68 return false;
65 } 69 }
66 70
67 void ResourceHost::AddFilter(scoped_refptr<ResourceMessageFilter> filter) { 71 void ResourceHost::AddFilter(scoped_refptr<ResourceMessageFilter> filter) {
68 message_filters_.push_back(filter); 72 message_filters_.push_back(filter);
69 filter->OnFilterAdded(this); 73 filter->OnFilterAdded(this);
70 } 74 }
71 75
72 } // namespace host 76 } // namespace host
73 } // namespace ppapi 77 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/host/resource_host.h ('k') | ppapi/ppapi_internal.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698