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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_embedder.cc

Issue 11554030: <webview>: Add name attribute (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT and back to plumbing directly to BrowserPlugin instead of through WebContents Created 7 years, 11 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 #include "content/browser/browser_plugin/browser_plugin_embedder.h" 5 #include "content/browser/browser_plugin/browser_plugin_embedder.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "content/browser/browser_plugin/browser_plugin_guest.h" 8 #include "content/browser/browser_plugin/browser_plugin_guest.h"
9 #include "content/browser/browser_plugin/browser_plugin_host_factory.h" 9 #include "content/browser/browser_plugin/browser_plugin_host_factory.h"
10 #include "content/browser/renderer_host/render_view_host_impl.h" 10 #include "content/browser/renderer_host/render_view_host_impl.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 bool BrowserPluginEmbedder::ShouldForwardToBrowserPluginGuest( 173 bool BrowserPluginEmbedder::ShouldForwardToBrowserPluginGuest(
174 const IPC::Message& message) { 174 const IPC::Message& message) {
175 switch (message.type()) { 175 switch (message.type()) {
176 case BrowserPluginHostMsg_DragStatusUpdate::ID: 176 case BrowserPluginHostMsg_DragStatusUpdate::ID:
177 case BrowserPluginHostMsg_Go::ID: 177 case BrowserPluginHostMsg_Go::ID:
178 case BrowserPluginHostMsg_HandleInputEvent::ID: 178 case BrowserPluginHostMsg_HandleInputEvent::ID:
179 case BrowserPluginHostMsg_Reload::ID: 179 case BrowserPluginHostMsg_Reload::ID:
180 case BrowserPluginHostMsg_ResizeGuest::ID: 180 case BrowserPluginHostMsg_ResizeGuest::ID:
181 case BrowserPluginHostMsg_SetAutoSize::ID: 181 case BrowserPluginHostMsg_SetAutoSize::ID:
182 case BrowserPluginHostMsg_SetFocus::ID: 182 case BrowserPluginHostMsg_SetFocus::ID:
183 case BrowserPluginHostMsg_SetName::ID:
183 case BrowserPluginHostMsg_SetVisibility::ID: 184 case BrowserPluginHostMsg_SetVisibility::ID:
184 case BrowserPluginHostMsg_Stop::ID: 185 case BrowserPluginHostMsg_Stop::ID:
185 case BrowserPluginHostMsg_TerminateGuest::ID: 186 case BrowserPluginHostMsg_TerminateGuest::ID:
186 case BrowserPluginHostMsg_UpdateRect_ACK::ID: 187 case BrowserPluginHostMsg_UpdateRect_ACK::ID:
187 return true; 188 return true;
188 default: 189 default:
189 break; 190 break;
190 } 191 }
191 return false; 192 return false;
192 } 193 }
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 uint32 sync_point) { 336 uint32 sync_point) {
336 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 337 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
337 ack_params.mailbox_name = mailbox_name; 338 ack_params.mailbox_name = mailbox_name;
338 ack_params.sync_point = sync_point; 339 ack_params.sync_point = sync_point;
339 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 340 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
340 gpu_host_id, 341 gpu_host_id,
341 ack_params); 342 ack_params);
342 } 343 }
343 344
344 } // namespace content 345 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698