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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 10912062: Implement the gamepad API in the IPC proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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) 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 channel_->AddFilter(new P2PSocketDispatcherHost(resource_context)); 600 channel_->AddFilter(new P2PSocketDispatcherHost(resource_context));
601 #endif 601 #endif
602 602
603 channel_->AddFilter(new TraceMessageFilter()); 603 channel_->AddFilter(new TraceMessageFilter());
604 channel_->AddFilter(new ResolveProxyMsgHelper( 604 channel_->AddFilter(new ResolveProxyMsgHelper(
605 browser_context->GetRequestContextForRenderProcess(GetID()))); 605 browser_context->GetRequestContextForRenderProcess(GetID())));
606 channel_->AddFilter(new QuotaDispatcherHost( 606 channel_->AddFilter(new QuotaDispatcherHost(
607 GetID(), 607 GetID(),
608 storage_partition_impl_->GetQuotaManager(), 608 storage_partition_impl_->GetQuotaManager(),
609 GetContentClient()->browser()->CreateQuotaPermissionContext())); 609 GetContentClient()->browser()->CreateQuotaPermissionContext()));
610 channel_->AddFilter(new GamepadBrowserMessageFilter(this)); 610 channel_->AddFilter(new GamepadBrowserMessageFilter());
611 channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); 611 channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
612 channel_->AddFilter(new HistogramMessageFilter()); 612 channel_->AddFilter(new HistogramMessageFilter());
613 channel_->AddFilter(new HyphenatorMessageFilter(this)); 613 channel_->AddFilter(new HyphenatorMessageFilter(this));
614 } 614 }
615 615
616 int RenderProcessHostImpl::GetNextRoutingID() { 616 int RenderProcessHostImpl::GetNextRoutingID() {
617 return widget_helper_->GetNextRoutingID(); 617 return widget_helper_->GetNextRoutingID();
618 } 618 }
619 619
620 void RenderProcessHostImpl::CancelResourceRequests(int render_widget_id) { 620 void RenderProcessHostImpl::CancelResourceRequests(int render_widget_id) {
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
1532 int32 route_id, 1532 int32 route_id,
1533 int32 gpu_process_host_id) { 1533 int32 gpu_process_host_id) {
1534 TRACE_EVENT0("renderer_host", 1534 TRACE_EVENT0("renderer_host",
1535 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1535 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1536 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1536 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1537 gpu_process_host_id, 1537 gpu_process_host_id,
1538 0); 1538 0);
1539 } 1539 }
1540 1540
1541 } // namespace content 1541 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_gamepad_host_unittest.cc ('k') | content/common/gamepad_hardware_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698