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

Side by Side 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: Addressed Charlie's comments 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/browser/browser_plugin_guest_delegate.h" 5 #include "content/public/browser/browser_plugin_guest_delegate.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const {
10 return false;
11 }
12
9 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( 13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow(
10 const WebContents::CreateParams& create_params) { 14 const WebContents::CreateParams& create_params) {
11 return NULL; 15 return NULL;
12 } 16 }
13 17
18 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const {
19 return NULL;
20 }
21
14 bool BrowserPluginGuestDelegate::Find(int request_id, 22 bool BrowserPluginGuestDelegate::Find(int request_id,
15 const base::string16& search_text, 23 const base::string16& search_text,
16 const blink::WebFindOptions& options) { 24 const blink::WebFindOptions& options) {
17 return false; 25 return false;
18 } 26 }
19 27
20 } // namespace content 28 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/browser_plugin_guest_delegate.h ('k') | extensions/browser/guest_view/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698