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

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

Issue 11093080: <webview>: First stab at implementing media permission request for guests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix file name in chrome_renderer.gypi Created 7 years, 9 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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "content/browser/browser_plugin/browser_plugin_guest.h" 9 #include "content/browser/browser_plugin/browser_plugin_guest.h"
10 #include "content/browser/browser_plugin/browser_plugin_host_factory.h" 10 #include "content/browser/browser_plugin/browser_plugin_host_factory.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 const IPC::Message& message) { 214 const IPC::Message& message) {
215 switch (message.type()) { 215 switch (message.type()) {
216 case BrowserPluginHostMsg_BuffersSwappedACK::ID: 216 case BrowserPluginHostMsg_BuffersSwappedACK::ID:
217 case BrowserPluginHostMsg_DragStatusUpdate::ID: 217 case BrowserPluginHostMsg_DragStatusUpdate::ID:
218 case BrowserPluginHostMsg_Go::ID: 218 case BrowserPluginHostMsg_Go::ID:
219 case BrowserPluginHostMsg_HandleInputEvent::ID: 219 case BrowserPluginHostMsg_HandleInputEvent::ID:
220 case BrowserPluginHostMsg_NavigateGuest::ID: 220 case BrowserPluginHostMsg_NavigateGuest::ID:
221 case BrowserPluginHostMsg_PluginDestroyed::ID: 221 case BrowserPluginHostMsg_PluginDestroyed::ID:
222 case BrowserPluginHostMsg_Reload::ID: 222 case BrowserPluginHostMsg_Reload::ID:
223 case BrowserPluginHostMsg_ResizeGuest::ID: 223 case BrowserPluginHostMsg_ResizeGuest::ID:
224 case BrowserPluginHostMsg_RespondPermission::ID:
224 case BrowserPluginHostMsg_SetAutoSize::ID: 225 case BrowserPluginHostMsg_SetAutoSize::ID:
225 case BrowserPluginHostMsg_SetFocus::ID: 226 case BrowserPluginHostMsg_SetFocus::ID:
226 case BrowserPluginHostMsg_SetName::ID: 227 case BrowserPluginHostMsg_SetName::ID:
227 case BrowserPluginHostMsg_SetVisibility::ID: 228 case BrowserPluginHostMsg_SetVisibility::ID:
228 case BrowserPluginHostMsg_Stop::ID: 229 case BrowserPluginHostMsg_Stop::ID:
229 case BrowserPluginHostMsg_TerminateGuest::ID: 230 case BrowserPluginHostMsg_TerminateGuest::ID:
230 case BrowserPluginHostMsg_UpdateRect_ACK::ID: 231 case BrowserPluginHostMsg_UpdateRect_ACK::ID:
231 return true; 232 return true;
232 default: 233 default:
233 break; 234 break;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 int gpu_host_id, 274 int gpu_host_id,
274 const std::string& mailbox_name, 275 const std::string& mailbox_name,
275 uint32 sync_point) { 276 uint32 sync_point) {
276 BrowserPluginGuest::AcknowledgeBufferPresent(route_id, 277 BrowserPluginGuest::AcknowledgeBufferPresent(route_id,
277 gpu_host_id, 278 gpu_host_id,
278 mailbox_name, 279 mailbox_name,
279 sync_point); 280 sync_point);
280 } 281 }
281 282
282 } // namespace content 283 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698