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

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

Issue 264943006: BrowserPlugin: Simplify content/public API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@guestview_manager_v1
Patch Set: Fixed nit 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 6
7 namespace content { 7 namespace content {
8 8
9 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() { 9 int BrowserPluginGuestManagerDelegate::GetNextInstanceID() {
10 return 0; 10 return 0;
11 } 11 }
12 12
13 WebContents* BrowserPluginGuestManagerDelegate::GetGuestByInstanceID(
14 int guest_instance_id,
15 int embedder_render_process_id) {
16 return NULL;
17 }
18
19 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceIDMaybeKill(
20 int embedder_render_process_id,
21 int guest_instance_id) {
22 return false;
23 }
24
25 bool BrowserPluginGuestManagerDelegate::CanEmbedderAccessInstanceID(
26 int embedder_render_process_id,
27 int guest_instance_id) {
28 return false;
29 }
30
31 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance( 13 content::SiteInstance* BrowserPluginGuestManagerDelegate::GetGuestSiteInstance(
32 const GURL& guest_site) { 14 const GURL& guest_site) {
33 return NULL; 15 return NULL;
34 } 16 }
35 17
36 bool BrowserPluginGuestManagerDelegate::ForEachGuest( 18 bool BrowserPluginGuestManagerDelegate::ForEachGuest(
37 WebContents* embedder_web_contents, 19 WebContents* embedder_web_contents,
38 const GuestCallback& callback) { 20 const GuestCallback& callback) {
39 return false; 21 return false;
40 } 22 }
41 23
42 } // content 24 } // content
43 25
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698