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 BrowserPluginGuestDelegate::BrowserPluginGuestDelegate() = default; |
| 10 |
9 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { | 11 bool BrowserPluginGuestDelegate::CanRunInDetachedState() const { |
10 return false; | 12 return false; |
11 } | 13 } |
12 | 14 |
13 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( | 15 WebContents* BrowserPluginGuestDelegate::CreateNewGuestWindow( |
14 const WebContents::CreateParams& create_params) { | 16 const WebContents::CreateParams& create_params) { |
15 NOTREACHED(); | 17 NOTREACHED(); |
16 return nullptr; | 18 return nullptr; |
17 } | 19 } |
18 | 20 |
19 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { | 21 WebContents* BrowserPluginGuestDelegate::GetOwnerWebContents() const { |
20 return nullptr; | 22 return nullptr; |
21 } | 23 } |
22 | 24 |
23 bool BrowserPluginGuestDelegate::HandleFindForEmbedder( | 25 bool BrowserPluginGuestDelegate::HandleFindForEmbedder( |
24 int request_id, | 26 int request_id, |
25 const base::string16& search_text, | 27 const base::string16& search_text, |
26 const blink::WebFindOptions& options) { | 28 const blink::WebFindOptions& options) { |
27 return false; | 29 return false; |
28 } | 30 } |
29 | 31 |
30 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder( | 32 bool BrowserPluginGuestDelegate::HandleStopFindingForEmbedder( |
31 StopFindAction action) { | 33 StopFindAction action) { |
32 return false; | 34 return false; |
33 } | 35 } |
34 | 36 |
35 } // namespace content | 37 } // namespace content |
OLD | NEW |