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

Unified Diff: content/renderer/renderer_blink_platform_impl.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
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index e9bca549ef820f9d99402f2f36bb7c5aa3ced488..4eb1c2038fcc1e352923171e760caeec5ca26d22 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -43,7 +43,6 @@
#include "content/common/gpu/gpu_process_launch_causes.h"
#include "content/common/mime_registry_messages.h"
#include "content/common/render_process_messages.h"
-#include "content/common/view_messages.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/service_registry.h"
#include "content/public/common/webplugininfo.h"
@@ -355,8 +354,9 @@ void RendererBlinkPlatformImpl::cacheMetadata(const blink::WebURL& url,
// browser may cache it and return it on subsequent responses to speed
// the processing of this resource.
std::vector<char> copy(data, data + size);
- RenderThread::Get()->Send(new ViewHostMsg_DidGenerateCacheableMetadata(
- url, base::Time::FromInternalValue(response_time), copy));
+ RenderThread::Get()->Send(
+ new RenderProcessHostMsg_DidGenerateCacheableMetadata(
+ url, base::Time::FromInternalValue(response_time), copy));
}
WebString RendererBlinkPlatformImpl::defaultLocale() {
@@ -380,7 +380,7 @@ void RendererBlinkPlatformImpl::suddenTerminationChanged(bool enabled) {
RenderThread* thread = RenderThread::Get();
if (thread) // NULL in unittests.
- thread->Send(new ViewHostMsg_SuddenTerminationChanged(enabled));
+ thread->Send(new RenderProcessHostMsg_SuddenTerminationChanged(enabled));
}
WebStorageNamespace* RendererBlinkPlatformImpl::createLocalStorageNamespace() {
@@ -839,7 +839,7 @@ void RendererBlinkPlatformImpl::screenColorProfile(
// safe send to avoid crashing trying to access RenderThread::Get(),
// which is not accessible from arbitrary threads.
thread_safe_sender_->Send(
- new ViewHostMsg_GetMonitorColorProfile(&profile));
+ new RenderProcessHostMsg_GetMonitorColorProfile(&profile));
*to_profile = profile;
#else
// On other platforms, the primary monitor color profile can be read
@@ -939,7 +939,8 @@ bool RendererBlinkPlatformImpl::processMemorySizesInBytes(
size_t* private_bytes,
size_t* shared_bytes) {
content::RenderThread::Get()->Send(
- new ViewHostMsg_GetProcessMemorySizes(private_bytes, shared_bytes));
+ new RenderProcessHostMsg_GetProcessMemorySizes(
+ private_bytes, shared_bytes));
return true;
}
« content/browser/renderer_host/render_message_filter.cc ('K') | « content/common/view_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698