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

Side by Side Diff: content/public/browser/browser_plugin_guest_manager_delegate.cc

Issue 261013005: BrowserPlugin: Move CreateGuest to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_simplify_api
Patch Set: Removed AddGuest/RemoveGuest from content API! w00t! Created 6 years, 7 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 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_manager_delegate.h" 5 #include "content/public/browser/browser_plugin_guest_manager_delegate.h"
6 #include "ipc/ipc_listener.h" 6 #include "ipc/ipc_listener.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 content::WebContents* BrowserPluginGuestManagerDelegate::CreateGuest(
11 SiteInstance* embedder_site_instance,
12 int instance_id,
13 const StorageInfo& storage_info,
14 scoped_ptr<base::DictionaryValue> extra_params) {
15 return NULL;
16 }
17
10 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { 18 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() {
11 return 0; 19 return 0;
12 } 20 }
13 21
14 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance(
15 const GURL& guest_site) {
16 return NULL;
17 }
18
19 bool BrowserPluginGuestManagerDelegate::ForEachGuest( 22 bool BrowserPluginGuestManagerDelegate::ForEachGuest(
20 WebContents* embedder_web_contents, 23 WebContents* embedder_web_contents,
21 const GuestCallback& callback) { 24 const GuestCallback& callback) {
22 return false; 25 return false;
23 } 26 }
24 27
25 } // content 28 } // content
26 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698