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

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

Issue 801173002: Fix message routing for BrowserPlugin in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests that don't have a RenderThreadImpl Created 6 years 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.h
diff --git a/content/browser/browser_plugin/browser_plugin_guest.h b/content/browser/browser_plugin/browser_plugin_guest.h
index 6e6c2761fe64431e9e18964139d09a97aa80bdb5..20d418fffa964cfc40ba613668c0d8b1d805bd00 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.h
+++ b/content/browser/browser_plugin/browser_plugin_guest.h
@@ -171,8 +171,8 @@ class CONTENT_EXPORT BrowserPluginGuest : public WebContentsObserver {
gfx::Point GetScreenCoordinates(const gfx::Point& relative_position) const;
- // Helper to send messages to embedder. This methods fills the message with
- // the correct routing id.
+ // Helper to send messages to embedder. If this guest is not yet attached,
+ // then IPCs will be queued until attachment.
void SendMessageToEmbedder(IPC::Message* msg);
// Returns whether the guest is attached to an embedder.

Powered by Google App Engine
This is Rietveld 408576698