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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

Issue 1344673002: Change all view messages in RendererBlinkPlatformImpl into being render process messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc-font
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.cc
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
index dbdb5ee229b4887c1811abcc78b1cf0a3877e704..8c19aacd059c200c696a45fbdce1d25885471586 100644
--- a/content/browser/renderer_host/render_message_filter.cc
+++ b/content/browser/renderer_host/render_message_filter.cc
@@ -135,7 +135,7 @@ RenderMessageFilter::~RenderMessageFilter() {
bool RenderMessageFilter::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(RenderMessageFilter, message)
- IPC_MESSAGE_HANDLER(ViewHostMsg_GetProcessMemorySizes,
+ IPC_MESSAGE_HANDLER(RenderProcessHostMsg_GetProcessMemorySizes,
dcheng 2015/09/15 22:18:22 Out of curiosity, how come this gets the "Render"
Avi (use Gerrit) 2015/09/15 23:21:25 The name was suggested by Nick in the email thread
OnGetProcessMemorySizes)
IPC_MESSAGE_HANDLER(ViewHostMsg_GenerateRoutingID, OnGenerateRoutingID)
IPC_MESSAGE_HANDLER(ViewHostMsg_CreateWindow, OnCreateWindow)
@@ -175,7 +175,7 @@ bool RenderMessageFilter::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
OnDeletedDiscardableSharedMemory)
IPC_MESSAGE_HANDLER_DELAY_REPLY(RenderProcessHostMsg_Keygen, OnKeygen)
- IPC_MESSAGE_HANDLER(ViewHostMsg_DidGenerateCacheableMetadata,
+ IPC_MESSAGE_HANDLER(RenderProcessHostMsg_DidGenerateCacheableMetadata,
OnCacheableMetadataAvailable)
IPC_MESSAGE_HANDLER(ViewHostMsg_GetAudioHardwareConfig,
OnGetAudioHardwareConfig)
@@ -184,7 +184,7 @@ bool RenderMessageFilter::OnMessageReceived(const IPC::Message& message) {
#elif defined(OS_WIN)
IPC_MESSAGE_HANDLER(RenderProcessHostMsg_PreCacheFontCharacters,
OnPreCacheFontCharacters)
- IPC_MESSAGE_HANDLER(ViewHostMsg_GetMonitorColorProfile,
+ IPC_MESSAGE_HANDLER(RenderProcessHostMsg_GetMonitorColorProfile,
OnGetMonitorColorProfile)
#endif
IPC_MESSAGE_HANDLER(ViewHostMsg_MediaLogEvents, OnMediaLogEvents)
@@ -211,7 +211,7 @@ base::TaskRunner* RenderMessageFilter::OverrideTaskRunnerForMessage(
const IPC::Message& message) {
#if defined(OS_WIN)
// Windows monitor profile must be read from a file.
- if (message.type() == ViewHostMsg_GetMonitorColorProfile::ID)
+ if (message.type() == RenderProcessHostMsg_GetMonitorColorProfile::ID)
return BrowserThread::GetBlockingPool();
#endif
// Always query audio device parameters on the audio thread.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698