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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_channel_manager.cc

Issue 10441101: Revert 124453 - WebWidgetClient::screenInfo() no longer does a synchronous IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: perged Created 8 years, 6 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "content/renderer/browser_plugin/browser_plugin_channel_manager.h" 5 #include "content/renderer/browser_plugin/browser_plugin_channel_manager.h"
6 6
7 #include "base/process_util.h" 7 #include "base/process_util.h"
8 #include "content/common/browser_plugin_messages.h" 8 #include "content/common/browser_plugin_messages.h"
9 #include "content/common/view_messages.h" 9 #include "content/common/view_messages.h"
10 #include "content/renderer/browser_plugin/browser_plugin.h" 10 #include "content/renderer/browser_plugin/browser_plugin.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 params.renderer_preferences, 53 params.renderer_preferences,
54 params.web_preferences, 54 params.web_preferences,
55 new SharedRenderViewCounter(0), 55 new SharedRenderViewCounter(0),
56 params.view_id, 56 params.view_id,
57 params.surface_id, 57 params.surface_id,
58 params.session_storage_namespace_id, 58 params.session_storage_namespace_id,
59 params.frame_name, 59 params.frame_name,
60 false, 60 false,
61 params.swapped_out, 61 params.swapped_out,
62 params.next_page_id, 62 params.next_page_id,
63 params.screen_info,
64 channel, 63 channel,
65 params.accessibility_mode); 64 params.accessibility_mode);
66 ReportChannelToEmbedder(render_view, 65 ReportChannelToEmbedder(render_view,
67 embedder_channel_handle, 66 embedder_channel_handle,
68 params.embedder_channel_name, 67 params.embedder_channel_name,
69 params.embedder_container_id); 68 params.embedder_container_id);
70 } 69 }
71 70
72 void BrowserPluginChannelManager::ReportChannelToEmbedder( 71 void BrowserPluginChannelManager::ReportChannelToEmbedder(
73 RenderViewImpl* render_view, 72 RenderViewImpl* render_view,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 127
129 void BrowserPluginChannelManager::OnLoadGuest( 128 void BrowserPluginChannelManager::OnLoadGuest(
130 int instance_id, 129 int instance_id,
131 int guest_process_id, 130 int guest_process_id,
132 const IPC::ChannelHandle& channel_handle) { 131 const IPC::ChannelHandle& channel_handle) {
133 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id); 132 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id);
134 browser_plugin->LoadGuest(guest_process_id, channel_handle); 133 browser_plugin->LoadGuest(guest_process_id, channel_handle);
135 } 134 }
136 135
137 } // namespace content 136 } // namespace content
OLDNEW
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698