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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_manager_impl.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: Implement first allow/deny wins, still requires preventDefault impl + now tests pass. Created 7 years, 10 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/renderer/browser_plugin/browser_plugin_manager_impl.h" 5 #include "content/renderer/browser_plugin/browser_plugin_manager_impl.h"
6 6
7 #include "content/common/browser_plugin_messages.h" 7 #include "content/common/browser_plugin_messages.h"
8 #include "content/renderer/browser_plugin/browser_plugin.h" 8 #include "content/renderer/browser_plugin/browser_plugin.h"
9 #include "content/renderer/render_thread_impl.h" 9 #include "content/renderer/render_thread_impl.h"
10 #include "ui/gfx/point.h" 10 #include "ui/gfx/point.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 case BrowserPluginMsg_AdvanceFocus::ID: 123 case BrowserPluginMsg_AdvanceFocus::ID:
124 case BrowserPluginMsg_GuestContentWindowReady::ID: 124 case BrowserPluginMsg_GuestContentWindowReady::ID:
125 case BrowserPluginMsg_GuestGone::ID: 125 case BrowserPluginMsg_GuestGone::ID:
126 case BrowserPluginMsg_GuestResponsive::ID: 126 case BrowserPluginMsg_GuestResponsive::ID:
127 case BrowserPluginMsg_GuestUnresponsive::ID: 127 case BrowserPluginMsg_GuestUnresponsive::ID:
128 case BrowserPluginMsg_LoadAbort::ID: 128 case BrowserPluginMsg_LoadAbort::ID:
129 case BrowserPluginMsg_LoadCommit::ID: 129 case BrowserPluginMsg_LoadCommit::ID:
130 case BrowserPluginMsg_LoadRedirect::ID: 130 case BrowserPluginMsg_LoadRedirect::ID:
131 case BrowserPluginMsg_LoadStart::ID: 131 case BrowserPluginMsg_LoadStart::ID:
132 case BrowserPluginMsg_LoadStop::ID: 132 case BrowserPluginMsg_LoadStop::ID:
133 case BrowserPluginMsg_RequestMediaAccess::ID:
133 case BrowserPluginMsg_SetCursor::ID: 134 case BrowserPluginMsg_SetCursor::ID:
134 case BrowserPluginMsg_ShouldAcceptTouchEvents::ID: 135 case BrowserPluginMsg_ShouldAcceptTouchEvents::ID:
135 case BrowserPluginMsg_UpdatedName::ID: 136 case BrowserPluginMsg_UpdatedName::ID:
136 case BrowserPluginMsg_UpdateRect::ID: 137 case BrowserPluginMsg_UpdateRect::ID:
137 case BrowserPluginMsg_BuffersSwapped::ID: 138 case BrowserPluginMsg_BuffersSwapped::ID:
138 return true; 139 return true;
139 default: 140 default:
140 break; 141 break;
141 } 142 }
142 return false; 143 return false;
143 } 144 }
144 145
145 } // namespace content 146 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698