OLD | NEW |
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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 browser_context->GetSpeechRecognitionPreferences())); | 559 browser_context->GetSpeechRecognitionPreferences())); |
560 channel_->AddFilter(new speech::SpeechRecognitionDispatcherHost( | 560 channel_->AddFilter(new speech::SpeechRecognitionDispatcherHost( |
561 GetID(), browser_context->GetRequestContext(), | 561 GetID(), browser_context->GetRequestContext(), |
562 browser_context->GetSpeechRecognitionPreferences())); | 562 browser_context->GetSpeechRecognitionPreferences())); |
563 #endif | 563 #endif |
564 channel_->AddFilter(new FileAPIMessageFilter( | 564 channel_->AddFilter(new FileAPIMessageFilter( |
565 GetID(), | 565 GetID(), |
566 browser_context->GetRequestContext(), | 566 browser_context->GetRequestContext(), |
567 BrowserContext::GetFileSystemContext(browser_context), | 567 BrowserContext::GetFileSystemContext(browser_context), |
568 ChromeBlobStorageContext::GetFor(browser_context))); | 568 ChromeBlobStorageContext::GetFor(browser_context))); |
569 channel_->AddFilter(new device_orientation::OrientationMessageFilter()); | 569 channel_->AddFilter(new OrientationMessageFilter()); |
570 channel_->AddFilter(new FileUtilitiesMessageFilter(GetID())); | 570 channel_->AddFilter(new FileUtilitiesMessageFilter(GetID())); |
571 channel_->AddFilter(new MimeRegistryMessageFilter()); | 571 channel_->AddFilter(new MimeRegistryMessageFilter()); |
572 channel_->AddFilter(new DatabaseMessageFilter( | 572 channel_->AddFilter(new DatabaseMessageFilter( |
573 BrowserContext::GetDatabaseTracker(browser_context))); | 573 BrowserContext::GetDatabaseTracker(browser_context))); |
574 #if defined(OS_MACOSX) | 574 #if defined(OS_MACOSX) |
575 channel_->AddFilter(new TextInputClientMessageFilter(GetID())); | 575 channel_->AddFilter(new TextInputClientMessageFilter(GetID())); |
576 #elif defined(OS_WIN) | 576 #elif defined(OS_WIN) |
577 channel_->AddFilter(new FontCacheDispatcher()); | 577 channel_->AddFilter(new FontCacheDispatcher()); |
578 #endif | 578 #endif |
579 | 579 |
(...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 int32 route_id, | 1507 int32 route_id, |
1508 int32 gpu_process_host_id) { | 1508 int32 gpu_process_host_id) { |
1509 TRACE_EVENT0("renderer_host", | 1509 TRACE_EVENT0("renderer_host", |
1510 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1510 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1511 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1511 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1512 gpu_process_host_id, | 1512 gpu_process_host_id, |
1513 0); | 1513 0); |
1514 } | 1514 } |
1515 | 1515 |
1516 } // namespace content | 1516 } // namespace content |
OLD | NEW |