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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 376033002: Adding MimeHandlerView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pending-zork-patch2
Patch Set: sync @tott Created 6 years, 5 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/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 925ee2384b34edb3cb4f6f097f4e85f258a6bb38..34f1123eaab9efbd48c30c4d456e8efef1a119f3 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -40,6 +40,8 @@ class CONTENT_EXPORT BrowserPlugin :
return browser_plugin_manager_.get();
}
+ void AttachToPlugin(int instance_id);
+
bool OnMessageReceived(const IPC::Message& msg);
// Update Browser Plugin's DOM Node attribute |attribute_name| with the value
@@ -252,6 +254,8 @@ class CONTENT_EXPORT BrowserPlugin :
void OnUpdateRect(int instance_id,
const BrowserPluginMsg_UpdateRect_Params& params);
+ void MaybeAttach();
+
// This is the browser-process-allocated instance ID that uniquely identifies
// a guest WebContents.
int guest_instance_id_;
@@ -287,6 +291,9 @@ class CONTENT_EXPORT BrowserPlugin :
gfx::Size last_view_size_;
bool mouse_locked_;
+ bool attach_called_;
+ bool seen_src_;
+ int pending_instance_id_;
// BrowserPlugin outlives RenderViewImpl in Chrome Apps and so we need to
// store the BrowserPlugin's BrowserPluginManager in a member variable to

Powered by Google App Engine
This is Rietveld 408576698