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

Unified Diff: content/renderer/render_view_impl.cc

Issue 8804006: Reland 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compilation for content_shell_lib Created 9 years 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 | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index a89b4731b834c0a54168d5272006a0a680335c7a..ee56e9a63ceedcf5c5dc67da5a23e17b72a0b499 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -599,6 +599,12 @@ bool RenderViewImpl::OnMessageReceived(const IPC::Message& message) {
if (observer->OnMessageReceived(message))
return true;
+ // Pepper plugin delegate doesn't use observers mechanism to don't implement
+ // huge interface RenderViewObserver that receives notifications about
+ // everything.
jam 2011/12/05 18:07:49 None of RenderViewObserver's virtual methods are p
Dmitry Polukhin 2011/12/05 19:09:26 Done but it's inefficient and creates cyclic depen
jam 2011/12/05 19:24:43 I think only profiling can show us that this is sl
+ if (pepper_delegate_.OnMessageReceived(message))
+ return true;
+
bool handled = true;
bool msg_is_ok = true;
IPC_BEGIN_MESSAGE_MAP_EX(RenderViewImpl, message, msg_is_ok)
« no previous file with comments | « content/renderer/pepper_plugin_delegate_impl.cc ('k') | content/shell/shell_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698