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

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

Issue 2165523004: Force MimeHandlerView to always use BrowserPlugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added BrowserPluginGuestDelegateMode::DelegateMode(FromWebContents)? Created 4 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/public/browser/browser_plugin_guest_manager.h
diff --git a/content/public/browser/browser_plugin_guest_manager.h b/content/public/browser/browser_plugin_guest_manager.h
index c809c0ff7e5e74368272a4576ce87368b857bde7..fb29611e105242511c265ce2893f9d86ac7b26aa 100644
--- a/content/public/browser/browser_plugin_guest_manager.h
+++ b/content/public/browser/browser_plugin_guest_manager.h
@@ -34,6 +34,11 @@ class CONTENT_EXPORT BrowserPluginGuestManager {
// single BrowserPlugin in the given embedder which takes up the full page,
// then it is returned.
virtual WebContents* GetFullPageGuest(WebContents* embedder_web_contents);
+
+ // TODO(ekaramad): Remove this method once MimeHandlerViewGuest is implemented
+ // based on OOPIF (https://crbug.com/563285).
+ // Returns true if the given |web_contents| belongs to a MimeHandlerViewGuest.
+ virtual bool IsForMimeHandlerViewGuest(WebContents* web_contents);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698