Chromium Code Reviews| Index: content/browser/browser_plugin/browser_plugin_guest_manager.h |
| diff --git a/content/browser/browser_plugin/browser_plugin_guest_manager.h b/content/browser/browser_plugin/browser_plugin_guest_manager.h |
| index f0bee02966465c212e6cb4e3a36829818b4be5d2..1740ec0620a9195a2c364cdcd165b7988b1f3cb3 100644 |
| --- a/content/browser/browser_plugin/browser_plugin_guest_manager.h |
| +++ b/content/browser/browser_plugin/browser_plugin_guest_manager.h |
| @@ -37,7 +37,6 @@ class RenderWidgetHostImpl; |
| class SiteInstance; |
| class WebContents; |
| class WebContentsImpl; |
| -struct NativeWebKeyboardEvent; |
| // WARNING: All APIs should be guarded with a process ID check like |
| // CanEmbedderAccessInstanceIDMaybeKill, to prevent abuse by normal renderer |
| @@ -87,10 +86,9 @@ class CONTENT_EXPORT BrowserPluginGuestManager : |
| bool CanEmbedderAccessInstanceIDMaybeKill(int embedder_render_process_id, |
| int instance_id) const; |
| - void DidSendScreenRects(WebContentsImpl* embedder_web_contents); |
| - |
| - bool UnlockMouseIfNecessary(WebContentsImpl* embedder_web_contents_, |
| - const NativeWebKeyboardEvent& event); |
| + typedef base::Callback<bool(BrowserPluginGuest*)> GuestCallback; |
| + bool ForEachGuest(WebContentsImpl* embedder_web_contents, |
| + GuestCallback callback); |
|
nasko
2014/01/08 17:58:42
Why not pass the callback as a const reference? An
Fady Samuel
2014/01/08 18:22:40
Done.
|
| void OnMessageReceived(const IPC::Message& message, int render_process_id); |