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

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

Issue 11414180: Add a gyp flag to allow removing dependency on ppapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years 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 | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/all_messages.h » ('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 // 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 #include <algorithm> 10 #include <algorithm>
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 new IndexedDBDispatcherHost( 529 new IndexedDBDispatcherHost(
530 GetID(), 530 GetID(),
531 storage_partition_impl_->GetIndexedDBContext())); 531 storage_partition_impl_->GetIndexedDBContext()));
532 channel_->AddFilter(GeolocationDispatcherHost::New( 532 channel_->AddFilter(GeolocationDispatcherHost::New(
533 GetID(), browser_context->GetGeolocationPermissionContext())); 533 GetID(), browser_context->GetGeolocationPermissionContext()));
534 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get()); 534 gpu_message_filter_ = new GpuMessageFilter(GetID(), widget_helper_.get());
535 channel_->AddFilter(gpu_message_filter_); 535 channel_->AddFilter(gpu_message_filter_);
536 #if defined(ENABLE_WEBRTC) 536 #if defined(ENABLE_WEBRTC)
537 channel_->AddFilter(new MediaStreamDispatcherHost(GetID())); 537 channel_->AddFilter(new MediaStreamDispatcherHost(GetID()));
538 #endif 538 #endif
539 #if defined(ENABLE_PLUGINS)
539 channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER, 540 channel_->AddFilter(new PepperMessageFilter(PepperMessageFilter::RENDERER,
540 GetID(), browser_context)); 541 GetID(), browser_context));
542 #endif
541 #if defined(ENABLE_INPUT_SPEECH) 543 #if defined(ENABLE_INPUT_SPEECH)
542 channel_->AddFilter(new InputTagSpeechDispatcherHost( 544 channel_->AddFilter(new InputTagSpeechDispatcherHost(
543 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext(), 545 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext(),
544 browser_context->GetSpeechRecognitionPreferences())); 546 browser_context->GetSpeechRecognitionPreferences()));
545 channel_->AddFilter(new SpeechRecognitionDispatcherHost( 547 channel_->AddFilter(new SpeechRecognitionDispatcherHost(
546 GetID(), storage_partition_impl_->GetURLRequestContext(), 548 GetID(), storage_partition_impl_->GetURLRequestContext(),
547 browser_context->GetSpeechRecognitionPreferences())); 549 browser_context->GetSpeechRecognitionPreferences()));
548 #endif 550 #endif
549 channel_->AddFilter(new FileAPIMessageFilter( 551 channel_->AddFilter(new FileAPIMessageFilter(
550 GetID(), 552 GetID(),
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 int32 gpu_process_host_id) { 1584 int32 gpu_process_host_id) {
1583 TRACE_EVENT0("renderer_host", 1585 TRACE_EVENT0("renderer_host",
1584 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1586 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1585 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1587 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1586 gpu_process_host_id, 1588 gpu_process_host_id,
1587 false, 1589 false,
1588 0); 1590 0);
1589 } 1591 }
1590 1592
1591 } // namespace content 1593 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/all_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698