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

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

Issue 20860003: Remove hyphenation code from Chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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 #include <algorithm> 10 #include <algorithm>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/browser/dom_storage/dom_storage_context_impl.h" 47 #include "content/browser/dom_storage/dom_storage_context_impl.h"
48 #include "content/browser/dom_storage/dom_storage_message_filter.h" 48 #include "content/browser/dom_storage/dom_storage_message_filter.h"
49 #include "content/browser/download/mhtml_generation_manager.h" 49 #include "content/browser/download/mhtml_generation_manager.h"
50 #include "content/browser/fileapi/chrome_blob_storage_context.h" 50 #include "content/browser/fileapi/chrome_blob_storage_context.h"
51 #include "content/browser/fileapi/fileapi_message_filter.h" 51 #include "content/browser/fileapi/fileapi_message_filter.h"
52 #include "content/browser/geolocation/geolocation_dispatcher_host.h" 52 #include "content/browser/geolocation/geolocation_dispatcher_host.h"
53 #include "content/browser/gpu/gpu_data_manager_impl.h" 53 #include "content/browser/gpu/gpu_data_manager_impl.h"
54 #include "content/browser/gpu/gpu_process_host.h" 54 #include "content/browser/gpu/gpu_process_host.h"
55 #include "content/browser/gpu/shader_disk_cache.h" 55 #include "content/browser/gpu/shader_disk_cache.h"
56 #include "content/browser/histogram_message_filter.h" 56 #include "content/browser/histogram_message_filter.h"
57 #include "content/browser/hyphenator/hyphenator_message_filter.h"
58 #include "content/browser/indexed_db/indexed_db_context_impl.h" 57 #include "content/browser/indexed_db/indexed_db_context_impl.h"
59 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h" 58 #include "content/browser/indexed_db/indexed_db_dispatcher_host.h"
60 #include "content/browser/loader/resource_message_filter.h" 59 #include "content/browser/loader/resource_message_filter.h"
61 #include "content/browser/loader/resource_scheduler_filter.h" 60 #include "content/browser/loader/resource_scheduler_filter.h"
62 #include "content/browser/media/media_internals.h" 61 #include "content/browser/media/media_internals.h"
63 #include "content/browser/mime_registry_message_filter.h" 62 #include "content/browser/mime_registry_message_filter.h"
64 #include "content/browser/plugin_service_impl.h" 63 #include "content/browser/plugin_service_impl.h"
65 #include "content/browser/profiler_message_filter.h" 64 #include "content/browser/profiler_message_filter.h"
66 #include "content/browser/quota_dispatcher_host.h" 65 #include "content/browser/quota_dispatcher_host.h"
67 #include "content/browser/renderer_host/clipboard_message_filter.h" 66 #include "content/browser/renderer_host/clipboard_message_filter.h"
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 channel_->AddFilter(new ResolveProxyMsgHelper( 711 channel_->AddFilter(new ResolveProxyMsgHelper(
713 browser_context->GetRequestContextForRenderProcess(GetID()))); 712 browser_context->GetRequestContextForRenderProcess(GetID())));
714 channel_->AddFilter(new QuotaDispatcherHost( 713 channel_->AddFilter(new QuotaDispatcherHost(
715 GetID(), 714 GetID(),
716 storage_partition_impl_->GetQuotaManager(), 715 storage_partition_impl_->GetQuotaManager(),
717 GetContentClient()->browser()->CreateQuotaPermissionContext())); 716 GetContentClient()->browser()->CreateQuotaPermissionContext()));
718 channel_->AddFilter(new GamepadBrowserMessageFilter()); 717 channel_->AddFilter(new GamepadBrowserMessageFilter());
719 channel_->AddFilter(new DeviceMotionBrowserMessageFilter()); 718 channel_->AddFilter(new DeviceMotionBrowserMessageFilter());
720 channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER)); 719 channel_->AddFilter(new ProfilerMessageFilter(PROCESS_TYPE_RENDERER));
721 channel_->AddFilter(new HistogramMessageFilter()); 720 channel_->AddFilter(new HistogramMessageFilter());
722 channel_->AddFilter(new HyphenatorMessageFilter(this));
723 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID)) 721 #if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
724 if (CommandLine::ForCurrentProcess()->HasSwitch( 722 if (CommandLine::ForCurrentProcess()->HasSwitch(
725 switches::kEnableMemoryBenchmarking)) 723 switches::kEnableMemoryBenchmarking))
726 channel_->AddFilter(new MemoryBenchmarkMessageFilter()); 724 channel_->AddFilter(new MemoryBenchmarkMessageFilter());
727 #endif 725 #endif
728 #if defined(OS_ANDROID) 726 #if defined(OS_ANDROID)
729 channel_->AddFilter(new VibrationMessageFilter()); 727 channel_->AddFilter(new VibrationMessageFilter());
730 #endif 728 #endif
731 } 729 }
732 730
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 // Skip widgets in other processes. 1795 // Skip widgets in other processes.
1798 if (widgets[i]->GetProcess()->GetID() != GetID()) 1796 if (widgets[i]->GetProcess()->GetID() != GetID())
1799 continue; 1797 continue;
1800 1798
1801 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1799 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1802 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1800 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1803 } 1801 }
1804 } 1802 }
1805 1803
1806 } // namespace content 1804 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/hyphenator/hyphenator_message_filter_unittest.cc ('k') | content/common/content_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698