OLD | NEW |
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 { | 9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { |
10 return false; | 10 return false; |
11 } | 11 } |
12 | 12 |
13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( | 13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( |
14 const WebContents::CreateParams& create_params) { | 14 const WebContents::CreateParams& create_params) { |
15 NOTREACHED(); | 15 NOTREACHED(); |
16 return nullptr; | 16 return nullptr; |
17 } | 17 } |
18 | 18 |
19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { | 19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { |
20 return nullptr; | 20 return nullptr; |
21 } | 21 } |
22 | 22 |
| 23 bool BrowserPluginGuestDelegate::HandleFindForEmbedder( |
| 24 int request_id, |
| 25 const base::string16& search_text, |
| 26 const blink::WebFindOptions& options) { |
| 27 return false; |
| 28 } |
| 29 |
| 30 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder( |
| 31 StopFindAction action) { |
| 32 return false; |
| 33 } |
| 34 |
23 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() { | 35 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() { |
24 return true; | 36 return true; |
25 } | 37 } |
26 | 38 |
27 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() { | 39 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() { |
28 return false; | 40 return false; |
29 } | 41 } |
30 | 42 |
31 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() { | 43 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() { |
32 return nullptr; | 44 return nullptr; |
33 } | 45 } |
34 | 46 |
35 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() { | 47 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() { |
36 return nullptr; | 48 return nullptr; |
37 } | 49 } |
38 | 50 |
39 } // namespace content | 51 } // namespace content |
OLD | NEW |