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

Unified Diff: content/public/browser/browser_plugin_guest_delegate.cc

Issue 769363002: Initialize BrowserPluginGuest to attach to the View hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basic_detach_plumbing
Patch Set: Don't initialize by default 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/public/browser/browser_plugin_guest_delegate.cc
diff --git a/content/public/browser/browser_plugin_guest_delegate.cc b/content/public/browser/browser_plugin_guest_delegate.cc
index c625ed98ebaa181b8f1eadc481ca0b5823bbcd22..835d2311b8e509ef7d0de0bf6404e07ae7816e76 100644
--- a/content/public/browser/browser_plugin_guest_delegate.cc
+++ b/content/public/browser/browser_plugin_guest_delegate.cc
@@ -6,11 +6,19 @@
namespace content {
+bool BrowserPluginGuestDelegate::CanRunInDetachedState() const {
+ return false;
+}
+
WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow(
const WebContents::CreateParams& create_params) {
return NULL;
}
+WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const {
+ return NULL;
+}
+
bool BrowserPluginGuestDelegate::Find(int request_id,
const base::string16& search_text,
const blink::WebFindOptions& options) {

Powered by Google App Engine
This is Rietveld 408576698