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..b1b6b095886c888305876593942bc3e7729ce3ae 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, |
+ const GuestCallback& callback); |
void OnMessageReceived(const IPC::Message& message, int render_process_id); |