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

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

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 years, 7 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
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/browser/renderer_host/render_view_host_impl.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #include "content/browser/renderer_host/render_widget_helper.h" 92 #include "content/browser/renderer_host/render_widget_helper.h"
93 #include "content/browser/renderer_host/render_widget_host_impl.h" 93 #include "content/browser/renderer_host/render_widget_host_impl.h"
94 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" 94 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
95 #include "content/browser/renderer_host/text_input_client_message_filter.h" 95 #include "content/browser/renderer_host/text_input_client_message_filter.h"
96 #include "content/browser/renderer_host/websocket_dispatcher_host.h" 96 #include "content/browser/renderer_host/websocket_dispatcher_host.h"
97 #include "content/browser/resolve_proxy_msg_helper.h" 97 #include "content/browser/resolve_proxy_msg_helper.h"
98 #include "content/browser/screen_orientation/screen_orientation_dispatcher_host. h" 98 #include "content/browser/screen_orientation/screen_orientation_dispatcher_host. h"
99 #include "content/browser/service_worker/service_worker_context_wrapper.h" 99 #include "content/browser/service_worker/service_worker_context_wrapper.h"
100 #include "content/browser/service_worker/service_worker_dispatcher_host.h" 100 #include "content/browser/service_worker/service_worker_dispatcher_host.h"
101 #include "content/browser/shared_worker/shared_worker_message_filter.h" 101 #include "content/browser/shared_worker/shared_worker_message_filter.h"
102 #include "content/browser/speech/input_tag_speech_dispatcher_host.h"
103 #include "content/browser/speech/speech_recognition_dispatcher_host.h" 102 #include "content/browser/speech/speech_recognition_dispatcher_host.h"
104 #include "content/browser/storage_partition_impl.h" 103 #include "content/browser/storage_partition_impl.h"
105 #include "content/browser/streams/stream_context.h" 104 #include "content/browser/streams/stream_context.h"
106 #include "content/browser/tracing/trace_message_filter.h" 105 #include "content/browser/tracing/trace_message_filter.h"
107 #include "content/browser/vibration/vibration_message_filter.h" 106 #include "content/browser/vibration/vibration_message_filter.h"
108 #include "content/browser/webui/web_ui_controller_factory_registry.h" 107 #include "content/browser/webui/web_ui_controller_factory_registry.h"
109 #include "content/browser/worker_host/worker_message_filter.h" 108 #include "content/browser/worker_host/worker_message_filter.h"
110 #include "content/browser/worker_host/worker_storage_partition.h" 109 #include "content/browser/worker_host/worker_storage_partition.h"
111 #include "content/common/child_process_host_impl.h" 110 #include "content/common/child_process_host_impl.h"
112 #include "content/common/child_process_messages.h" 111 #include "content/common/child_process_messages.h"
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 GetID(), 716 GetID(),
718 browser_context->GetResourceContext()->GetMediaDeviceIDSalt(), 717 browser_context->GetResourceContext()->GetMediaDeviceIDSalt(),
719 media_stream_manager)); 718 media_stream_manager));
720 AddFilter(new DeviceRequestMessageFilter( 719 AddFilter(new DeviceRequestMessageFilter(
721 resource_context, media_stream_manager, GetID())); 720 resource_context, media_stream_manager, GetID()));
722 AddFilter(new MediaStreamTrackMetricsHost()); 721 AddFilter(new MediaStreamTrackMetricsHost());
723 #endif 722 #endif
724 #if defined(ENABLE_PLUGINS) 723 #if defined(ENABLE_PLUGINS)
725 AddFilter(new PepperRendererConnection(GetID())); 724 AddFilter(new PepperRendererConnection(GetID()));
726 #endif 725 #endif
727 #if defined(ENABLE_INPUT_SPEECH)
728 AddFilter(new InputTagSpeechDispatcherHost(
729 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
730 #endif
731 AddFilter(new SpeechRecognitionDispatcherHost( 726 AddFilter(new SpeechRecognitionDispatcherHost(
732 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); 727 IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
733 AddFilter(new FileAPIMessageFilter( 728 AddFilter(new FileAPIMessageFilter(
734 GetID(), 729 GetID(),
735 storage_partition_impl_->GetURLRequestContext(), 730 storage_partition_impl_->GetURLRequestContext(),
736 storage_partition_impl_->GetFileSystemContext(), 731 storage_partition_impl_->GetFileSystemContext(),
737 ChromeBlobStorageContext::GetFor(browser_context), 732 ChromeBlobStorageContext::GetFor(browser_context),
738 StreamContext::GetFor(browser_context))); 733 StreamContext::GetFor(browser_context)));
739 AddFilter(new FileUtilitiesMessageFilter(GetID())); 734 AddFilter(new FileUtilitiesMessageFilter(GetID()));
740 AddFilter(new MimeRegistryMessageFilter()); 735 AddFilter(new MimeRegistryMessageFilter());
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after
2078 mojo::ScopedMessagePipeHandle handle) { 2073 mojo::ScopedMessagePipeHandle handle) {
2079 mojo_activation_required_ = true; 2074 mojo_activation_required_ = true;
2080 MaybeActivateMojo(); 2075 MaybeActivateMojo();
2081 2076
2082 mojo::AllocationScope scope; 2077 mojo::AllocationScope scope;
2083 mojo_application_host_->shell_client()->AcceptConnection(service_name, 2078 mojo_application_host_->shell_client()->AcceptConnection(service_name,
2084 handle.Pass()); 2079 handle.Pass());
2085 } 2080 }
2086 2081
2087 } // namespace content 2082 } // namespace content
OLDNEW
« no previous file with comments | « chrome/common/url_constants.cc ('k') | content/browser/renderer_host/render_view_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698