| 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 | |
| 35 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() { | 23 bool BrowserPluginGuestDelegate::CanUseCrossProcessFrames() { |
| 36 return true; | 24 return true; |
| 37 } | 25 } |
| 38 | 26 |
| 39 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() { | 27 bool BrowserPluginGuestDelegate::CanBeEmbeddedInsideCrossProcessFrames() { |
| 40 return false; | 28 return false; |
| 41 } | 29 } |
| 42 | 30 |
| 43 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() { | 31 RenderWidgetHost* BrowserPluginGuestDelegate::GetOwnerRenderWidgetHost() { |
| 44 return nullptr; | 32 return nullptr; |
| 45 } | 33 } |
| 46 | 34 |
| 47 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() { | 35 SiteInstance* BrowserPluginGuestDelegate::GetOwnerSiteInstance() { |
| 48 return nullptr; | 36 return nullptr; |
| 49 } | 37 } |
| 50 | 38 |
| 51 } // namespace content | 39 } // namespace content |
| OLD | NEW |