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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest_manager.h

Issue 128563002: BrowserPlugin: Implemented BrowserPluginGuestManager::ForEachGuest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed spacing Created 6 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698