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

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

Issue 1649483002: Revert of Aura on Android: content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@auraclank_upstream_select_file
Patch Set: Merging android_non_aura_browser_sources into android_browser_sources rather than private_browser_s… Created 4 years, 10 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 AddFilter(new GamepadBrowserMessageFilter()); 1042 AddFilter(new GamepadBrowserMessageFilter());
1043 AddFilter(new DeviceLightMessageFilter()); 1043 AddFilter(new DeviceLightMessageFilter());
1044 AddFilter(new DeviceMotionMessageFilter()); 1044 AddFilter(new DeviceMotionMessageFilter());
1045 AddFilter(new DeviceOrientationMessageFilter()); 1045 AddFilter(new DeviceOrientationMessageFilter());
1046 AddFilter(new DeviceOrientationAbsoluteMessageFilter()); 1046 AddFilter(new DeviceOrientationAbsoluteMessageFilter());
1047 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); 1047 AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
1048 AddFilter(new HistogramMessageFilter()); 1048 AddFilter(new HistogramMessageFilter());
1049 AddFilter(new MemoryMessageFilter(this)); 1049 AddFilter(new MemoryMessageFilter(this));
1050 AddFilter(new PushMessagingMessageFilter( 1050 AddFilter(new PushMessagingMessageFilter(
1051 GetID(), storage_partition_impl_->GetServiceWorkerContext())); 1051 GetID(), storage_partition_impl_->GetServiceWorkerContext()));
1052 #if defined(OS_ANDROID) && !defined(USE_AURA) 1052 #if defined(OS_ANDROID)
1053 AddFilter(new ScreenOrientationMessageFilterAndroid()); 1053 AddFilter(new ScreenOrientationMessageFilterAndroid());
1054 #endif 1054 #endif
1055 AddFilter(new GeofencingDispatcherHost( 1055 AddFilter(new GeofencingDispatcherHost(
1056 storage_partition_impl_->GetGeofencingManager())); 1056 storage_partition_impl_->GetGeofencingManager()));
1057 if (browser_command_line.HasSwitch(switches::kEnableWebBluetooth)) { 1057 if (browser_command_line.HasSwitch(switches::kEnableWebBluetooth)) {
1058 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID()); 1058 bluetooth_dispatcher_host_ = new BluetoothDispatcherHost(GetID());
1059 AddFilter(bluetooth_dispatcher_host_.get()); 1059 AddFilter(bluetooth_dispatcher_host_.get());
1060 } 1060 }
1061 } 1061 }
1062 1062
(...skipping 1725 matching lines...) Expand 10 before | Expand all | Expand 10 after
2788 void RenderProcessHostImpl::GetAudioOutputControllers( 2788 void RenderProcessHostImpl::GetAudioOutputControllers(
2789 const GetAudioOutputControllersCallback& callback) const { 2789 const GetAudioOutputControllersCallback& callback) const {
2790 audio_renderer_host()->GetOutputControllers(callback); 2790 audio_renderer_host()->GetOutputControllers(callback);
2791 } 2791 }
2792 2792
2793 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() { 2793 BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
2794 return bluetooth_dispatcher_host_.get(); 2794 return bluetooth_dispatcher_host_.get();
2795 } 2795 }
2796 2796
2797 } // namespace content 2797 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/power_save_blocker_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698